Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1a993da

Browse files
kbidanikartben
authored andcommittedJun 23, 2025·
tests: drivers: adc: adc_api: fix ADC DMA test for Nucleo U385RG-Q
Correct the ADC DMA test to ensure proper functionality on the Nucleo U385RG-Q board. Signed-off-by: Khaoula Bidani <[email protected]>
1 parent 0104943 commit 1a993da

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎tests/drivers/adc/adc_api/boards/nucleo_u385rg_q.overlay

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

1414
&adc1 {
15+
dmas = <&gpdma1 0 0 (STM32_DMA_PERIPH_RX | STM32_DMA_MEM_16BITS | STM32_DMA_PERIPH_16BITS)>;
16+
dma-names = "gpdma";
17+
1518
#address-cells = <1>;
1619
#size-cells = <0>;
1720

@@ -23,3 +26,7 @@
2326
zephyr,resolution = <12>;
2427
};
2528
};
29+
30+
&gpdma1 {
31+
status = "okay";
32+
};

0 commit comments

Comments
 (0)
Please sign in to comment.