diff --git a/.cargo/config b/.cargo/config index fa909f5..7241c1a 100644 --- a/.cargo/config +++ b/.cargo/config @@ -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",