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

FLASH_SIMULATOR && FLASH

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Zephyr>/drivers/flash/Kconfig.simulator:25

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_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.)