This commit is contained in:
Nathan Rashleigh committed 2026-06-14 19:48:39 +10:00
commit 9dba818a12
9 files changed
+995

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
runner = "probe-rs run --chip STM32F411VETx"
rustflags = [
# LLD (shipped with the Rust toolchain) is used as the default linker
"-C", "link-arg=-Tlink.x",
# defmt's linker script, must come after link.x
"-C", "link-arg=-Tdefmt.x",
]
[build]
target = "thumbv7em-none-eabihf" # Cortex-M4F and Cortex-M7F (with FPU)
[env]
# defmt filters log levels at COMPILE time; without this, info!/debug! are
# stripped and only println! survives. "debug" enables debug/info/warn/error.
DEFMT_LOG = "debug"