The latest development version of this page may be more current than this released 1.14.1 version.
CONFIG_ARCH

(No prompt – not directly user assignable.)

Type: string

Help

System architecture string.

Defaults

Kconfig definitions

At arch/arc/Kconfig:12

Included via Kconfig:10Kconfig.zephyr:29arch/Kconfig:15

Menu path: (top menu) → ARC Options

config ARCH
    string
    default "arc" if ARC
    depends on ARC

At arch/arm/Kconfig:15

Included via Kconfig:10Kconfig.zephyr:29arch/Kconfig:15

Menu path: (top menu) → ARM Options

config ARCH
    string
    default "arm" if ARM
    depends on ARM

At arch/nios2/Kconfig:10

Included via Kconfig:10Kconfig.zephyr:29arch/Kconfig:15

Menu path: (top menu) → Nios II Options

config ARCH
    string
    default "nios2" if NIOS2
    depends on NIOS2

At arch/posix/Kconfig:12

Included via Kconfig:10Kconfig.zephyr:29arch/Kconfig:15

Menu path: (top menu) → POSIX (native) Options

config ARCH
    string
    default "posix" if ARCH_POSIX
    depends on ARCH_POSIX

At arch/riscv32/Kconfig:10

Included via Kconfig:10Kconfig.zephyr:29arch/Kconfig:15

Menu path: (top menu) → RISCV32 Options

config ARCH
    string
    default "riscv32" if RISCV32
    depends on RISCV32

At arch/x86/Kconfig:11

Included via Kconfig:10Kconfig.zephyr:29arch/Kconfig:15

Menu path: (top menu) → X86 Architecture Options

config ARCH
    string
    default "x86" if X86
    depends on X86

At arch/x86_64/Kconfig:3

Included via Kconfig:10Kconfig.zephyr:29arch/Kconfig:15

Menu path: (top menu)

config ARCH
    string
    default "x86_64"

At arch/xtensa/Kconfig:47

Included via Kconfig:10Kconfig.zephyr:29arch/Kconfig:15

Menu path: (top menu) → XTENSA Options

config ARCH
    string
    default "xtensa" if XTENSA
    depends on XTENSA

At arch/Kconfig:469

Included via Kconfig:10Kconfig.zephyr:29

Menu path: (top menu)

config ARCH
    string
    help
      System architecture string.

(Definitions include propagated dependencies, including from if’s and menus.)