1sample:
2  name: SoC Flash on Nordic nRF52, nRF53, nrf54 and nRF91 series
3tests:
4  sample.drivers.flash.soc_flash_nrf:
5    platform_allow:
6      - nrf52dk/nrf52832
7      - nrf9160dk/nrf9160
8      - nrf9160dk/nrf9160/ns
9      - nrf52840dk/nrf52840
10      - nrf54h20dk/nrf54h20/cpuapp
11      - nrf5340dk/nrf5340/cpuapp
12      - nrf54l15dk/nrf54l15/cpuapp
13    integration_platforms:
14      - nrf52dk/nrf52832
15      - nrf52840dk/nrf52840
16      - nrf5340dk/nrf5340/cpuapp
17      - nrf54h20dk/nrf54h20/cpuapp
18      - nrf54l15dk/nrf54l15/cpuapp
19    tags:
20      - flash
21      - drivers
22    harness: console
23    harness_config:
24      fixture: external_flash
25      type: multi_line
26      ordered: true
27      regex:
28        - "Test 1: Internal storage erase page"
29        - "Erase succeeded|Erase not required"
30        - "Test 2: Internal storage write"
31        - "Data read matches data written. Good!"
32        - "Test 3: Internal storage erase"
33        - "Erase succeeded|Erase not required"
34        - "Test 4: Internal storage erase page at \\d+"
35        - "Erase succeeded|Erase not required"
36        - "Test 5: Non-word aligned write"
37        - "Skipping unaligned write, not supported"
38        - "Test 6: Page layout API"
39        - "SoC flash consists of \\d+ pages"
40        - "Test 7: Write block size API"
41        - "write-block-size = \\d+"
42        - "Finished!"
43
44  sample.drivers.flash.soc_flash_nrf.one_byte_access:
45    platform_allow:
46      - nrf52dk/nrf52832
47      - nrf9160dk/nrf9160/ns
48      - nrf52840dk/nrf52840
49      - nrf5340dk/nrf5340/cpuapp
50    integration_platforms:
51      - nrf52dk/nrf52832
52      - nrf52840dk/nrf52840
53      - nrf5340dk/nrf5340/cpuapp
54    tags:
55      - flash
56      - drivers
57    extra_configs:
58      - CONFIG_SOC_FLASH_NRF_EMULATE_ONE_BYTE_WRITE_ACCESS=y
59    harness: console
60    harness_config:
61      fixture: external_flash
62      type: multi_line
63      ordered: true
64      regex:
65        - "Test 1: Internal storage erase page"
66        - "Erase succeeded|Erase not required"
67        - "Test 2: Internal storage write"
68        - "Data read matches data written. Good!"
69        - "Test 3: Internal storage erase"
70        - "Erase succeeded|Erase not required"
71        - "Test 4: Internal storage erase page at \\d+"
72        - "Erase succeeded|Erase not required"
73        - "Test 5: Non-word aligned write"
74        - "Data read matches data written. Good!"
75        - "Test 6: Page layout API"
76        - "SoC flash consists of \\d+ pages"
77        - "Test 7: Write block size API"
78        - "write-block-size = \\d+"
79        - "Finished!"
80