1common:
2  platform_allow:
3    - native_sim
4    - native_sim/native/64
5  integration_platforms:
6    - native_sim
7tests:
8  storage.stream_flash:
9    tags: stream_flash
10    platform_allow:
11      - nrf52840dk/nrf52840
12    integration_platforms:
13      - nrf52840dk/nrf52840
14  storage.stream_flash.simulator.no_explicit_erase:
15    filter: dt_compat_enabled("zephyr,sim-flash")
16    extra_configs:
17      - CONFIG_STREAM_FLASH_ERASE=n
18      - CONFIG_FLASH_SIMULATOR_EXPLICIT_ERASE=n
19    tags: stream_flash
20  storage.stream_flash.no_explicit_erase:
21    # Systems with zephyr,sim-flash are tested by simulator scenarios,
22    # common platforms could bring them here too so filter these out.
23    filter: not dt_compat_enabled("zephyr,sim-flash")
24    platform_allow:
25      - nrf54l15dk/nrf54l15/cpuapp
26      - ophelia4ev/nrf54l15/cpuapp
27    extra_configs:
28      # Tests, currently, can only support single device testing
29      # and platform enabling SPI NOR automatically brings in a device with
30      # explicit erase requirement.
31      - CONFIG_SPI_NOR=n
32    tags: stream_flash
33  storage.stream_flash.dword_wbs:
34    extra_args: DTC_OVERLAY_FILE=unaligned_flush.overlay
35    tags: stream_flash
36  storage.stream_flash.no_erase:
37    extra_configs:
38      - CONFIG_STREAM_FLASH_ERASE=n
39    tags: stream_flash
40