Skip to content

Commit 5f1bf1f

Browse files
nordic-babu57300
authored andcommitted
[nrf fromtree] tests: adc_accuracy: add overlay for nrf54l15dk.
Add overlay and enable test for nrf54l15dk. Signed-off-by: Bartlomiej Buczek <[email protected]> (cherry picked from commit 108f6cd)
1 parent 89fa069 commit 5f1bf1f

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*
2+
* SPDX-License-Identifier: Apache-2.0
3+
*
4+
* Copyright (c) 2024 Nordic Semiconductor ASA
5+
*/
6+
7+
/ {
8+
zephyr,user {
9+
io-channels = <&adc 0>;
10+
reference_mv = <1800>;
11+
};
12+
};
13+
14+
&adc {
15+
#address-cells = <1>;
16+
#size-cells = <0>;
17+
18+
channel@0 {
19+
reg = <0>;
20+
zephyr,gain = "ADC_GAIN_1_2";
21+
zephyr,reference = "ADC_REF_INTERNAL";
22+
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
23+
zephyr,input-positive = <NRF_SAADC_AIN2>;
24+
zephyr,resolution = <14>;
25+
};
26+
};

tests/drivers/adc/adc_accuracy_test/testcase.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ tests:
2121
- ek_ra8m1
2222
- frdm_mcxc242
2323
- nrf52840dk/nrf52840
24+
- nrf54l15dk/nrf54l15/cpuapp
2425
- nrf54h20dk/nrf54h20/cpuapp

0 commit comments

Comments
 (0)