code/.cargo/config.toml

18 lines
386 B
TOML

[build]
target = "thumbv6m-none-eabi"
[target.thumbv6m-none-eabi]
runner = "probe-run --chip RP2040" # "elf2uf2-rs -d"
rustflags = [
"-C", "link-arg=--nmagic",
"-C", "link-arg=-Tlink.x",
"-C", "link-arg=-Tlink-rp.x",
"-C", "link-arg=-Tdefmt.x",
"-C", "linker=flip-link",
"-C", "inline-threshold=5",
"-C", "no-vectorize-loops",
]
[env]
DEFMT_LOG = "trace"