tests: drivers: build_all: comparator: add silabs_acmp test configurations
Add build test configurations for the silabs_acmp comparator. Enable this build testing on all series 2 silabs boards that currently support the comparator driver. Signed-off-by: Christian Galante <christian.galante@silabs.com>
This commit is contained in:
parent
270db3c40d
commit
2fdfa973ee
@ -0,0 +1,19 @@
|
||||
/*
|
||||
* Copyright (c) 2025 Silicon Laboratories Inc.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr/dt-bindings/comparator/silabs-acmp.h>
|
||||
|
||||
&acmp0 {
|
||||
status = "okay";
|
||||
|
||||
bias = <0>;
|
||||
hysteresis-mode = "disabled";
|
||||
accuracy-mode = "low";
|
||||
input-range = "full";
|
||||
input-positive = <ACMP_INPUT_VSENSE01DIV4>;
|
||||
input-negative = <ACMP_INPUT_VREFDIVAVDD>;
|
||||
vref-divider = <63>;
|
||||
};
|
||||
@ -4,6 +4,16 @@ common:
|
||||
- drivers
|
||||
- comparator
|
||||
tests:
|
||||
drivers.build_all.comparator.silabs_acmp.vsense_avdd:
|
||||
extra_args:
|
||||
- DTC_OVERLAY_FILE="silabs_acmp/vsense_avdd.overlay"
|
||||
platform_allow:
|
||||
- xg23_rb4210a
|
||||
- xg24_dk2601b
|
||||
- xg24_ek2703a
|
||||
- xg24_rb4187c
|
||||
- xg27_dk2602a
|
||||
- xg29_rb4412a
|
||||
drivers.build_all.comparator.nrf_comp.diff:
|
||||
extra_args:
|
||||
- DTC_OVERLAY_FILE="nrf_comp/diff.overlay"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user