stm32/boards/NUCLEO_F446RE: Fix I2C1 pin assignment to match datasheet.

Thanks to @aureliano2nd.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2021-07-13 15:22:39 +10:00
parent e3291e1801
commit 831cc4a61d
1 changed files with 2 additions and 2 deletions

View File

@ -25,8 +25,8 @@
#define MICROPY_HW_UART_REPL_BAUD 115200
// I2C buses
#define MICROPY_HW_I2C1_SCL (pin_B6) // Arduino D10, pin 17 on CN10
#define MICROPY_HW_I2C1_SDA (pin_B7) // pin 21 on CN7
#define MICROPY_HW_I2C1_SCL (pin_B8) // Arduino D15, pin 3 on CN10
#define MICROPY_HW_I2C1_SDA (pin_B9) // Arduino D14, pin 5 on CN10
#define MICROPY_HW_I2C2_SCL (pin_B10) // Arduino D6, pin 25 on CN10
#define MICROPY_HW_I2C2_SDA (pin_B3) // Arduino D3, pin 31 on CN10
#define MICROPY_HW_I2C3_SCL (pin_A8) // Arduino D7, pin 23 on CN10