-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #886 from andrewdavidmackenzie/pigg_669
pigg_669
- Loading branch information
Showing
16 changed files
with
95 additions
and
45 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
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 |
---|---|---|
@@ -1,27 +1,39 @@ | ||
[target.'cfg(all(target_arch = "arm", target_os = "none"))'] | ||
# See https://doc.rust-lang.org/cargo/reference/config.html for details of possible config keys and values | ||
|
||
# Choose a default "cargo run" tool (see README for more info) | ||
# - `probe-rs` provides flashing and defmt via a hardware debugger, and stack unwind on panic | ||
# - `picotool`- used while the pico2 was lacking probe-rs support | ||
# - elf2uf2-rs loads firmware over USB when the rp2040 is in boot mode | ||
runner = ["probe-rs", | ||
# - probe-rs - provides flashing and defmt via a hardware debugger, and stack unwind on panic | ||
# - picotool - used while the pico2 was lacking probe-rs support | ||
# - runner = "picotool load -u -v -x -t elf" | ||
# - elf2uf2-rs - loads firmware over USB when the rp2040 is in boot mode | ||
# - runner = "elf2uf2-rs -d" | ||
|
||
# Runner to use for pico | ||
[target.thumbv6m-none-eabi] | ||
runner = [ | ||
"probe-rs", | ||
"run", | ||
"--chip", | ||
"RP2040", | ||
# "RP235x", | ||
"--protocol", | ||
"swd", | ||
"--log-format", | ||
"{[{L}]%bold} {s} {{c}", | ||
"--restore-unwritten" | ||
] | ||
#runner = "picotool load -u -v -x -t elf" | ||
#runner = "elf2uf2-rs -d" | ||
|
||
#[build] | ||
# Since we are now switching target between building for Pico and Pico 2 - we cannot have a static target here. | ||
#it is specified on the command line to the compiler from the Makrfile | ||
#target = "thumbv6m-none-eabi" # Pico | ||
#target = "thumbv8m.main-none-eabihf" # Pico 2 | ||
# Runner to use for pico 2 | ||
[target.thumbv8m.main-none-eabihf] | ||
runner = [ | ||
"probe-rs", | ||
"run", | ||
"--chip", | ||
"RP235x", | ||
"--protocol", | ||
"swd", | ||
"--log-format", | ||
"{[{L}]%bold} {s} {{c}", | ||
"--restore-unwritten" | ||
] | ||
|
||
[env] | ||
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
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
Binary file not shown.
Binary file not shown.
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
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
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
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