14 lines
322 B
TOML
14 lines
322 B
TOML
[build]
|
|
# Set the default target to match the Cortex-M0+ in the RP2040
|
|
target = "thumbv8m.main-none-eabihf"
|
|
|
|
[target.thumbv6m-none-eabi]
|
|
rustflags = [
|
|
"-C", "link-arg=--nmagic",
|
|
"-C", "link-arg=-Tlink.x",
|
|
"-C", "inline-threshold=5",
|
|
"-C", "no-vectorize-loops",
|
|
]
|
|
|
|
runner = "picotool load -u -v -x -t elf"
|
|
|