setup fliplink

This commit is contained in:
Nathan Rashleigh committed 2026-06-28 15:46:42 +10:00
1 parent 6a0e3f0070
commit 5bb0cde777
6 files changed
+269 -4

No files matched your search

+4
View File
@@ -1,6 +1,10 @@
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
runner = "probe-rs run --chip STM32F411VETx"
# flip-link: zero-cost stack-overflow protection. It wraps the real linker
# (LLD here), so it stays compatible with the -Tlink.x / -Tdefmt.x args below.
linker = "flip-link"
rustflags = [
# LLD (shipped with the Rust toolchain) is used as the default linker
"-C", "link-arg=-Tlink.x",