This commit is contained in:
Priec
2025-10-21 08:18:36 +02:00
parent c6709f6aac
commit bf44bcc5d0
12 changed files with 407 additions and 336 deletions

View File

@@ -1,22 +1,15 @@
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
runner = ["probe-rs", "run", "--chip", "STM32U575ZI", "--log-format=oneline"]
[build]
target = "thumbv8m.main-none-eabihf"
[target.thumbv8m.main-none-eabihf]
runner = "probe-rs run --chip STM32U575ZITxQ"
rustflags = [
"-C", "linker=flip-link",
"-C", "linker=rust-lld",
"-C", "link-arg=-Tlink.x",
"-C", "link-arg=-Tdefmt.x",
"-C", "link-arg=--nmagic",
]
[build]
target = "thumbv8m.main-none-eabihf"
[target.thumbv8m.main-none-eabihf]
runner = "probe-rs run --chip STM32U575ZI"
[alias]
rb = "run --bin"
rrb = "run --release --bin"
[env]
DEFMT_LOG = "info"
[package.metadata.cargo-flash]
chip = "STM32U575ZIT"