Skip to main content

IAR Embedded Workbench for Arm 9.70.x

__CORE__

In this section:
Description

An integer that identifies the chip core in use. The value reflects the setting of the ‑‑cpu option and is defined to __ARM4TM__, __ARM5__, __ARM5E__, __ARM6__, __ARM6M__, __ARM6SM__, __ARM7M__, __ARM7EM__, __ARM7A__, __ARM7R__, __ARM8A__, __ARM8M_BASELINE__, __ARM8M_MAINLINE__, __ARM8R__, or __ARM8EM_MAINLINE__.These symbolic names can be used when testing the __CORE__ symbol.

This preprocessor symbol is related to the ACLE (Arm C Language Extensions) macro __ARM_ARCH.