darkroom_timer/embedded/.cargo/config
2023-10-01 19:19:19 -05:00

16 lines
412 B
Plaintext

[build]
target = "thumbv6m-none-eabi" # Adafruit QT Py - SAMD21
[target.thumbv6m-none-eabi]
runner = 'elf2uf2-rs -d'
rustflags = [
# This is needed if your flash or ram addresses are not aligned to 0x10000 in memory.x
# See https://github.com/rust-embedded/cortex-m-quickstart/pull/95
"-C", "link-arg=--nmagic",
"-C", "link-arg=-Tlink.x",
"--cfg", "portable_atomic_unsafe_assume_single_core",
]