Skip to content

Commit 84f52df

Browse files
authored
Merge pull request #355 from KurtE/Wire2
UnoQ: Add Wire2 to A4/A5 pins
2 parents 51d23c0 + 8ffc81c commit 84f52df

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

variants/arduino_uno_q_stm32u585xx/arduino_uno_q_stm32u585xx.overlay

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@
2828
*/
2929
};
3030

31+
&i2c3 {
32+
status = "okay";
33+
pinctrl-0 = <&i2c3_scl_pc0 &i2c3_sda_pc1>;
34+
pinctrl-names = "default";
35+
clock-frequency = <I2C_BITRATE_FAST>;
36+
};
37+
3138
/* clock from HSI48 */
3239
&mco1 {
3340
status = "okay";
@@ -308,7 +315,7 @@
308315
<&gpioc 0 0>;
309316

310317
serials = <&usart1>, <&lpuart1>;
311-
i2cs = <&i2c2>, <&i2c4>;
318+
i2cs = <&i2c2>, <&i2c4>, <&i2c3>;
312319
spis = <&spi2>, <&spi3>;
313320
/* PWM mapping for the digital pins */
314321
/* Currently only the pins marked with ~ on the pin headers are enabled */

0 commit comments

Comments
 (0)