tests: drivers: build_all: comparator: add nrf_lpcomp

Add nrf_lpcomp to build_all comparator test suite.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
This commit is contained in:
Bjarki Arge Andreasen 2024-09-04 11:52:51 +02:00 committed by Anas Nashif
parent 04e70ab96c
commit a4fce338ac
3 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,12 @@
/*
* Copyright (c) 2024 Nordic Semiconductor
*
* SPDX-License-Identifier: Apache-2.0
*/
&comp {
compatible = "nordic,nrf-lpcomp";
psel = "AIN0";
refsel = "VDD_4_8";
status = "okay";
};

View file

@ -0,0 +1,13 @@
/*
* Copyright (c) 2024 Nordic Semiconductor
*
* SPDX-License-Identifier: Apache-2.0
*/
&comp {
compatible = "nordic,nrf-lpcomp";
psel = "AIN0";
refsel = "AREF";
extrefsel = "AIN1";
status = "okay";
};

View file

@ -46,3 +46,23 @@ tests:
- nrf54h20dk/nrf54h20/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf9280pdk/nrf9280/cpuapp
drivers.build_all.comparator.nrf_lpcomp.ext_ref:
extra_args:
- DTC_OVERLAY_FILE="nrf_lpcomp/ext_ref.overlay"
platform_allow:
- nrf51dk/nrf51822
- nrf52dk/nrf52832
- nrf5340dk/nrf5340/cpuapp
- nrf54h20dk/nrf54h20/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf9280pdk/nrf9280/cpuapp
drivers.build_all.comparator.nrf_lpcomp.int_ref:
extra_args:
- DTC_OVERLAY_FILE="nrf_lpcomp/int_ref.overlay"
platform_allow:
- nrf51dk/nrf51822
- nrf52dk/nrf52832
- nrf5340dk/nrf5340/cpuapp
- nrf54h20dk/nrf54h20/cpuapp
- nrf54l15dk/nrf54l15/cpuapp
- nrf9280pdk/nrf9280/cpuapp