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
106
106
+-----------+------------+-------------------------------------+
107
107
| PWM | on-chip | pwm |
108
108
+-----------+------------+-------------------------------------+
109
+ | ADC | on-chip | adc |
110
+ +-----------+------------+-------------------------------------+
109
111
| DAC | on-chip | dac |
110
112
+-----------+------------+-------------------------------------+
111
113
@@ -134,6 +136,8 @@ Default Zephyr Peripheral Mapping:
134
136
- USER_PB : PC13
135
137
- LD4 : PA5
136
138
- PWM : PA6
139
+ - ADC1 IN0 : PA0
140
+ - ADC1 IN1 : PA1
137
141
- DAC1_OUT1 : PA4
138
142
139
143
For mode details please refer to `STM32 Nucleo-64 board User Manual `_.
Original file line number Diff line number Diff line change 89
89
status = "okay";
90
90
};
91
91
92
+ &adc1 {
93
+ pinctrl-0 = <&adc1_in0_pa0 &adc1_in1_pa1>;
94
+ status = "okay";
95
+ };
96
+
92
97
&dac1 {
93
98
status = "okay";
94
99
pinctrl-0 = <&dac1_out1_pa4>;
Original file line number Diff line number Diff line change @@ -19,4 +19,5 @@ supported:
19
19
- counter
20
20
- watchdog
21
21
- pwm
22
+ - adc
22
23
- dac
Original file line number Diff line number Diff line change 152
152
defined(CONFIG_BOARD_NUCLEO_F401RE ) || \
153
153
defined(CONFIG_BOARD_NUCLEO_F429ZI ) || \
154
154
defined(CONFIG_BOARD_NUCLEO_F746ZG ) || \
155
+ defined(CONFIG_BOARD_NUCLEO_G071RB ) || \
155
156
defined(CONFIG_BOARD_NUCLEO_L073RZ ) || \
156
157
defined(CONFIG_BOARD_NUCLEO_WB55RG ) || \
157
158
defined(CONFIG_BOARD_NUCLEO_L152RE ) || \
You can’t perform that action at this time.
0 commit comments