feat: worked writing using probe

This commit is contained in:
2026-07-10 23:14:45 +02:00
parent 422fb2a47a
commit b92c613f8d
6 changed files with 363 additions and 4 deletions
+7 -2
View File
@@ -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"