Skip to content

Commit

Permalink
target hardfp by default.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
karlp committed Sep 8, 2021
1 parent 6f457be commit 2a916ea
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .cargo/config
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,5 @@ rustflags = [

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

0 comments on commit 2a916ea

Please sign in to comment.