Skip to content

Commit fe26d9b

Browse files
committed
variant(wb55): fix swapped STeaMi P19 and P20 pins
On the board schematic, PC0 is I2C3_SCL_EDGE and goes to the P19 edge contact, and PC1 is I2C3_SDA_EDGE and goes to P20, as on the micro:bit edge connector (P19 = SCL, P20 = SDA). The variant .cpp already says "PC_0, // P19/D17" and "PC_1, // P20/D18", and I2C_EXT_SCL/I2C_EXT_SDA are right, but the P19 and P20 aliases were swapped. Signed-off-by: Sébastien Nedjar <sebastien.nedjar@univ-amu.fr>
1 parent 373573a commit fe26d9b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎variants/STM32WBxx/WB55R(C-E-G)V/variant_STEAM32_WB55RG.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@
115115
#define P14 PB14
116116
#define P15 PB15
117117
#define P16 PE4
118-
#define P19 PC1
119-
#define P20 PC0
118+
#define P19 PC0
119+
#define P20 PC1
120120
#define P24 GPIO3
121121
#define P25 GPIO4
122122
#define P28 GPIO1

0 commit comments

Comments
 (0)