2017-04-05 11:11:22 +08:00
|
|
|
sample:
|
2017-12-11 08:47:26 +08:00
|
|
|
name: SPI Flash Sample
|
2017-04-05 11:11:22 +08:00
|
|
|
tests:
|
2019-03-29 23:44:43 +08:00
|
|
|
sample.driver.spi_flash:
|
2018-10-16 03:13:17 +08:00
|
|
|
tags: spi flash
|
2019-07-18 22:51:11 +08:00
|
|
|
filter: DT_INST_0_JEDEC_SPI_NOR_LABEL
|
2018-09-17 16:09:12 +08:00
|
|
|
harness: console
|
|
|
|
harness_config:
|
|
|
|
type: multi_line
|
|
|
|
ordered: true
|
|
|
|
regex:
|
|
|
|
- "Test 1: Flash erase"
|
|
|
|
- "Flash erase succeeded!"
|
|
|
|
- "Test 2: Flash write"
|
|
|
|
- "Attempted to write 55 aa"
|
|
|
|
- "Data read 55 aa"
|
|
|
|
- "Data read matches with data written. Good!!"
|
2017-12-11 08:47:26 +08:00
|
|
|
depends_on: spi
|