Neale Pickett
·
2026-02-24
config.toml
1# samd21 is a Cortex-M0 and thus thumbv6m
2
3[build]
4target = "thumbv6m-none-eabi"
5
6[target.thumbv6m-none-eabi]
7runner = 'arm-none-eabi-gdb'
8rustflags = [
9
10 # This is needed if your flash or ram addresses are not aligned to 0x10000 in memory.x
11 # See https://github.com/rust-embedded/cortex-m-quickstart/pull/95
12 "-C", "link-arg=--nmagic",
13
14 "-C", "link-arg=-Tlink.x",
15]