79 lines
2.0 KiB
JSON
79 lines
2.0 KiB
JSON
{
|
|
"configurations": [
|
|
{
|
|
"showDevDebugOutput": "none",
|
|
"cwd": "${workspaceRoot}",
|
|
"executable": "./build/debug/AMS_Master_Nucleo.elf",
|
|
"name": "Debug STM32",
|
|
"request": "launch",
|
|
"type": "cortex-debug",
|
|
"servertype": "openocd",
|
|
"preLaunchTask": "Build STM",
|
|
"device": "stm32h7a3xxq.s",
|
|
"configFiles": [
|
|
"openocd.cfg"
|
|
],
|
|
"swoConfig": {
|
|
"enabled": true,
|
|
"source": "probe",
|
|
"swoFrequency": 10666666,
|
|
"cpuFrequency": 64000000,
|
|
"decoders": [
|
|
{
|
|
"port": 0,
|
|
"type": "console",
|
|
"label": "SWO LOG",
|
|
"encoding": "ascii"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"showDevDebugOutput": "none",
|
|
"cwd": "${workspaceRoot}",
|
|
"executable": "./build/debug/AMS_Master_Nucleo.elf",
|
|
"name": "Attach STM32",
|
|
"request": "attach",
|
|
"type": "cortex-debug",
|
|
"servertype": "openocd",
|
|
"preLaunchTask": "Build STM",
|
|
"device": "stm32h7a3xxq.s",
|
|
"configFiles": [
|
|
"openocd.cfg"
|
|
],
|
|
"swoConfig": {
|
|
"enabled": true,
|
|
"source": "probe",
|
|
"swoFrequency": 10666666,
|
|
"cpuFrequency": 64000000,
|
|
"decoders": [
|
|
{
|
|
"port": 0,
|
|
"type": "console",
|
|
"label": "SWO LOG",
|
|
"encoding": "ascii"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "C/C++ Runner: Debug Session",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"args": [],
|
|
"stopAtEntry": false,
|
|
"externalConsole": true,
|
|
"cwd": "c:/Users/lenex/Desktop/ams-master/AMS_Master_Code/Core/Src",
|
|
"program": "c:/Users/lenex/Desktop/ams-master/AMS_Master_Code/Core/Src/build/Debug/outDebug",
|
|
"MIMode": "gdb",
|
|
"miDebuggerPath": "gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |