Skip to content

Commit

Permalink
[nrf fromlist] tests: drivers: adc_accuracy
Browse files Browse the repository at this point in the history
Add overlay and enable test for nrf54l15pdk.

Upstream PR: zephyrproject-rtos/zephyr#76088

Signed-off-by: Bartlomiej Buczek <[email protected]>
(cherry picked from commit 5ca3d32)
  • Loading branch information
nordic-babu authored and rlubos committed Oct 22, 2024
1 parent e0ea947 commit 57edf6e
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright (c) 2024 Nordic Semiconductor ASA
*/

/ {
zephyr,user {
io-channels = <&adc 0>;
reference_mv = <1800>;
};
};

&adc {
#address-cells = <1>;
#size-cells = <0>;

channel@0 {
reg = <0>;
zephyr,gain = "ADC_GAIN_1_2";
zephyr,reference = "ADC_REF_INTERNAL";
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
zephyr,input-positive = <NRF_SAADC_AIN2>;
zephyr,resolution = <14>;
};
};
1 change: 1 addition & 0 deletions tests/drivers/adc/adc_accuracy_test/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ tests:
- frdm_kl25z
- ek_ra8m1
- nrf52840dk/nrf52840
- nrf54l15pdk/nrf54l15/cpuapp
- nrf54h20dk/nrf54h20/cpuapp

0 comments on commit 57edf6e

Please sign in to comment.