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:40drivers/Kconfig:54drivers/flash/Kconfig:63

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