Skip to content

Instantly share code, notes, and snippets.

@robotdad
Created June 6, 2017 22:25
Show Gist options
  • Save robotdad/63c4f23f061a9f988f1a66948d672e50 to your computer and use it in GitHub Desktop.
Save robotdad/63c4f23f061a9f988f1a66948d672e50 to your computer and use it in GitHub Desktop.
Black Magic Probe launch.json for 1bitsy debugging
{
"version": "0.2.0",
"configurations": [
{
"name": "BMP JTAG Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceRoot}/fancyblink.elf",
"args": [],
"stopAtEntry": true,
"cwd": "${workspaceRoot}",
"environment": [],
"externalConsole": true,
//"logging": { "trace": true, "traceResponse": true, "engineLogging": true },
"windows": {
"MIMode": "gdb",
"miDebuggerPath": "D:/tools/armtools/bin/arm-none-eabi-gdb.exe",
"setupCommands": [
{
"description": "Connect to remote",
"text": "target extended-remote COM9"
},
{
"text": "monitor jtag_scan"
},
{
"text": "attach 1"
},
{
"text": "file C:/Users/mgoodner/Source/Repos/1bitsy-examples/examples/1bitsy/fancyblink/fancyblink.elf"
},
{
"text": "load"
}
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment