You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
936 B
31 lines
936 B
2 years ago
|
{
|
||
|
"version": "0.2.0",
|
||
|
"configurations": [
|
||
|
{
|
||
|
"name": "STM32",
|
||
|
"cwd": "${workspaceRoot}",
|
||
|
"executable": "build/${workspaceFolderBasename}.elf",
|
||
|
"request": "launch",
|
||
|
"type": "cortex-debug",
|
||
|
"servertype": "openocd",
|
||
|
"preLaunchTask": "cmake",
|
||
|
// Add you svd file
|
||
|
"svdFile": "${workspaceRoot}/Docs/STM32F411.svd",
|
||
|
// Set you programmer and trget controller
|
||
|
"configFiles": [
|
||
|
"interface/stlink.cfg",
|
||
|
"target/stm32f4x.cfg"
|
||
|
],
|
||
|
|
||
|
"swoConfig": {
|
||
|
"enabled": true,
|
||
|
"cpuFrequency": 8000000,
|
||
|
"swoFrequency": 2000000,
|
||
|
"source": "probe",
|
||
|
"decoders": [
|
||
|
{ "type": "console", "label": "ITM", "port": 0 }
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|