The latest development version of this page may be more current than this released 2.3.0 version.
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 soc/riscv/openisa_rv32m1/Kconfig.defconfig:153

Included via Kconfig:8Kconfig.zephyr:25

Menu path: (Top)

config SOC_FLASH_RV32M1
    bool
    default y
    depends on FLASH && SOC_OPENISA_RV32M1_RISCV32

At drivers/flash/Kconfig.rv32m1:4

Included via Kconfig:8Kconfig.zephyr:32drivers/Kconfig:58drivers/flash/Kconfig:67

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.)