You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
microbit-samples/.vscode/launch.json

43 lines
2.1 KiB

{
"version": "0.2.0",
"configurations": [
{
"name": "Microbit Debug",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceRoot}\\build\\bbc-microbit-classic-gcc\\source\\microbit-samples-combined.hex",
"args": [],
"stopAtEntry": true,
"cwd": "${workspaceRoot}",
"environment": [],
"externalConsole": true,
"debugServerArgs": "--persist -t nrf51 -bh -r",
"serverLaunchTimeout": 20000,
"filterStderr": true,
"filterStdout": false,
"serverStarted": "GDB\\ server\\ started",
"logging": {
"moduleLoad": false,
"trace": true,
"engineLogging": true,
"programOutput": true,
"exceptions": false
},
"windows": {
"MIMode": "gdb",
"MIDebuggerPath": "C:\\Program Files (x86)\\GNU Tools Arm Embedded\\4.9 2015q2\\bin\\arm-none-eabi-gdb.exe",
"debugServerPath": "C:\\yotta\\workspace\\Scripts\\pyocd-gdbserver.exe",
"debugServerArgs": "--persist -t nrf51 -bh -r",
"setupCommands": [
{ "text": "-environment-cd ${workspaceRoot}\\build\\bbc-microbit-classic-gcc\\source" },
{ "text": "-target-select remote localhost:3333", "description": "connect to target", "ignoreFailures": false },
{ "text": "-interpreter-exec console \"monitor reset\"", "ignoreFailures": false },
{ "text": "-interpreter-exec console \"monitor halt\"", "ignoreFailures": false },
{ "text": "-interpreter-exec console \"monitor soft_reset_halt\"", "ignoreFailures": false },
{ "text": "-file-exec-file ./microbit-samples-combined.hex", "description": "load file", "ignoreFailures": false},
{ "text": "-file-symbol-file ./microbit-samples", "description": "load synbol file", "ignoreFailures": false},
]
}
}
]
}