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",
|
|
|
|
"program": "${workspaceFolder}/bin/nrf.elf",
|
|
|
|
"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.",
|
|
|
|
"text": "file ${workspaceFolder}/bin/nrf.elf",
|
|
|
|
"ignoreFailures": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"description": "Load executable to target TCM",
|
|
|
|
"text": "load",
|
|
|
|
"ignoreFailures": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|