42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
|
|
{
|
|
"name": "Debug Boot",
|
|
"type": "cortex-debug",
|
|
"request": "launch",
|
|
"cwd": "${workspaceFolder}",
|
|
"executable": "${workspaceFolder}/Boot/TouchGFX/build/bin/target.elf",
|
|
"servertype": "external",
|
|
"gdbTarget": "localhost:61234",
|
|
"gdbPath": "/usr/local/bin/arm-none-eabi-gdb",
|
|
"overrideLaunchCommands": [
|
|
"monitor halt",
|
|
"load",
|
|
"tbreak main",
|
|
"monitor reset"
|
|
],
|
|
"preLaunchTask": "Start ST-LINK GDB Server",
|
|
"postDebugTask": "Stop ST-LINK GDB Server"
|
|
},
|
|
{
|
|
"name": "Debug Appli",
|
|
"type": "cortex-debug",
|
|
"request": "launch",
|
|
"cwd": "${workspaceFolder}",
|
|
"executable": "${workspaceFolder}/Appli/TouchGFX/build/bin/target.elf",
|
|
"servertype": "external",
|
|
"gdbTarget": "localhost:61234",
|
|
"gdbPath": "/usr/local/bin/arm-none-eabi-gdb",
|
|
"overrideLaunchCommands": [
|
|
"monitor halt",
|
|
"load",
|
|
"tbreak main"
|
|
],
|
|
"preLaunchTask": "Start ST-LINK GDB Server",
|
|
"postDebugTask": "Stop ST-LINK GDB Server"
|
|
}
|
|
]
|
|
}
|