boards: stm32U585 disco kit enables the ADC1 peripheral

This PR enables the ADC1  for the b_u585i_iot02a disco kit
with input pin channel 15 on pb0.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
Francois Ramu 2021-11-09 17:25:17 +01:00 committed by Maureen Helm
commit 9d3ff71ae5
3 changed files with 9 additions and 0 deletions

View file

@ -72,6 +72,11 @@ zephyr_udc0: &usbotg_fs {
status = "okay";
};
&adc1 {
pinctrl-0 = <&adc1_in15_pb0>;
status = "okay";
};
&dac1 {
pinctrl-0 = <&dac1_out1_pa4>;
status = "okay";

View file

@ -15,4 +15,5 @@ supported:
- usb_device
- spi
- dac
- adc
- watchdog

View file

@ -184,6 +184,8 @@ The Zephyr b_u585i_iot02a board configuration supports the following hardware fe
+-----------+------------+-------------------------------------+
| DAC | on-chip | dac |
+-----------+------------+-------------------------------------+
| ADC | on-chip | adc |
+-----------+------------+-------------------------------------+
| WATCHDOG | on-chip | independent watchdog |
+-----------+------------+-------------------------------------+
| USB | on-chip | usb_device |
@ -213,6 +215,7 @@ Default Zephyr Peripheral Mapping:
- I2C_1 SDA/SDL : PB9/PB8 (Arduino I2C)
- I2C_2 SDA/SDL : PH5/PH4
- DAC1 CH1 : PA4 (STMOD+1)
- ADC1_IN15 : PB0
- USB OTG : PA11/PA12
System Clock