Skip to content

Commit

Permalink
tests: adc_accuracy: add overlay for nrf54l15dk.
Browse files Browse the repository at this point in the history
Add overlay and enable test for nrf54l15dk.

Signed-off-by: Bartlomiej Buczek <[email protected]>
  • Loading branch information
nordic-babu committed Oct 22, 2024
1 parent 47788a9 commit 383967b
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 @@ -21,4 +21,5 @@ tests:
- ek_ra8m1
- frdm_mcxc242
- nrf52840dk/nrf52840
- nrf54l15dk/nrf54l15/cpuapp
- nrf54h20dk/nrf54h20/cpuapp

0 comments on commit 383967b

Please sign in to comment.