Skip to content

Commit bc00769

Browse files
committed
BlackPill F401CC: add USER_BTN on PA0
Note this user buuton is not available on all revisions of this board Fixes stm32duino#1144 Signed-off-by: Alexandre Bourdiol <[email protected]>
1 parent 5d9af9d commit bc00769

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: variants/STM32F4xx/F401C(B-C)_F401C(D-E)_F401CCFx/variant_BLACKPILL_F401CC.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@
8888

8989
// On-board user button
9090
#ifndef USER_BTN
91-
#define USER_BTN ND
91+
// User button is not available on all revision of this board
92+
#define USER_BTN PA0
9293
#endif
9394

9495
// SPI definitions

0 commit comments

Comments
 (0)