1sample: 2 name: SPI Flash AT45 Sample 3common: 4 depends_on: spi 5 filter: dt_compat_enabled("atmel,at45") 6 integration_platforms: 7 - sam4l_wm400_cape 8 tags: 9 - spi 10 - flash 11tests: 12 sample.drivers.spi.flash.at45.build: 13 build_only: true 14 sample.drivers.spi.flash.at45.build.page_layout: 15 extra_args: EXTRA_CONF_FILE="overlay-page_layout.conf" 16 build_only: true 17 sample.drivers.spi.flash.at45.build.pm: 18 extra_args: EXTRA_CONF_FILE="overlay-pm.conf" 19 build_only: true 20 sample.drivers.spi.flash.at45.build.page_layout_pm: 21 extra_args: EXTRA_CONF_FILE="overlay-page_layout.conf;overlay-pm.conf" 22 build_only: true 23 sample.drivers.spi.flash.at45: 24 extra_args: EXTRA_CONF_FILE="overlay-page_layout.conf;overlay-pm.conf" 25 harness: console 26 harness_config: 27 type: multi_line 28 ordered: true 29 regex: 30 - "Using \\w+, chip size: \\d+ bytes \\(page: \\d+\\)" 31 - "Reading the first byte of the test region ... OK" 32 - "Preparing test content starting with 0x[0-9a-f]{2}." 33 - "Writing the first half of the test region... OK" 34 - "Writing the second half of the test region... OK" 35 - "Reading the whole test region... OK" 36 - "Checking the read content... OK" 37 - "Putting the flash device into low power state... OK" 38 fixture: atmel_at45 39