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

Defaults

  • y

Symbols selected by this symbol

Kconfig definitions

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

Included via Kconfig:10Kconfig.zephyr:28

Menu path: (Top)

config SOC_FLASH_RV32M1
    bool
    default y
    depends on FLASH && SOC_OPENISA_RV32M1_RISCV32

At drivers/flash/Kconfig.rv32m1:7

Included via Kconfig:10Kconfig.zephyr:40drivers/Kconfig:56drivers/flash/Kconfig:72

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