Skip to content

Commit 2a916ea

Browse files
committed
target hardfp by default.
L4 is an M4F, so use hardfp ABI by default. Drop irrelevant targets completely, but leave the commented out option for people who really insist on using softfp. Signed-off-by: Karl Palsson <karlp@etactica.com>
1 parent 6f457be commit 2a916ea

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.cargo/config

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,5 @@ rustflags = [
2727

2828
[build]
2929
# Pick ONE of these compilation targets
30-
# target = "thumbv6m-none-eabi" # Cortex-M0 and Cortex-M0+
31-
# target = "thumbv7m-none-eabi" # Cortex-M3
32-
target = "thumbv7em-none-eabi" # Cortex-M4 and Cortex-M7 (no FPU)
33-
# target = "thumbv7em-none-eabihf" # Cortex-M4F and Cortex-M7F (with FPU)
30+
# target = "thumbv7em-none-eabi" # Cortex-M4 and Cortex-M7 (no FPU)
31+
target = "thumbv7em-none-eabihf" # Cortex-M4F and Cortex-M7F (with FPU)

0 commit comments

Comments
 (0)