8000 Update BOARD_NR_GPIO_PINS for STM32F103V · Batlapin/Arduino_STM32@42a5e9f · GitHub
[go: up one dir, main page]

Skip to content

Commit 42a5e9f

Browse files
Update BOARD_NR_GPIO_PINS for STM32F103V
This fixes problem caused by rogerclarkmelbourne@951d0ac#diff-3df511e94e3cba57d187bb1322b9f6c6
1 parent 5368d04 commit 42a5e9f

File tree

1 file changed

+3
-2
lines changed
  • STM32F1/variants/generic_stm32f103v/board

1 file changed

+3
-2
lines changed

STM32F1/variants/generic_stm32f103v/board/board.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,9 @@
9090
#define BOARD_SPI3_MOSI_PIN PB5
9191

9292

93-
/* GPIO A to E = 5 * 16 - BOOT1 not used = 79*/
94-
#define BOARD_NR_GPIO_PINS 79
93+
/* GPIO A to E = 5 * 16 = 80*/
94+
/* value is now 80 as boo1 was added via PR to the pinmap but this value was not increased*/
95+
#define BOARD_NR_GPIO_PINS 80
9596
/* Note: NOT 19. The missing one is D38 a.k.a. BOARD_BUTTON_PIN, which
9697
* isn't broken out to a header and is thus unusable for PWM. */
9798
#define BOARD_NR_PWM_PINS 19

0 commit comments

Comments
 (0)
0