zephyr/tests/subsys/storage/stream/stream_flash/testcase.yaml
Dominik Ermel d7765ccae7 tests/stream_flash: Disable SPI_NOR on nrf54l devices
The stream flash test has been written with SoC internal
storage in mind and its simplified structure does not take
into account possibility of existence of devices with
different erase characteristics, at run time.
The commit fixes the test failing with Nordic bords that
have CONFIG_SPI_NOR=y set by default, which made test
to behave like device with erase capability has been tested.

The commit sets CONFIG_SPI_NOR=n for nrf54l devices.

Fixes #79181

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2024-10-30 14:29:13 -05:00

35 lines
934 B
YAML

common:
platform_allow:
- native_sim
- native_sim/native/64
integration_platforms:
- native_sim
tests:
storage.stream_flash:
tags: stream_flash
storage.stream_flash.simulator.no_explicit_erase:
extra_args:
- CONFIG_STREAM_FLASH_ERASE=n
- CONFIG_FLASH_SIMULATOR_EXPLICIT_ERASE=n
tags: stream_flash
storage.stream_flash.no_explicit_erase:
platform_allow:
- nrf54l15dk/nrf54l15/cpuapp
extra_args:
- CONFIG_SPI_NOR=n
storage.stream_flash.dword_wbs:
extra_args: DTC_OVERLAY_FILE=unaligned_flush.overlay
tags: stream_flash
storage.stream_flash.no_erase:
extra_configs:
- CONFIG_STREAM_FLASH_ERASE=n
tags: stream_flash
storage.stream_flash.mpu_allow_flash_write:
extra_configs:
- CONFIG_MPU_ALLOW_FLASH_WRITE=y
platform_allow:
- nrf52840dk/nrf52840
integration_platforms:
- nrf52840dk/nrf52840
tags: stream_flash