Skip to content

Commit 4c977c5

Browse files
Desvauxm-stcarlescufi
authored andcommitted
boards: arm: nucleo_f429zi: add i2c2
Adds i2c2 on nucleo_f429zi to use the i2c_target_api test case to enables the board. Signed-off-by: Marc Desvaux <[email protected]>
1 parent 427f5ef commit 4c977c5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

boards/arm/nucleo_f429zi/nucleo_f429zi.dts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,13 @@
108108
clock-frequency = <I2C_BITRATE_FAST>;
109109
};
110110

111+
&i2c2 {
112+
pinctrl-0 = <&i2c2_scl_pb10 &i2c2_sda_pb11>;
113+
pinctrl-names = "default";
114+
status = "okay";
115+
clock-frequency = <I2C_BITRATE_FAST>;
116+
};
117+
111118
&spi1 {
112119
pinctrl-0 = <&spi1_sck_pa5 &spi1_miso_pa6 &spi1_mosi_pa7>;
113120
pinctrl-names = "default";

0 commit comments

Comments
 (0)