zephyr/samples/drivers/adc/sample.yaml
Andrzej Głąbek 07b4362bac samples/drivers/adc: Add support for nRF52840 DK and nRF51 DK boards
The overlay for the nRF52840 DK board uses ADC controller child nodes
for specifying channel configurations and it shows how to configure
a channel in differential input mode, so it can serve as an example
of how to use these new possibilities. The overlay for the nRF51 DK
board shows how to use a specific ADC resolution (the default 12 bit
setting is not supported by nRF51 SoCs).

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2022-05-13 12:46:06 -07:00

19 lines
478 B
YAML

sample:
name: ADC driver sample
tests:
sample.drivers.adc:
tags: ADC
depends_on: adc
platform_allow: nucleo_l073rz disco_l475_iot1 cc3220sf_launchxl
cc3235sf_launchxl stm32l496g_disco nrf51dk_nrf51422 nrf52840dk_nrf52840
integration_platforms:
- nucleo_l073rz
- nrf52840dk_nrf52840
harness: console
timeout: 10
harness_config:
type: multi_line
regex:
- "ADC reading:"
- " - .+, channel \\d+: \\d+"