narf52/.vscode/launch.json

50 lines
1.7 KiB
JSON
Raw Permalink Normal View History

2020-03-08 06:38:24 +00:00
{
"version": "0.2.0",
"configurations": [
{
2020-03-10 05:56:43 +00:00
"name": "Launch",
2020-03-08 06:38:24 +00:00
"type": "cppdbg",
"request": "launch",
2020-03-10 12:31:33 +00:00
"program": "${workspaceFolder}/bin/firmware.elf",
2020-03-08 06:38:24 +00:00
"args": [],
"stopAtEntry": true,
"cwd": "${workspaceFolder}",
"environment": [],
"MIMode": "gdb",
2020-03-10 05:56:43 +00:00
"miDebuggerPath": "arm-none-eabi-gdb",
2020-03-08 06:38:24 +00:00
"debugServerPath": "JLinkGDBServerCLExe",
"debugServerArgs": "-device nrf52832_xxaa -if swd -port 2331",
"serverStarted": "Listening on TCP/IP port 2331",
"logging": {
"engineLogging": true,
"exceptions": true,
"moduleLoad": true,
"programOutput": true,
"trace": true,
"traceResponse": true
},
"setupCommands": [
{
"description": "Enable pretty-printing for gdb.",
"text": "-enable-pretty-printing",
"ignoreFailures": false
},
{
"description": "Connect to gdb server.",
"text": "target remote localhost:2331",
"ignoreFailures": false
},
{
"description": "Load executable into debugger.",
2020-03-10 12:31:33 +00:00
"text": "file ${workspaceFolder}/bin/firmware.elf",
2020-03-08 06:38:24 +00:00
"ignoreFailures": false
},
{
"description": "Load executable to target TCM",
"text": "load",
"ignoreFailures": false
}
]
}
]
}