zephyr,sim-flash

Description

Simulated flash memory

Properties

Properties not inherited from the base binding file.

Name

Type

Details

erase-value

int

Value of erased flash cell

Legal values: 0xff, 0x0

memory-region

phandle

Memory region used by the simulated flash memory. If this option is used
the memory that is used by the simulated flash memory is not erased.

no-explicit-erase

boolean

When set, this instance behaves as a RAM-like device that does not
require explicit erase before write. Overrides the global
CONFIG_FLASH_SIMULATOR_EXPLICIT_ERASE Kconfig option for this instance,
allowing different simulator instances to have different erase modes.