CONFIG_ARCH

(No prompt – not directly user assignable.)

Type: string

Help

System architecture string.

Defaults

  • “arc”
  • “arm”
  • “nios2”
  • “posix”
  • “riscv32”
  • “x86”
  • “x86_64”
  • “xtensa”

Kconfig definitions

At arch/arc/Kconfig:12

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

Menu path: (Top) → ARC Options

config ARCH
    string
    default "arc"
    depends on ARC

At arch/arm/Kconfig:15

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

Menu path: (Top) → ARM Options

config ARCH
    string
    default "arm"
    depends on ARM

At arch/nios2/Kconfig:10

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

Menu path: (Top) → Nios II Options

config ARCH
    string
    default "nios2"
    depends on NIOS2

At arch/posix/Kconfig:12

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

Menu path: (Top) → POSIX (native) Options

config ARCH
    string
    default "posix"
    depends on ARCH_POSIX

At arch/riscv32/Kconfig:10

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

Menu path: (Top) → RISCV32 Options

config ARCH
    string
    default "riscv32"
    depends on RISCV32

At arch/x86/Kconfig:11

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

Menu path: (Top) → X86 Architecture Options

config ARCH
    string
    default "x86"
    depends on X86

At arch/x86_64/Kconfig:3

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

Menu path: (Top)

config ARCH
    string
    default "x86_64"

At arch/xtensa/Kconfig:47

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

Menu path: (Top) → XTENSA Options

config ARCH
    string
    default "xtensa"
    depends on XTENSA

At arch/Kconfig:479

Included via Kconfig:10Kconfig.zephyr:34

Menu path: (Top)

config ARCH
    string
    help
      System architecture string.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)