-
CONFIG_FLASH_SIMULATOR_ERASE_PROTECT
¶
Enable erase protection on write protection
Type: bool
Help¶
If selected, turning on write protection will also prevent erasing.
Default¶
y
Kconfig definition¶
At <Zephyr>/drivers/flash/Kconfig.simulator:31
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:32
→ <Zephyr>/drivers/Kconfig:60
→ <Zephyr>/drivers/flash/Kconfig:79
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 onFLASH_SIMULATOR
&&FLASH
help If selected, turning on write protection will also prevent erasing.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)