Skip to content

Commit 5d46eca

Browse files
committed
Add a cargo runner.
Running `cargo run` will build a UF2 file, and attempt to copy it to a mounted Pico in bootloader mode.
1 parent f127480 commit 5d46eca

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
[target.thumbv6m-none-eabi]
2+
runner = "elf2uf2-rs -d"
3+
24
rustflags = [
35
# This is needed if your flash or ram addresses are not aligned to 0x10000 in memory.x
46
# See https://github.com/rust-embedded/cortex-m-quickstart/pull/95

0 commit comments

Comments
 (0)