narf52/.vscode/launch.json
2020-03-10 15:49:23 +01:00

50 lines
1.7 KiB
JSON

{
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/bin/nrf.elf",
"args": [],
"stopAtEntry": true,
"cwd": "${workspaceFolder}",
"environment": [],
"MIMode": "gdb",
"miDebuggerPath": "arm-none-eabi-gdb",
"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.",
"text": "file ${workspaceFolder}/bin/nrf.elf",
"ignoreFailures": false
},
{
"description": "Load executable to target TCM",
"text": "load",
"ignoreFailures": false
}
]
}
]
}