diff --git a/.vscode/launch.json b/.vscode/launch.json index eee0bb2..6b0db0b 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -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", "configurations": [ @@ -18,24 +18,17 @@ ], "flashingConfig": { "flashingEnabled": true, - "resetAfterFlashing": true, - "haltAfterReset": true, + "haltAfterReset": false }, "coreConfigs": [ { "coreIndex": 0, "programBinary": "target/thumbv6m-none-eabi/debug/rp2040-project-template", - "chip": "RP2040", + "rttEnabled": true // 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 // and placed it in the .vscode directory // "svdFile": "./.vscode/rp2040.svd", - "rttEnabled": true, - "options": { - "env": { - "DEFMT_LOG": "debug" - } - }, } ], "consoleLogLevel": "Info", //Error, Warn, Info, Debug, Trace diff --git a/cargo-generate/launch.json b/cargo-generate/launch.json index fe333b3..0c14e9b 100644 --- a/cargo-generate/launch.json +++ b/cargo-generate/launch.json @@ -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", "configurations": [ @@ -18,24 +18,17 @@ ], "flashingConfig": { "flashingEnabled": true, - "resetAfterFlashing": true, - "haltAfterReset": true, + "haltAfterReset": false }, "coreConfigs": [ { "coreIndex": 0, "programBinary": "target/thumbv6m-none-eabi/debug/{{project-name}}", - "chip": "RP2040", + "rttEnabled": true // 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 // and placed it in the .vscode directory // "svdFile": "./.vscode/rp2040.svd", - "rttEnabled": true, - "options": { - "env": { - "DEFMT_LOG": "debug" - } - }, } ], "consoleLogLevel": "Info", //Error, Warn, Info, Debug, Trace