From de304c503b6990b9fa17b7f596b6081794efb78f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=B6rdens?= Date: Thu, 10 Dec 2020 17:53:45 +0100 Subject: [PATCH] cargo: go back to target-cpu=cortex-m4 Appears to give better code. Test by matthusagh. --- .cargo/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cargo/config b/.cargo/config index ea1d6c0..deffdfc 100644 --- a/.cargo/config +++ b/.cargo/config @@ -5,7 +5,7 @@ rustflags = [ # The target (below) defaults to cortex-m4 # There currently are two different options to go beyond that: # 1. cortex-m7 has the right flags and instructions (FPU) but no instruction schedule yet - "-C", "target-cpu=cortex-m7", +# "-C", "target-cpu=cortex-m7", # 2. cortex-m4 with the additional fpv5 instructions and a potentially # better-than-nothing instruction schedule "-C", "target-feature=+fp-armv8d16",