Skip to content
This repository was archived by the owner on Jun 5, 2019. It is now read-only.

Commit 44ece91

Browse files
committed
Merge pull request #205 from cw2/issue-204-stm32f4disco0-total-gpio-pins
Added TOTAL_GPIO_PINS to platform_selector.h
2 parents 0cc4869 + 0136a47 commit 44ece91

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Solutions/STM32F4DISCOVERY/platform_selector.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@
7878
#define RTSPROTECTRESISTOR RESISTOR_DISABLED
7979

8080
#define TOTAL_GPIO_PORT 9 // PA - PI
81+
#define TOTAL_GPIO_PINS (TOTAL_GPIO_PORT*16)
82+
8183
#define INSTRUMENTATION_H_GPIO_PIN GPIO_PIN_NONE
8284

8385
#define TOTAL_USART_PORT 7 // ITM0 + 6 physical UARTS

0 commit comments

Comments
 (0)