feat: worked writing using probe
This commit is contained in:
+7
-2
@@ -1,6 +1,9 @@
|
||||
[build]
|
||||
target = "thumbv6m-none-eabi"
|
||||
|
||||
[env]
|
||||
DEFMT_LOG = "trace"
|
||||
|
||||
[target.thumbv6m-none-eabi]
|
||||
rustflags = [
|
||||
"-C",
|
||||
@@ -8,11 +11,13 @@ rustflags = [
|
||||
"-C",
|
||||
"link-arg=-Tlink.x",
|
||||
"-C",
|
||||
"link-arg=-Tdefmt.x",
|
||||
"-C",
|
||||
"no-vectorize-loops",
|
||||
]
|
||||
|
||||
runner = "picotool load --update --verify --execute -t elf"
|
||||
#runner = "picotool load --update --verify --execute -t elf"
|
||||
|
||||
# This runner will find a supported SWD debug probe and flash your RP2040 over
|
||||
# SWD:
|
||||
# runner = "probe-rs run --chip RP2040"
|
||||
runner = "probe-rs run --chip RP2040 --protocol swd --speed 2000"
|
||||
|
||||
Reference in New Issue
Block a user