CONFIG_SOC_FLASH_RV32M1

RV32M1 flash shim driver

Type: bool

Help

Enables the RV32M1 flash shim driver. WARNING: This driver will disable the system interrupts for the duration of the flash erase/write operations. This will have an impact on the overall system performance - whether this is acceptable or not will depend on the use case.

Direct dependencies

(FLASH && SOC_OPENISA_RV32M1_RISCV32) || (HAS_RV32M1_FTFX && FLASH)

(Includes any dependencies from ifs and menus.)

Default

  • y

Symbols selected by this symbol

Kconfig definitions

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

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

Menu path: (Top)

config SOC_FLASH_RV32M1
    bool
    default y
    depends on FLASH && SOC_OPENISA_RV32M1_RISCV32

At <Zephyr>/drivers/flash/Kconfig.rv32m1:4

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:60<Zephyr>/drivers/flash/Kconfig:83

Menu path: (Top) → Device Drivers → Flash hardware support

config SOC_FLASH_RV32M1
    bool "RV32M1 flash shim driver"
    select FLASH_HAS_PAGE_LAYOUT
    select FLASH_HAS_DRIVER_ENABLED
    depends on HAS_RV32M1_FTFX && FLASH
    help
      Enables the RV32M1 flash shim driver.
      WARNING: This driver will disable the system interrupts for
      the duration of the flash erase/write operations. This will
      have an impact on the overall system performance - whether
      this is acceptable or not will depend on the use case.

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