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.
Defaults¶
No defaults. Implicitly defaults to n.
Kconfig definition¶
At <Zephyr Driver>/flash/Kconfig.simulator:23
Included via Kconfig:8 → Kconfig.zephyr:42 → <Zephyr Driver>/Kconfig:62 → <Zephyr Driver>/flash/Kconfig:89
Menu path: (Top) → Device Drivers → Flash hardware support → Flash simulator
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.)