rust-embassy-template/.cargo/config.toml
2024-03-11 21:58:53 +01:00

16 lines
571 B
TOML

[target.'cfg(all(target_arch = "arm", target_os = "none"))']
# Choose a default "cargo run" tool:
# - probe-run provides flashing and defmt via a hardware debugger
# - cargo embed offers flashing, rtt, defmt and a gdb server via a hardware debugger
# it is configured via the Embed.toml in the root of this project
# - elf2uf2-rs loads firmware over USB when the rp2040 is in boot mode
# runner = "probe-run --chip RP2040"
# runner = "cargo embed"
runner = "elf2uf2-rs -d"
[build]
# Cortex-M0 and Cortex-M0+
target = "thumbv6m-none-eabi"
[env]
# DEFMT_LOG = "debug"