Vscode improvements (#85)
* Fix URL for probe-rs docs * Remove settings no longer used by probe-rs debugger * Default to not enabling haltAfterReset
This commit is contained in:
parent
a0f2b7f452
commit
a97787becb
13
.vscode/launch.json
vendored
13
.vscode/launch.json
vendored
@ -1,4 +1,4 @@
|
|||||||
// The format of this file is specified in https://probe.rs/docs/tools/vscode/#start-a-debug-session-with-minimum-configuration
|
// The format of this file is specified in https://probe.rs/docs/tools/debugger/#start-a-debug-session-with-minimum-configuration
|
||||||
{
|
{
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
@ -18,24 +18,17 @@
|
|||||||
],
|
],
|
||||||
"flashingConfig": {
|
"flashingConfig": {
|
||||||
"flashingEnabled": true,
|
"flashingEnabled": true,
|
||||||
"resetAfterFlashing": true,
|
"haltAfterReset": false
|
||||||
"haltAfterReset": true,
|
|
||||||
},
|
},
|
||||||
"coreConfigs": [
|
"coreConfigs": [
|
||||||
{
|
{
|
||||||
"coreIndex": 0,
|
"coreIndex": 0,
|
||||||
"programBinary": "target/thumbv6m-none-eabi/debug/rp2040-project-template",
|
"programBinary": "target/thumbv6m-none-eabi/debug/rp2040-project-template",
|
||||||
"chip": "RP2040",
|
"rttEnabled": true
|
||||||
// Uncomment this if you've downloaded the SVD from
|
// Uncomment this if you've downloaded the SVD from
|
||||||
// https://github.com/raspberrypi/pico-sdk/raw/1.3.1/src/rp2040/hardware_regs/rp2040.svd
|
// https://github.com/raspberrypi/pico-sdk/raw/1.3.1/src/rp2040/hardware_regs/rp2040.svd
|
||||||
// and placed it in the .vscode directory
|
// and placed it in the .vscode directory
|
||||||
// "svdFile": "./.vscode/rp2040.svd",
|
// "svdFile": "./.vscode/rp2040.svd",
|
||||||
"rttEnabled": true,
|
|
||||||
"options": {
|
|
||||||
"env": {
|
|
||||||
"DEFMT_LOG": "debug"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"consoleLogLevel": "Info", //Error, Warn, Info, Debug, Trace
|
"consoleLogLevel": "Info", //Error, Warn, Info, Debug, Trace
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
// The format of this file is specified in https://probe.rs/docs/tools/vscode/#start-a-debug-session-with-minimum-configuration
|
// The format of this file is specified in https://probe.rs/docs/tools/debugger/#start-a-debug-session-with-minimum-configuration
|
||||||
{
|
{
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
@ -18,24 +18,17 @@
|
|||||||
],
|
],
|
||||||
"flashingConfig": {
|
"flashingConfig": {
|
||||||
"flashingEnabled": true,
|
"flashingEnabled": true,
|
||||||
"resetAfterFlashing": true,
|
"haltAfterReset": false
|
||||||
"haltAfterReset": true,
|
|
||||||
},
|
},
|
||||||
"coreConfigs": [
|
"coreConfigs": [
|
||||||
{
|
{
|
||||||
"coreIndex": 0,
|
"coreIndex": 0,
|
||||||
"programBinary": "target/thumbv6m-none-eabi/debug/{{project-name}}",
|
"programBinary": "target/thumbv6m-none-eabi/debug/{{project-name}}",
|
||||||
"chip": "RP2040",
|
"rttEnabled": true
|
||||||
// Uncomment this if you've downloaded the SVD from
|
// Uncomment this if you've downloaded the SVD from
|
||||||
// https://github.com/raspberrypi/pico-sdk/raw/1.3.1/src/rp2040/hardware_regs/rp2040.svd
|
// https://github.com/raspberrypi/pico-sdk/raw/1.3.1/src/rp2040/hardware_regs/rp2040.svd
|
||||||
// and placed it in the .vscode directory
|
// and placed it in the .vscode directory
|
||||||
// "svdFile": "./.vscode/rp2040.svd",
|
// "svdFile": "./.vscode/rp2040.svd",
|
||||||
"rttEnabled": true,
|
|
||||||
"options": {
|
|
||||||
"env": {
|
|
||||||
"DEFMT_LOG": "debug"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"consoleLogLevel": "Info", //Error, Warn, Info, Debug, Trace
|
"consoleLogLevel": "Info", //Error, Warn, Info, Debug, Trace
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user