Skip to content

Commit e950fd2

Browse files
ABOSTMfpistm
authored andcommitted
BlackPill F401CC: add USER_BTN on PA0
Note this user button is not available on all revisions of this board Fixes stm32duino#1144 Signed-off-by: Alexandre Bourdiol <[email protected]>
1 parent fbe03bb commit e950fd2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: variants/STM32F4xx/F401CC(F-U-Y)_F401C(B-D-E)(U-Y)/variant_BLACKPILL_F401CC.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@
8181

8282
// On-board user button
8383
#ifndef USER_BTN
84-
#define USER_BTN ND
84+
// User button is not available on all revision of this board
85+
#define USER_BTN PA0
8586
#endif
8687

8788
// SPI definitions

0 commit comments

Comments
 (0)