Skip to main content

IAR Embedded Workbench for Arm 9.70.x

‑‑cmse

In this section:
Syntax
‑‑cmse
Description

Use this option to target secure mode in TrustZone for ARMv8-M. This option enables access to system registers with the suffix _NS using the instructions MRS and MSR, and enables the use of the instructions SG, TTA, TTAT, BLXNS, and BXNS. In 64-bit mode, this option has no effect.

Note

To use this option, you must first select the option Project>Options>General Options>32-bit>TrustZone.

Caution

To set this option, use Project>Options>Assembler>Extra Options.