aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/boards/stm32f401c_discovery/include/board
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@robocracy.org>2014-05-07 17:08:40 -0400
committerbnewbold <bnewbold@robocracy.org>2015-03-01 21:42:17 -0800
commit5d07a44ad304f088ba2bb680c1842d0a0705b7c6 (patch)
tree25f66bdbef661d07fd78cbc33d9cf64d9ed08eee /wirish/boards/stm32f401c_discovery/include/board
parentea278f5b4364e3124b50ca9fa1f98711764f33e4 (diff)
downloadlibrambutan-5d07a44ad304f088ba2bb680c1842d0a0705b7c6.tar.gz
librambutan-5d07a44ad304f088ba2bb680c1842d0a0705b7c6.zip
stm32f401c_discovery: add support for GPIO port E (up to 80 GPIO)
Also fix comments/indexing for other GPIO ports. Signed-off-by: bryan newbold <bnewbold@robocracy.org>
Diffstat (limited to 'wirish/boards/stm32f401c_discovery/include/board')
-rw-r--r--wirish/boards/stm32f401c_discovery/include/board/board.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/wirish/boards/stm32f401c_discovery/include/board/board.h b/wirish/boards/stm32f401c_discovery/include/board/board.h
index f10ef0a..0a4c830 100644
--- a/wirish/boards/stm32f401c_discovery/include/board/board.h
+++ b/wirish/boards/stm32f401c_discovery/include/board/board.h
@@ -67,7 +67,7 @@
/* Total number of GPIO pins that are broken out to headers and
* intended for use. This includes pins like the LED, button, and
* debug port (JTAG/SWD) pins. */
-#define BOARD_NR_GPIO_PINS 64
+#define BOARD_NR_GPIO_PINS 80
/* Number of pins capable of PWM output. */
#define BOARD_NR_PWM_PINS 5
@@ -100,6 +100,7 @@ enum {
PB0, PB1, PB2, PB3, PB4, PB5, PB6, PB7, PB8, PB9, PB10, PB11, PB12, PB13, PB14, PB15,
PC0, PC1, PC2, PC3, PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15,
PD0, PD1, PD2, PD3, PD4, PD5, PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15,
+ PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7, PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15,
};
#endif