You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2023/08/28 18:03:30 UTC
[nuttx] 05/12: stm32f777zit6-meadow: Fix I2C1 pinout
This is an automated email from the ASF dual-hosted git repository.
pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 69a0c28557267db4d056f482971b56749105c752
Author: Alan Carvalho de Assis <ac...@gmail.com>
AuthorDate: Thu Aug 24 19:21:49 2023 -0300
stm32f777zit6-meadow: Fix I2C1 pinout
---
boards/arm/stm32f7/stm32f777zit6-meadow/include/board.h | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/boards/arm/stm32f7/stm32f777zit6-meadow/include/board.h b/boards/arm/stm32f7/stm32f777zit6-meadow/include/board.h
index abfb0dab3b..d8e1e7b9fe 100644
--- a/boards/arm/stm32f7/stm32f777zit6-meadow/include/board.h
+++ b/boards/arm/stm32f7/stm32f777zit6-meadow/include/board.h
@@ -462,14 +462,13 @@
#define GPIO_ETH_RMII_TXD1 (GPIO_ETH_RMII_TXD1_2|GPIO_SPEED_100MHz)
/* I2C Mapping
- * I2C #4 is connected to the LCD daughter board
- * and the WM8994 audio codec.
*
- * I2C4_SCL - PD12
- * I2C4_SDA - PB7
+ * I2C1_SCL - PB6
+ * I2C1_SDA - PB7
*/
-#define GPIO_I2C4_SCL (GPIO_I2C4_SCL_1|GPIO_SPEED_50MHz)
-#define GPIO_I2C4_SDA (GPIO_I2C4_SDA_5|GPIO_SPEED_50MHz)
+
+#define GPIO_I2C1_SCL (GPIO_I2C1_SCL_1|GPIO_SPEED_50MHz)
+#define GPIO_I2C1_SDA (GPIO_I2C1_SDA_1|GPIO_SPEED_50MHz)
/* QSPI Mapping */