potatis/nes-embedded/.cargo/config.toml
2024-07-28 19:57:53 +02:00

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"