| sample: |
| name: SoC Flash on Nordic nRF52, nRF53, nrf54 and nRF91 series |
| tests: |
| sample.drivers.flash.soc_flash_nrf: |
| platform_allow: |
| - nrf52dk/nrf52832 |
| - nrf9160dk/nrf9160 |
| - nrf9160dk/nrf9160/ns |
| - nrf52840dk/nrf52840 |
| - nrf54h20dk/nrf54h20/cpuapp |
| - nrf5340dk/nrf5340/cpuapp |
| - nrf54l15dk/nrf54l15/cpuapp |
| integration_platforms: |
| - nrf52dk/nrf52832 |
| - nrf52840dk/nrf52840 |
| - nrf5340dk/nrf5340/cpuapp |
| - nrf54h20dk/nrf54h20/cpuapp |
| - nrf54l15dk/nrf54l15/cpuapp |
| tags: |
| - flash |
| - drivers |
| harness: console |
| harness_config: |
| fixture: external_flash |
| type: multi_line |
| ordered: true |
| regex: |
| - "Test 1: Internal storage erase page" |
| - "Erase succeeded|Erase not required" |
| - "Test 2: Internal storage write" |
| - "Data read matches data written. Good!" |
| - "Test 3: Internal storage erase" |
| - "Erase succeeded|Erase not required" |
| - "Test 4: Internal storage erase page at \\d+" |
| - "Erase succeeded|Erase not required" |
| - "Test 5: Non-word aligned write" |
| - "Skipping unaligned write, not supported" |
| - "Test 6: Page layout API" |
| - "SoC flash consists of \\d+ pages" |
| - "Test 7: Write block size API" |
| - "write-block-size = \\d+" |
| - "Finished!" |
| |
| sample.drivers.flash.soc_flash_nrf.one_byte_access: |
| platform_allow: |
| - nrf52dk/nrf52832 |
| - nrf9160dk/nrf9160/ns |
| - nrf52840dk/nrf52840 |
| - nrf5340dk/nrf5340/cpuapp |
| integration_platforms: |
| - nrf52dk/nrf52832 |
| - nrf52840dk/nrf52840 |
| - nrf5340dk/nrf5340/cpuapp |
| tags: |
| - flash |
| - drivers |
| extra_configs: |
| - CONFIG_SOC_FLASH_NRF_EMULATE_ONE_BYTE_WRITE_ACCESS=y |
| harness: console |
| harness_config: |
| fixture: external_flash |
| type: multi_line |
| ordered: true |
| regex: |
| - "Test 1: Internal storage erase page" |
| - "Erase succeeded|Erase not required" |
| - "Test 2: Internal storage write" |
| - "Data read matches data written. Good!" |
| - "Test 3: Internal storage erase" |
| - "Erase succeeded|Erase not required" |
| - "Test 4: Internal storage erase page at \\d+" |
| - "Erase succeeded|Erase not required" |
| - "Test 5: Non-word aligned write" |
| - "Data read matches data written. Good!" |
| - "Test 6: Page layout API" |
| - "SoC flash consists of \\d+ pages" |
| - "Test 7: Write block size API" |
| - "write-block-size = \\d+" |
| - "Finished!" |