Skip to content

Commit 0847b47

Browse files
committed
fix(wb55): remove IO Expanders pins definition
1 parent 19be215 commit 0847b47

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

Diff for: variants/STM32WBxx/WB55R(C-E-G)V/variant_STEAM32_WB55RG.h

+13-12
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,16 @@
7070
// GPIO expander
7171
// Not used by Arduino only here for documentation purpose
7272
// Upper pad
73-
#define GPIO1 44 // P28
74-
#define GPIO2 45 // P29
75-
#define GPIO3 46 // P24
76-
#define GPIO4 47 // P25
73+
// GPIO1 --> P28
74+
// GPIO2 --> P29
75+
// GPIO3 --> P24
76+
// GPIO4 --> P25
7777

7878
// 4 directions switches
79-
#define GPIO5 48
80-
#define GPIO6 49
81-
#define GPIO7 50
82-
#define GPIO8 51
79+
// GPIO5
80+
// GPIO6
81+
// GPIO7
82+
// GPIO8
8383

8484
// STeaMi's PinName
8585
#define ACTIVATE_3V3_STLINK PB2
@@ -157,11 +157,12 @@
157157
// On-board user button
158158
#define A_BUTTON PA7
159159
#define B_BUTTON PA8
160-
#define DOWN_BUTTON GPIO6
161-
#define LEFT_BUTTON GPIO7
162160
#define MENU_BUTTON PA0
163-
#define RIGHT_BUTTON GPIO5
164-
#define UP_BUTTON GPIO8
161+
162+
// DOWN_BUTTON --> GPIO6
163+
// LEFT_BUTTON --> GPIO7
164+
// RIGHT_BUTTON --> GPIO5
165+
// UP_BUTTON --> GPIO8
165166

166167
#ifndef USER_BTN
167168
#define USER_BTN MENU_BUTTON

0 commit comments

Comments
 (0)