src/doc/rustc/src/platform-support/thumbv7em-none-eabi.md
thumbv7em-none-eabi and thumbv7em-none-eabihf#![no_std])Bare-metal target for CPUs in the Armv7E-M architecture family, supporting a subset of the T32 ISA.
Processors in this family include the:
See arm-none-eabi for information applicable to all
arm-none-eabi targets, in particular the difference between the eabi and
eabihf ABI.
@rustbot ping arm-maintainers to ping usSee the bare-metal Arm docs for details on how to use these flags.
thumbv7em-none-eabi| CPU | FPU | DSP | Target CPU | Target Features |
|---|---|---|---|---|
| Any | No | Yes | None | None |
| Cortex-M4 | No | Yes | cortex-m4 | -fpregs |
| Cortex-M4F | SP | Yes | cortex-m4 | None |
| Cortex-M7 | No | Yes | cortex-m7 | -fpregs |
| Cortex-M7F | SP | Yes | cortex-m7 | -fp64 |
| Cortex-M7F | DP | Yes | cortex-m7 | None |
thumbv7em-none-eabihf| CPU | FPU | DSP | Target CPU | Target Features |
|---|---|---|---|---|
| Any | SP | Yes | None | None |
| Cortex-M4F | SP | Yes | cortex-m4 | None |
| Cortex-M7F | SP | Yes | cortex-m7 | -fp64 |
| Cortex-M7F | DP | Yes | cortex-m7 | None |
Never use the -fpregs target-feature with the thumbv7em-none-eabihf target
as it will cause compilation units to have different ABIs, which is unsound.
The target CPU is cortex-m4.
dsp target-feature-fpregs target-feature (eabi only)The target CPU is cortex-m7.
dsp target-feature-f64 target-feature-fpregs target-feature (eabi only)