-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Probe-rs VSCode support #72
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,74 @@ | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
// "preLaunchTask": "Build Release Communication", | ||
"type": "probe-rs-debug", | ||
"request": "launch", | ||
"name": "Probe-rs Debug Recovery", | ||
"chip": "ATSAME51J20A", | ||
"coreConfigs": [ | ||
{ | ||
"programBinary": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/recovery", | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "probe-rs-debug", | ||
"request": "launch", | ||
"name": "Probe-rs Debug Camera", | ||
"chip": "ATSAME51J20A", | ||
"coreConfigs": [ | ||
{ | ||
"programBinary": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/camera", | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "probe-rs-debug", | ||
"request": "launch", | ||
"name": "Probe-rs Debug Power", | ||
"chip": "ATSAME51J20A", | ||
"coreConfigs": [ | ||
{ | ||
"programBinary": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/power", | ||
} | ||
] | ||
}, | ||
{ | ||
// "preLaunchTask": "Build Release Communication", | ||
"type": "probe-rs-debug", | ||
"request": "launch", | ||
"name": "Probe-rs Debug Recovery (Release)", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Kinda confusing since we can either have a debug or release build. I'd remove the Debug part of this and for any other release configs. Also, for boards like the sensor v2 board we need to use the STM32H733VGTx chip. You may notice that the sensor v2 board does not exist in this branch, so I'd like you to practice updating your branch to keep your changes and merge master in so you can have the newest changes available. |
||
"chip": "ATSAME51J20A", | ||
"coreConfigs": [ | ||
{ | ||
"programBinary": "${workspaceFolder}/target/thumbv7em-none-eabihf/release/recovery", | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "probe-rs-debug", | ||
"request": "launch", | ||
"name": "Probe-rs Debug Camera (Release)", | ||
"chip": "ATSAME51J20A", | ||
"coreConfigs": [ | ||
{ | ||
"programBinary": "${workspaceFolder}/target/thumbv7em-none-eabihf/release/camera", | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "probe-rs-debug", | ||
"request": "launch", | ||
"name": "Probe-rs Debug Power (Release)", | ||
"chip": "ATSAME51J20A", | ||
"coreConfigs": [ | ||
{ | ||
"programBinary": "${workspaceFolder}/target/thumbv7em-none-eabihf/release/power", | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "cortex-debug", | ||
"request": "launch", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong chip, should be ATSAME51J18A.