RMUL2025/hw/bsp/rm-c/debug/launch-stlink.json

26 lines
716 B
JSON

{
"configurations": [
{
"name": "ARM-Debug",
"cwd": "${workspaceRoot}",
"executable": "${workspaceRoot}/build/xrobot.elf",
"request": "launch",
"type": "cortex-debug",
"servertype": "openocd",
"device": "STM32F407IG",
"interface": "swd",
"runToEntryPoint": "main",
"svdFile": "${workspaceRoot}/lib/cmsis_svd/data/STMicro/STM32F407.svd",
"configFiles": [
"interface/stlink-v2.cfg",
"target/stm32f4x.cfg"
]
}
],
"version": "0.2.0",
"liveWatch": {
"enabled": true,
"samplesPerSecond": 4
}
}