Skip to content

Commit 51af2d7

Browse files
djiatsaf-stjhedberg
authored andcommitted
tests: drivers: adc: adc_api: allow nucleo_h753zi to run in CI
- add .conf and .overlay files with appropriate configurations for nucleo_h753zi. - enable sample to run in CI on nucleo_h753zi. Signed-off-by: Fabrice DJIATSA <[email protected]>
1 parent 0336457 commit 51af2d7

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_NOCACHE_MEMORY=y

tests/drivers/adc/adc_api/boards/nucleo_h753zi.overlay

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
};
1313

1414
&adc1 {
15+
dmas = <&dmamux1 0 9 (STM32_DMA_PERIPH_RX | STM32_DMA_MEM_16BITS |
16+
STM32_DMA_PERIPH_16BITS)>;
17+
dma-names = "dmamux";
18+
1519
#address-cells = <1>;
1620
#size-cells = <0>;
1721

@@ -31,3 +35,15 @@
3135
zephyr,resolution = <16>;
3236
};
3337
};
38+
39+
&dma1 {
40+
status = "okay";
41+
};
42+
43+
&dma2 {
44+
status = "okay";
45+
};
46+
47+
&dmamux1 {
48+
status = "okay";
49+
};

tests/drivers/adc/adc_api/testcase.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ tests:
5151
- nucleo_g071rb
5252
- nucleo_g474re
5353
- nucleo_h743zi
54+
- nucleo_h753zi
5455
- nucleo_l073rz
5556
- nucleo_l152re
5657
- nucleo_l476rg

0 commit comments

Comments
 (0)