CONFIG_FLASH_SIMULATOR_ERASE_PROTECT

Enable erase protection on write protection

Type: bool

Help

If selected, turning on write protection will also prevent erasing.

Direct dependencies

FLASH_SIMULATOR && FLASH

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At drivers/flash/Kconfig.simulator:31

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

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

config FLASH_SIMULATOR_ERASE_PROTECT
    bool "Enable erase protection on write protection"
    default y
    depends on FLASH_SIMULATOR && FLASH
    help
      If selected, turning on write protection will also prevent erasing.

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