pass --nmagic to the linker

rationale is in https://github.com/rust-embedded/cortex-m-quickstart/pull/95
we want to avoid potentially running into that issue in the future
This commit is contained in:
Jorge Aparicio committed 2020-11-11 16:32:21 +01:00
1 parent 703c7b4bb6
commit f9ef620f50
1 file changed
+3
+3
View File
@@ -5,6 +5,9 @@ rustflags = [
"-C", "linker=flip-link",
"-C", "link-arg=-Tlink.x",
"-C", "link-arg=-Tdefmt.x",
# This is needed if your flash or ram addresses are not aligned to 0x10000 in memory.x
# See https://github.com/rust-embedded/cortex-m-quickstart/pull/95
"-C", "link-arg=--nmagic",
]
[build]