Skip to main content

IAR Embedded Workbench for Arm 9.70.x

‑‑cpu

In this section:
Syntax

‑‑cpu={ core |list}

Parameters

core

Specifies a specific processor variant

list

Lists all supported values for the option ‑‑cpu

Description

Use this option to select the architecture or processor variant for which the code is to be generated.

The default core is Cortex-M3.

In 32-bit mode: Some of the supported values for the ‑‑cpu option are:

6-M

7-A

7E-M

7-M

7-R

7-S

8-A.AArch32

8-M.baseline

8-M.mainline

8-R.AArch32

Cortex-A5

Cortex-A7

Cortex-A8

Cortex-A9

Cortex-A12

Cortex-A15

Cortex-A17

Cortex-M0

Cortex-M0+

Cortex-M23

Cortex-M23.no_se

(core without support for TrustZone)

Cortex-M3

Cortex-M33

Cortex-M33.no_dsp

(core without integer DSP extension)

Cortex-M33.fp

(floating-point unit with support for single precision)

Cortex-M33.no_se

(core without support for TrustZone)

Cortex-M4

Cortex-M4F

Cortex-M4F Cortex-M52

Cortex-M52.no_mve

(core without support for MVE)

Cortex-M52.no_se

(core without support for TrustZone)

Cortex-M52.no_se.no_mve

(core without support for TrustZone or MVE)

Cortex-M52.no_pacbti.no_se

(core without support for PACBTI or TrustZone)

Cortex-M52.no_pacbti.no_se.no_mve

(core without support for PACBTI, TrustZone or MVE)

Cortex-M52.no_pacbti

(core without support for PACBTI)

Cortex-M52.no_pacbti.no_mve

(core without support for PACBTI or MVE)

Cortex-M55

Cortex-M7

Cortex-M7.fp.dp

(floating-point unit with support for double precision)

Cortex-M7.fp.sp

(floating-point unit with support for single precision)

Cortex-R4

Cortex-R5

Cortex-R52

Cortex-R52.no_neon

Cortex-R7

Cortex-A32

Cortex-A32.no_crypto

Cortex-A32.no_neon

In 64-bit mode: Some of the supported values for the ‑‑cpu option are:

8-a.AArch64

Cortex-A35

Cortex-A53

Cortex-A55

Cortex-A57

Cortex-A72

See also

Processor variant.

Caution

Project>Options>General Options>Target>Processor variant