1sample:
2  name: SPI Bitbang Driver Sample
3tests:
4  sample.drivers.spi.bitbang:
5    tags:
6      - drivers
7      - spi
8      - gpio
9    platform_allow: nrf52840dk/nrf52840
10    depends_on: gpio
11    harness: console
12    harness_config:
13      fixture: gpio_loopback
14      type: multi_line
15      ordered: true
16      regex:
17        - "basic_write_9bit_words; ret: 0"
18        - "wrote 0101 00ff 00a5 0000 0102"
19        - "9bit_loopback_partial; ret: 0"
20        - "tx [(]i[)]  : 0101 0102"
21        - "tx [(]ii[)] : 0003 0004 0105"
22        - "rx [(]ii[)] : 0003 0004 0105"
23        - "8bit_loopback_partial; ret: 0"
24        - "tx [(]i[)]  : 01 02 03 04 05"
25        - "rx [(]i[)]  : 01 02 03 04 05"
26