Skip to content

Commit 49c2731

Browse files
sarthsmartcarlescufi
authored andcommitted
boards/arm: nucleo_f767zi: enabling dac for nucleo_f767zi in device tree
Enabling DAC support for STM32 nucleo_f767zi in device tree. Documentation has been updated. Signed-off-by: Sidhdharth Yadav <[email protected]>
1 parent db73903 commit 49c2731

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

boards/arm/nucleo_f767zi/doc/index.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ features:
122122
+-----------+------------+-------------------------------------+
123123
| RNG | on-chip | True Random number generator |
124124
+-----------+------------+-------------------------------------+
125+
| DAC | on-chip | DAC Controller |
126+
+-----------+------------+-------------------------------------+
127+
125128

126129
(*) nucleo_f767zi with soc cut-A (Device marking A) has some ethernet
127130
instability (https://github.com/zephyrproject-rtos/zephyr/issues/26519).

boards/arm/nucleo_f767zi/nucleo_f767zi.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,11 @@
135135
status = "okay";
136136
};
137137

138+
&dac1 {
139+
status = "okay";
140+
pinctrl-0 = <&dac_out1_pa4>;
141+
};
142+
138143
&rng {
139144
status = "okay";
140145
};

boards/arm/nucleo_f767zi/nucleo_f767zi.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ supported:
2323
- watchdog
2424
- counter
2525
- can
26+
- dac

0 commit comments

Comments
 (0)