Skip to content

Commit b935d4e

Browse files
jaz1-nordicnika-nordic
authored andcommitted
[nrf fromtree] samples: drivers: adc: Add variant for 8-bit resolution on nRF54x
Add sample variant to run code in 8-bit resolution on nRF54x series. Signed-off-by: Jakub Zymelka <[email protected]> (cherry picked from commit 7c14d7e)
1 parent d8454be commit b935d4e

File tree

1 file changed

+20
-11
lines changed

1 file changed

+20
-11
lines changed
Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
11
sample:
22
name: ADC driver sequence sample
3+
common:
4+
tags:
5+
- adc
6+
depends_on: adc
7+
harness: console
8+
timeout: 10
9+
harness_config:
10+
type: multi_line
11+
regex:
12+
- "ADC sequence reading \\[\\d+\\]:"
13+
- "- .+, channel \\d+, \\d+ sequence samples:"
14+
- "- - \\d+ (= \\d+mV)|(\\(value in mV not available\\))"
315
tests:
416
sample.drivers.adc.adc_sequence:
5-
tags:
6-
- adc
7-
depends_on: adc
817
platform_allow:
918
- cy8cproto_063_ble
1019
- cy8cproto_062_4343w
@@ -18,11 +27,11 @@ tests:
1827
- stm32f3_disco
1928
integration_platforms:
2029
- nrf52840dk/nrf52840
21-
harness: console
22-
timeout: 10
23-
harness_config:
24-
type: multi_line
25-
regex:
26-
- "ADC sequence reading \\[\\d+\\]:"
27-
- "- .+, channel \\d+, \\d+ sequence samples:"
28-
- "- - \\d+ (= \\d+mV)|(\\(value in mV not available\\))"
30+
sample.drivers.adc.adc_sequence.8bit:
31+
platform_allow:
32+
- nrf54l15dk/nrf54l15/cpuapp
33+
- nrf54h20dk/nrf54h20/cpuapp
34+
integration_platforms:
35+
- nrf54l15dk/nrf54l15/cpuapp
36+
extra_configs:
37+
- CONFIG_SEQUENCE_RESOLUTION=8

0 commit comments

Comments
 (0)