File tree Expand file tree Collapse file tree 4 files changed +11
-0
lines changed
tests/drivers/adc/adc_api/src Expand file tree Collapse file tree 4 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,8 @@ The Zephyr nucleo_g071rb board configuration supports the following hardware fea
106106+-----------+------------+-------------------------------------+
107107| PWM | on-chip | pwm |
108108+-----------+------------+-------------------------------------+
109+ | ADC | on-chip | adc |
110+ +-----------+------------+-------------------------------------+
109111| DAC | on-chip | dac |
110112+-----------+------------+-------------------------------------+
111113
@@ -134,6 +136,8 @@ Default Zephyr Peripheral Mapping:
134136- USER_PB : PC13
135137- LD4 : PA5
136138- PWM : PA6
139+ - ADC1 IN0 : PA0
140+ - ADC1 IN1 : PA1
137141- DAC1_OUT1 : PA4
138142
139143For mode details please refer to `STM32 Nucleo-64 board User Manual `_.
Original file line number Diff line number Diff line change 8989 status = "okay";
9090};
9191
92+ &adc1 {
93+ pinctrl-0 = <&adc1_in0_pa0 &adc1_in1_pa1>;
94+ status = "okay";
95+ };
96+
9297&dac1 {
9398 status = "okay";
9499 pinctrl-0 = <&dac1_out1_pa4>;
Original file line number Diff line number Diff line change @@ -19,4 +19,5 @@ supported:
1919 - counter
2020 - watchdog
2121 - pwm
22+ - adc
2223 - dac
Original file line number Diff line number Diff line change 152152 defined(CONFIG_BOARD_NUCLEO_F401RE ) || \
153153 defined(CONFIG_BOARD_NUCLEO_F429ZI ) || \
154154 defined(CONFIG_BOARD_NUCLEO_F746ZG ) || \
155+ defined(CONFIG_BOARD_NUCLEO_G071RB ) || \
155156 defined(CONFIG_BOARD_NUCLEO_L073RZ ) || \
156157 defined(CONFIG_BOARD_NUCLEO_WB55RG ) || \
157158 defined(CONFIG_BOARD_NUCLEO_L152RE ) || \
You can’t perform that action at this time.
0 commit comments