d496a17bb6
Add the ability for the flash simulator to store its contents in a memory region. This allows filesystems on the flash simulator to survive a reboot. And allows subsystems (e.g. coredump) to store their info on ram while using the (existing) flash partition backend. Add a example (for nucleo_f411re) that shows how to configure the flash simulator for hardware (cfg discussion #54166). Signed-off-by: Laczen JMS <laczenjms@gmail.com>
18 lines
421 B
YAML
18 lines
421 B
YAML
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: Simulated flash memory
|
|
|
|
compatible: "zephyr,sim-flash"
|
|
|
|
include: base.yaml
|
|
|
|
properties:
|
|
erase-value:
|
|
type: int
|
|
description: Value of erased flash cell
|
|
memory-region:
|
|
type: phandle
|
|
description: |
|
|
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.
|