From 079dc8d94ff4698021fac70225945682258219fb Mon Sep 17 00:00:00 2001 From: Luca Date: Sat, 7 Nov 2020 13:32:32 +0100 Subject: [PATCH] Link with cortex-m-rt linker script --- .cargo/config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.cargo/config b/.cargo/config index b10f29d..9ebe2ac 100644 --- a/.cargo/config +++ b/.cargo/config @@ -1,2 +1,6 @@ +rustflags = [ + "-C", "link-arg=-Tlink.x", +] + [build] target = "thumbv6m-none-eabi"