Skip to content

Commit

Permalink
boards: arm: nucleo_f746zg: add i2c2
Browse files Browse the repository at this point in the history
Adds i2c2 on nucleo_f746zg to use the i2c_target_api test case
to enables the board.

Signed-off-by: Marc Desvaux <marc.desvaux-ext@st.com>
  • Loading branch information
Desvauxm-st authored and fabiobaltieri committed Jun 27, 2023
1 parent bcc737d commit e86fc5f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions boards/arm/nucleo_f746zg/nucleo_f746zg.dts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,13 @@ zephyr_udc0: &usbotg_fs {
clock-frequency = <I2C_BITRATE_FAST>;
};

&i2c2 {
pinctrl-0 = <&i2c2_scl_pb10 &i2c2_sda_pb11>;
pinctrl-names = "default";
status = "okay";
clock-frequency = <I2C_BITRATE_FAST>;
};

&timers1 {
st,prescaler = <10000>;
status = "okay";
Expand Down

0 comments on commit e86fc5f

Please sign in to comment.