:orphan: .. title:: FLASH_SIMULATOR_ERASE_PROTECT .. option:: 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 =================== \ :option:`FLASH_SIMULATOR ` && \ :option:`FLASH ` *(Includes any dependencies from ifs and menus.)* Default ======= - y Kconfig definition ================== .. highlight:: kconfig At ``drivers/flash/Kconfig.simulator:31`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:32`` → ``drivers/Kconfig:60`` → ``drivers/flash/Kconfig:83`` Menu path: (Top) → Device Drivers → Flash hardware support → Flash simulator .. parsed-literal:: config FLASH_SIMULATOR_ERASE_PROTECT bool "Enable erase protection on write protection" default y depends on \ :option:`FLASH_SIMULATOR ` && \ :option:`FLASH ` help If selected, turning on write protection will also prevent erasing. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*