:orphan: .. title:: FLASH_SIMULATOR_DOUBLE_WRITES .. option:: CONFIG_FLASH_SIMULATOR_DOUBLE_WRITES *Allow program units to be programmed more than once* Type: ``bool`` Help ==== .. code-block:: none 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 ================== At ``/flash/Kconfig.simulator:25`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:32`` → ``/Kconfig:60`` → ``/flash/Kconfig:85`` Menu path: (Top) → Device Drivers → Flash hardware support → Flash simulator .. code-block:: kconfig config FLASH_SIMULATOR_DOUBLE_WRITES bool "Allow program units to be programmed more than once" depends on FLASH_SIMULATOR && 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.)*