zephyr/tests/subsys/fs/nvs/testcase.yaml
Dominik Ermel bf7d25117a fs/nvs: Switch to use flash_flatten instead of flash_erase
The NVS currently requires explict erase capability of
a device to work, so usage of flash_erase has been replaced
with flash_flatten.
There has been additional LOG_WRN added to warn user that
NVS may not efficiently work with device that do not really
have erase.

Currently NVS relies on devices that require erase.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2024-06-04 08:00:46 +02:00

16 lines
452 B
YAML

common:
tags: nvs
tests:
filesystem.nvs:
platform_allow: qemu_x86
filesystem.nvs.0x00:
extra_args: DTC_OVERLAY_FILE=boards/qemu_x86_ev_0x00.overlay
platform_allow: qemu_x86
filesystem.nvs.sim.no_erase:
extra_args: CONFIG_FLASH_SIMULATOR_EXPLICIT_ERASE=n
platform_allow: qemu_x86
filesystem.nvs.cache:
extra_args:
- CONFIG_NVS_LOOKUP_CACHE=y
- CONFIG_NVS_LOOKUP_CACHE_SIZE=64
platform_allow: native_sim