11. Armv7E-M bare-metal (hard-float) (coming soon)¶
Note
Currently the baseline target is qualified, without any specific
-Ctarget-cpu
or -Ctarget-feature
flags mentioned in the rustc book.
Please contact support if your use case demands fully optimized builds for a specific CPU configuration.
The thumbv7em-none-eabi
Ferrocene target provides support for
bare-metal ARMv7E-M processors with the
T32 ISA,
using the hard-float ABI.
On this target, functions accepting f32
or f64
will have those
arguments passed via FPU registers. For more information on the
differences between the hard-float and soft-float ABIs, see the
rustc book.
For the soft-float ABI, Armv7E-M bare-metal (soft-float) (coming soon) is also available.
11.1. Prerequisites¶
This target has no pre-requisites.
11.2. Archives to install¶
The following archives are needed when installing this target as a cross-compilation target:
rust-std-thumbv7em-none-eabihf
11.3. Required compiler flags¶
To use the target, the following additional flags must be provided to
rustc
:
--target=thumbv7em-none-eabihf