50 lines
1.7 KiB
JSON
50 lines
1.7 KiB
JSON
|
{
|
||
|
"version": "0.2.0",
|
||
|
"configurations": [
|
||
|
{
|
||
|
"name": "Launch TCM",
|
||
|
"type": "cppdbg",
|
||
|
"request": "launch",
|
||
|
"program": "${workspaceFolder}/bin/nrf.elf",
|
||
|
"args": [],
|
||
|
"stopAtEntry": true,
|
||
|
"cwd": "${workspaceFolder}",
|
||
|
"environment": [],
|
||
|
"MIMode": "gdb",
|
||
|
"miDebuggerPath": "/opt/gcc-arm-none-eabi-7-2018-q2-update/bin/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
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|