[target.'cfg(all(target_arch = "arm", target_os = "none"))']
# runner = "gdb-multiarch -q -x openocd.gdb"
runner = "elf2uf2-rs -d"

rustflags = [
    "-C", "link-arg=--nmagic",
    "-C", "link-arg=-Tlink.x",
    "-C", "inline-threshold=5",
    "-C", "no-vectorize-loops",
]

[build]
target = "thumbv6m-none-eabi"        # Cortex-M0 and Cortex-M0+

