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 || SOC_SERIES_RISCV_ANDES_V5 || SOC_OPENISA_RV32M1_RISCV32 || SOC_SERIES_RISCV_ANDES_V5 || RISCV

(Includes any dependencies from ifs and menus.)

Defaults

  • y if “” = “zephyr”

  • n

  • y if “” = “zephyr”

  • n

  • y if “” = “zephyr”

  • n

  • y if “” = “zephyr”

  • n

  • y

Kconfig definitions

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

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/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>/soc/riscv/riscv-privilege/andes_v5/Kconfig.defconfig.series:20

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/riscv/riscv-privilege/Kconfig.defconfig:6

Menu path: (Top)

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

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

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

Menu path: (Top)

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

At <Zephyr>/soc/riscv/riscv-privilege/andes_v5/Kconfig.defconfig.series:20

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/riscv/riscv-privilege/Kconfig.defconfig:6

Menu path: (Top)

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

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

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