|Non-Confidential||PDF version||ARM DUI0472M|
|Home > Compiler Command-line Options > --arm|
Targets the ARM instruction set. The compiler is permitted to generate both ARM and Thumb code, but recognizes that ARM code is preferred.
This option is not relevant for Thumb-only processors such as Cortex-M4, Cortex-M3, Cortex-M1, and Cortex-M0.
This is the default option for targets supporting the ARM instruction set.