:orphan: .. title:: FLASH_SIMULATOR_DOUBLE_WRITES .. option:: CONFIG_FLASH_SIMULATOR_DOUBLE_WRITES *Allow program units to be programmed more than once* Type: ``bool`` Help ==== If selected, writing to a non-erased program unit will succeed, otherwise, it will return an error. Keep in mind that write operations can only pull bits to zero, regardless. Direct dependencies =================== \ :option:`FLASH_SIMULATOR ` && \ :option:`FLASH ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Kconfig definition ================== .. highlight:: kconfig At ``drivers/flash/Kconfig.simulator:25`` 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_DOUBLE_WRITES bool "Allow program units to be programmed more than once" depends on \ :option:`FLASH_SIMULATOR ` && \ :option:`FLASH ` help If selected, writing to a non-erased program unit will succeed, otherwise, it will return an error. Keep in mind that write operations can only pull bits to zero, regardless. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*