embedded-rust/.vscode/launch.json

32 lines
1.0 KiB
JSON
Raw Permalink Normal View History

2021-06-03 18:34:02 +00:00
{
"version": "0.2.0",
"configurations": [
{
"type": "cortex-debug",
"request": "launch",
"name": "Debug (OpenOCD)",
"servertype": "openocd",
"cwd": "${workspaceRoot}",
"preLaunchTask": "Cargo Build (debug)",
"runToMain": true,
2021-06-05 06:07:04 +00:00
"executable": "./target/thumbv7em-none-eabihf/debug/nrf52-dk-app",
2021-06-03 18:34:02 +00:00
"device": "NRF52832",
"configFiles": [
"/usr/local/share/openocd/scripts/interface/jlink.cfg",
"/usr/local/share/openocd/scripts/board/nordic_nrf52_dk.cfg"
],
"swoConfig": {
"enabled": true,
"cpuFrequency": 8000000,
"swoFrequency": 2000000,
"source": "probe",
"decoders": [
{ "type": "console", "label": "ITM", "port": 0 }
]
},
"preLaunchCommands": [
"monitor arm semihosting enable"
]
}
]
}