-
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.
feat: configure debug task in
vscode
(#67)
With this commit, a ready to use debug task for `vscode` is set up. Closes #65
- Loading branch information
1 parent
6eae365
commit fe31246
Showing
2 changed files
with
50 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"preLaunchTask": "${defaultBuildTask}", | ||
"type": "probe-rs-debug", | ||
"request": "launch", | ||
"name": "Debug microtile.rs", | ||
"runtimeExecutable": "probe-rs", | ||
"chip": "nRF52833_xxAA", | ||
"coreConfigs": [ | ||
{ | ||
"programBinary": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/microtile" | ||
} | ||
], | ||
"env": { | ||
// If you set this variable, check the VSCode console log window for the location of the log file. | ||
"RUST_LOG": "info", | ||
"DEFMT_LOG": "info" | ||
}, | ||
} | ||
] | ||
} |
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,27 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"type": "cargo", | ||
"command": "build", | ||
"args": [ | ||
"--profile", | ||
"dev", | ||
"--bin", | ||
"microtile" | ||
], | ||
"env": { | ||
"DEFMT_LOG": "info", | ||
"RUST_LOG": "info" | ||
}, | ||
"problemMatcher": [ | ||
"$rustc" | ||
], | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
}, | ||
"label": "rust: cargo build" | ||
} | ||
] | ||
} |