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

Commit 0136a47

Browse files
committed
Added TOTAL_GPIO_PINS to platform_selector.h
Like it is done in MCBSTM32F400 solution.
1 parent 0cc4869 commit 0136a47

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)