boards: stm32 adding dac features on nucleo boards nucleo_g474re

It enables he DAC peripheral on the nucleo_g474re target
boards from STMicroelectronics

Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
Francois Ramu 2022-03-07 10:37:30 +01:00 committed by Anas Nashif
parent 0c4e22c7d6
commit ae13f45c27
3 changed files with 10 additions and 0 deletions

View file

@ -119,6 +119,8 @@ The Zephyr nucleo_g474re board configuration supports the following hardware fea
+-----------+------------+-------------------------------------+
| ADC | on-chip | adc |
+-----------+------------+-------------------------------------+
| DAC | on-chip | DAC Controller |
+-----------+------------+-------------------------------------+
| FLASH | on-chip | flash memory |
+-----------+------------+-------------------------------------+
| COUNTER | on-chip | rtc |
@ -168,6 +170,7 @@ Default Zephyr Peripheral Mapping:
- USER_PB : PC13
- LD2 : PA5
- ADC1_IN1 : PA0
- DAC1_OUT1 : PA4
System Clock
------------

View file

@ -173,6 +173,12 @@
status = "okay";
};
&dac1 {
pinctrl-0 = <&dac1_out1_pa4>;
pinctrl-names = "default";
status = "okay";
};
&can1 {
pinctrl-0 = <&fdcan1_rx_pa11 &fdcan1_tx_pa12>;
pinctrl-names = "default";

View file

@ -21,6 +21,7 @@ supported:
- spi
- watchdog
- adc
- dac
- dma
- can
- canfd