From 4c9c65bf2d5d9146e130ce55d7d615f578937091 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=B6rdens?= Date: Wed, 25 Nov 2020 17:33:16 +0100 Subject: [PATCH] cargo-config: cm7 features --- .cargo/config | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.cargo/config b/.cargo/config index 382c36e..9968846 100644 --- a/.cargo/config +++ b/.cargo/config @@ -1,6 +1,10 @@ [target.'cfg(all(target_arch = "arm", target_os = "none"))'] runner = "gdb-multiarch -q -x openocd.gdb" -rustflags = ["-C", "link-arg=-Tlink.x"] +rustflags = [ + "-C", "link-arg=-Tlink.x", + "-C", "target-cpu=cortex-m7", + "-C", "target-feature=+fp-armv8d16", +] [build] target = "thumbv7em-none-eabihf"