mirror of
https://github.com/henrikpersson/potatis.git
synced 2025-04-02 10:32:09 -04:00
21 lines
No EOL
486 B
TOML
21 lines
No EOL
486 B
TOML
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
|
|
# Convert elf > uf2, copy to mounted pico
|
|
#runner = "elf2uf2-rs -d"
|
|
|
|
# SWD probe
|
|
runner = "probe-run --chip RP2040"
|
|
|
|
rustflags = [
|
|
"-C", "linker=flip-link",
|
|
"-C", "link-arg=--nmagic",
|
|
"-C", "link-arg=-Tlink.x", # link.x pulled from cortex-m-rt crate
|
|
"-C", "link-arg=-Tdefmt.x",
|
|
"-C", "inline-threshold=5",
|
|
"-C", "no-vectorize-loops",
|
|
]
|
|
|
|
[build]
|
|
target = "thumbv6m-none-eabi"
|
|
|
|
[env]
|
|
DEFMT_LOG = "debug" |