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” = “zephyr”

  • n

  • y

Kconfig definitions

At soc/riscv/openisa_rv32m1/Kconfig.defconfig:26

Included via Kconfig:8Kconfig.zephyr:28

Menu path: (Top)

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

At arch/riscv/Kconfig:73

Included via Kconfig:8Kconfig.zephyr:34arch/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.)