zephyr/samples/drivers/spi_bitbang/sample.yaml
Gerard Marull-Paretas 93b63df762 samples, tests: convert string-based twister lists to YAML lists
Twister now supports using YAML lists for all fields that were written
as space-separated lists. Used twister_to_list.py script. Some artifacts
on string length are due to how ruamel dumps content.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2023-05-10 09:52:37 +02:00

26 lines
687 B
YAML

sample:
name: SPI Bitbang Driver Sample
tests:
sample.drivers.spi.bitbang:
tags:
- drivers
- spi
- gpio
platform_allow: nrf52840dk_nrf52840
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"