rust-embassy-stm32/.cargo/config.toml

22 lines
433 B
TOML
Raw Normal View History

2024-11-12 07:46:50 +00:00
[target.thumbv6m-none-eabi]
runner = 'probe-rs run --chip STM32L010RBTx'
rustflags = [
"-C", "link-arg=--nmagic",
"-C", "link-arg=-Tlink.x",
"-C", "link-arg=-Tdefmt.x",
"-C", "link-arg=--no-rosegment"
]
[build]
target = "thumbv6m-none-eabi"
[env]
DEFMT_LOG = "trace"
[alias]
main = "embed --release --bin main"
rb = "embed --release --bin"
s = "size --bin main -- -B -x"
sr = "size --release --bin main -- -B -x"