reference/.vscode/launch.json

55 lines
1.9 KiB
JSON
Raw Permalink Normal View History

2019-10-09 11:45:38 +00:00
{
"version": "0.2.0",
"configurations": [
{
2019-10-16 08:46:44 +00:00
"name": "Launch",
2019-10-09 11:45:38 +00:00
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/exe/blinky.axf",
"args": [],
2019-10-16 08:46:44 +00:00
"stopAtEntry": false,
2019-10-09 11:45:38 +00:00
"cwd": "${workspaceFolder}",
"environment": [],
"MIMode": "gdb",
"miDebuggerPath": "arm-none-eabi-gdb",
// "debugServerPath": "JLinkGDBServerCLExe",
// "debugServerArgs": "-select USB -device Cortex-R4 -endian little -if JTAG -speed 1000 -ir -LocalhostOnly",
// "serverStarted": "Listening on TCP/IP port 2331",
"logging": {
"engineLogging": true,
"exceptions": true,
"moduleLoad": true,
"programOutput": true,
"trace": true,
"traceResponse": true
},
"setupCommands": [
{
"description": "Connect to gdb server.",
"text": "target remote localhost:3333",
"ignoreFailures": false
},
{
"description": "Load executable into debugger.",
"text": "file ${workspaceFolder}/exe/blinky.axf",
"ignoreFailures": false
},
2019-10-16 08:46:44 +00:00
{
"description": "Load.",
"text": "load",
"ignoreFailures": false
},
2019-10-09 11:45:38 +00:00
{
"description": "Set stack pointer",
"text": "set $sp = g_pfnVectors[0]",
"ignoreFailures": false
},
{
"description": "Set program counter",
"text": "set $pc = g_pfnVectors[1]",
"ignoreFailures": false
}
]
}
]
}