Merge pull request #95 from Dirbaio/Dirbaio-patch-1

Add --nmagic linker arg, for unaligned flash origin support.
This commit is contained in:
Daniel Egger
2020-09-13 23:58:08 +02:00
committed by GitHub

View File

@@ -10,6 +10,10 @@
# runner = "gdb -q -x openocd.gdb"
rustflags = [
# 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",
# LLD (shipped with the Rust toolchain) is used as the default linker
"-C", "link-arg=-Tlink.x",