CONFIG_RISCV_GENERIC_TOOLCHAIN

Compile using generic riscv32 toolchain

Type: bool

Help

Compile using generic riscv32 toolchain. Allow SOCs that have custom extended riscv ISA to still compile with generic riscv32 toolchain.

Direct dependencies

SOC_OPENISA_RV32M1_RISCV32 || RISCV

(Includes any dependencies from ifs and menus.)

Defaults

  • y if “” = “zephyr”

  • n

  • y

Kconfig definitions

At <Zephyr>/soc/riscv/openisa_rv32m1/Kconfig.defconfig:23

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:19<BuildDir>/Kconfig/Kconfig.soc.defconfig:1

Menu path: (Top)

config RISCV_GENERIC_TOOLCHAIN
    bool
    default y if "" = "zephyr"
    default n
    depends on SOC_OPENISA_RV32M1_RISCV32

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

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

Menu path: (Top) → RISCV Options → RISCV Processor Options

config RISCV_GENERIC_TOOLCHAIN
    bool "Compile using generic riscv32 toolchain"
    default y
    depends on RISCV
    help
      Compile using generic riscv32 toolchain.
      Allow SOCs that have custom extended riscv ISA to still
      compile with generic riscv32 toolchain.

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