Skip to content

Commit

Permalink
Add VSCode debug configuration for probe-rs
Browse files Browse the repository at this point in the history
- Add launch.json for probe-rs debugger integration
- Configure for STM32F091RCTx target
- Enable RTT output
- Set up flashing and debug parameters
  • Loading branch information
IvanDyachenko committed Feb 9, 2025
1 parent 09cf33d commit d65089a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "probe-rs-debug",
"request": "launch",
"name": "probe-rs",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "probe-rs",
"runtimeArgs": [
"dap-server"
],
"flashingConfig": {
"flashingEnabled": true,
},
"chip": "STM32F091RCTx",
"coreConfigs": [
{
"coreIndex": 0,
"programBinary": "./target/thumbv6m-none-eabi/debug/${workspaceFolderBasename}",
"rttEnabled": true,
}
]
}
]
}

0 comments on commit d65089a

Please sign in to comment.