‑‑cmse
Syntax
‑‑cmse
Description
This option enables language extensions for TrustZone for Armv8-M. In 64-bit mode, this option has no effect. Use this option for object files that are to be linked in a secure image. The option allows the use of instructions, keywords, and types that are not available for non-secure code:
The function attributes
_cmse_nonsecure_calland_cmse_nonsecure_entry.The functions for CMSE have names with the prefix
cmse_, and are defined in the header filearm_cmse.h.
Note
To use this option, you must first select the option Project>Options>General Options>32-bit>TrustZone.
See also
Arm TrustZone® andARMv8-M Security Extensions: Requirements on Development Tools (ARM-ECM-0359818).
Caution
To set this option, use Project>Options>C/C++ Compiler>Extra Options.