Commit 1ae6e61e authored by Fabrice DJIATSA's avatar Fabrice DJIATSA Committed by Carles Cufi
Browse files

boards: st: add dac node in dts file and update docs



-enable dac in nucleo_u031r8, stm32u083c_dk and nucleo_u083rc
- add dac as new supported interface in docs
- update yaml files

Signed-off-by: default avatarFabrice DJIATSA <fabrice.djiatsa-ext@st.com>
parent e33e997c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -140,6 +140,8 @@ The Zephyr _nucleo_u031r8_ board configuration supports the following hardware f
+-----------+------------+-------------------------------------+
| NVIC      | on-chip    | nested vector interrupt controller  |
+-----------+------------+-------------------------------------+
| DAC       | on-chip    | DAC Controller                      |
+-----------+------------+-------------------------------------+
| I2C       | on-chip    | i2c                                 |
+-----------+------------+-------------------------------------+

@@ -160,6 +162,7 @@ For more details please refer to `STM32U031 User Manual`_.
Default Zephyr Peripheral Mapping:
----------------------------------

- DAC1_OUT1 : PA4
- LD1 : PA5
- UART_1_TX : PA9
- UART_1_RX : PA10
+6 −0
Original line number Diff line number Diff line
@@ -82,6 +82,12 @@
	apb1-prescaler = <1>;
};

&dac1 {
	status = "okay";
	pinctrl-0 = <&dac1_out1_pa4>;
	pinctrl-names = "default";
};

&i2c1 {
	pinctrl-0 = <&i2c1_scl_pb8 &i2c1_sda_pb9>;
	pinctrl-names = "default";
+1 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@ toolchain:
  - zephyr
supported:
  - arduino_gpio
  - dac
  - gpio
  - i2c
  - usart
+2 −0
Original line number Diff line number Diff line
@@ -146,6 +146,8 @@ The Zephyr nucleo_u083rc board configuration supports the following hardware fea
| UART      | on-chip    | serial port-polling;                |
|           |            | serial port-interrupt               |
+-----------+------------+-------------------------------------+
| DAC       | on-chip    | DAC Controller                      |
+-----------+------------+-------------------------------------+
| I2C       | on-chip    | i2c                                 |
+-----------+------------+-------------------------------------+

+6 −0
Original line number Diff line number Diff line
@@ -82,6 +82,12 @@
	apb1-prescaler = <1>;
};

&dac1 {
	status = "okay";
	pinctrl-0 = <&dac1_out1_pa4>;
	pinctrl-names = "default";
};

&i2c1 {
	pinctrl-0 = <&i2c1_scl_pb8 &i2c1_sda_pb9>;
	pinctrl-names = "default";
Loading