CONFIG_ARCH

(No prompt – not directly user assignable.)

Type: string

Help

System architecture string.

Defaults

  • “arc”

  • “arm”

  • “arm64”

  • “nios2”

  • “posix”

  • “riscv64” if 64BIT

  • “riscv32”

  • “sparc”

  • “x86”

  • “xtensa”

Kconfig definitions

At <Zephyr>/arch/arc/Kconfig:9

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:39<Zephyr>/arch/Kconfig:12

Menu path: (Top) → ARC Options

config ARCH
    string
    default "arc"
    depends on ARC

At <Zephyr>/arch/arm/Kconfig:9

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:39<Zephyr>/arch/Kconfig:12

Menu path: (Top) → ARM Options

config ARCH
    string
    default "arm"
    depends on ARM

At <Zephyr>/arch/arm64/Kconfig:9

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:39<Zephyr>/arch/Kconfig:12

Menu path: (Top) → ARM64 Options

config ARCH
    string
    default "arm64"
    depends on ARM64

At <Zephyr>/arch/nios2/Kconfig:7

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:39<Zephyr>/arch/Kconfig:12

Menu path: (Top) → Nios II Options

config ARCH
    string
    default "nios2"
    depends on NIOS2

At <Zephyr>/arch/posix/Kconfig:9

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:39<Zephyr>/arch/Kconfig:12

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

config ARCH
    string
    default "posix"
    depends on ARCH_POSIX

At <Zephyr>/arch/riscv/Kconfig:7

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:39<Zephyr>/arch/Kconfig:12

Menu path: (Top) → RISCV Options

config ARCH
    string
    default "riscv64" if 64BIT
    default "riscv32"
    depends on RISCV

At <Zephyr>/arch/sparc/Kconfig:7

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:39<Zephyr>/arch/Kconfig:12

Menu path: (Top) → SPARC Options

config ARCH
    string
    default "sparc"
    depends on SPARC

At <Zephyr>/arch/x86/Kconfig:9

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:39<Zephyr>/arch/Kconfig:12

Menu path: (Top) → X86 Architecture Options

config ARCH
    string
    default "x86"
    depends on X86

At <Zephyr>/arch/xtensa/Kconfig:21

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:39<Zephyr>/arch/Kconfig:12

Menu path: (Top) → XTENSA Options

config ARCH
    string
    default "xtensa"
    depends on XTENSA

At <Zephyr>/arch/Kconfig:957

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:39

Menu path: (Top)

config ARCH
    string
    help
      System architecture string.

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