-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔧 chore(gitignore): update .gitignore file
- remove /.pio and .vscode entries - clean up unnecessary ignore patterns 🔧 chore(vscode): add VSCode configuration files - introduce launch.json for debug configuration - add settings.json with rust analyzer and spell checker settings
- Loading branch information
Showing
3 changed files
with
41 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// 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": [ | ||
{ | ||
"preLaunchTask": "rust: cargo build", | ||
"type": "probe-rs-debug", | ||
"request": "launch", | ||
"name": "rp2040-project", | ||
"cwd": "${workspaceFolder}/embedded", | ||
"chip": "rp2040", | ||
// RP2040 doesn't support connectUnderReset | ||
"connectUnderReset": false, | ||
"speed": 4000, | ||
"runtimeExecutable": "probe-rs", | ||
"runtimeArgs": ["dap-server"], | ||
"flashingConfig": { | ||
"flashingEnabled": true, | ||
"haltAfterReset": false | ||
}, | ||
"coreConfigs": [ | ||
{ | ||
"coreIndex": 0, | ||
"programBinary": "target/thumbv6m-none-eabi/debug/rp2040-project-template", | ||
"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", | ||
} | ||
], | ||
"consoleLogLevel": "Info", //Error, Warn, Info, Debug, Trace | ||
"wireProtocol": "Swd" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"cSpell.words": ["teensylc"], | ||
"rust-analyzer.cargo.target": "thumbv6m-none-eabi", | ||
"rust-analyzer.check.allTargets": false | ||
} |