blob: e3265ce2fdb623d924355a257788cffd6679a483 [file] [log] [blame]
sample:
name: SPI Bitbang Driver Sample
tests:
sample.drivers.spi.bitbang:
tags:
- drivers
- spi
- gpio
platform_allow:
- nrf52840dk/nrf52840
- nrf54h20dk/nrf54h20/cpuapp
- nrf54h20dk/nrf54h20/cpuppr
- nrf54l15dk/nrf54l15/cpuapp
- nrf54lm20dk/nrf54lm20a/cpuapp
integration_platforms:
- nrf52840dk/nrf52840
- nrf54l15dk/nrf54l15/cpuapp
depends_on: gpio
harness: console
harness_config:
fixture: gpio_loopback
type: multi_line
ordered: true
regex:
- "basic_write_9bit_words; ret: 0"
- "wrote 0101 00ff 00a5 0000 0102"
- "9bit_loopback_partial; ret: 0"
- "tx [(]i[)] : 0101 0102"
- "tx [(]ii[)] : 0003 0004 0105"
- "rx [(]ii[)] : 0003 0004 0105"
- "8bit_loopback_partial; ret: 0"
- "tx [(]i[)] : 01 02 03 04 05"
- "rx [(]i[)] : 01 02 03 04 05"