Commit 2fdfa973 authored by Christian Galante's avatar Christian Galante Committed by Benjamin Cabé
Browse files

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: default avatarChristian Galante <christian.galante@silabs.com>
parent 270db3c4
Loading
Loading
Loading
Loading
+19 −0
Changes for tests/drivers/build_all/comparator/silabs_acmp/vsense_avdd.overlay: 19 added lines, 0 removed lines.
Original line number Diff line number Diff line
/*
 * 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>;
};
+10 −0
Changes for tests/drivers/build_all/comparator/testcase.yaml: 10 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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"