Add a sample for demonstrating the usage of the NXP MCUX Analog Comparator (ACMP) sensor driver. The sample currently only supports the NXP TWR-KE18F development board. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
20 lines
504 B
YAML
20 lines
504 B
YAML
sample:
|
|
description: Demonstration of the NXP MCUX ACMP sensor driver
|
|
name: NXP MCUX ACMP sample
|
|
common:
|
|
platform_allow: twr_ke18f
|
|
tags: drivers
|
|
tests:
|
|
sample.sensor.mcux_acmp:
|
|
harness: console
|
|
harness_config:
|
|
type: multi_line
|
|
ordered: true
|
|
regex:
|
|
- "Adjust ACMP input voltage by turning the potentiometer"
|
|
- "ACMP input [a-z]* threshold"
|
|
sample.sensor.mcux_acmp.no_trigger:
|
|
build_only: true
|
|
extra_configs:
|
|
- CONFIG_MCUX_ACMP_TRIGGER=n
|