Skip to content

Commit fb5c4c9

Browse files
ExaltZephyrkartben
authored andcommitted
tests: drivers: adc: Enable DMA for nucleo_u083rc board for adc_api
Since DMA is supported by the nucleo_u083rc board, it should be enabled in the board overlay for the ADC adc_api test, similar to the board nucleo_h743zi. Signed-off-by: Mohammad Badawi <[email protected]> Signed-off-by: Sara Touqan <[email protected]>
1 parent bc6c07b commit fb5c4c9

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

tests/drivers/adc/adc_api/boards/nucleo_u083rc.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 5 (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 = <12>;
3236
};
3337
};
38+
39+
&dma1 {
40+
status = "okay";
41+
};
42+
43+
&dma2 {
44+
status = "okay";
45+
};
46+
47+
&dmamux1 {
48+
status = "okay";
49+
};

0 commit comments

Comments
 (0)