Skip to content

Commit be94ee5

Browse files
kbidanidkalowsk
authored andcommitted
boards: st: add adc node in dts file and update docs
- enable adc in nucleo_u385rg_q - add adc as new supported interface in docs - update yaml files Signed-off-by: Khaoula Bidani <[email protected]>
1 parent edac886 commit be94ee5

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

boards/st/nucleo_u385rg_q/nucleo_u385rg_q.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,12 @@
9494
status = "okay";
9595
};
9696

97+
&adc1 {
98+
pinctrl-0 = <&adc1_in1_pc0>;
99+
pinctrl-names = "default";
100+
status = "okay";
101+
};
102+
97103
&dac1 {
98104
status = "okay";
99105
pinctrl-0 = <&dac1_out1_pa4>;

boards/st/nucleo_u385rg_q/nucleo_u385rg_q.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ toolchain:
77
supported:
88
- arduino_gpio
99
- dac
10+
- adc
1011
- gpio
1112
- usart
1213
ram: 256

0 commit comments

Comments
 (0)