aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcoveeneman <marco-veeneman@hotmail.com>2015-04-14 22:40:24 +0200
committermarcoveeneman <marco-veeneman@hotmail.com>2015-04-14 22:40:24 +0200
commitc6474b882a3e28dabe18a12f27ba1e544e429d5c (patch)
tree2cfc1d435fb5685defb324bd1ba1de26b183ffeb
parent91d9d096736025c31f78ee607e02fccfb3948685 (diff)
downloadChibiOS-Contrib-c6474b882a3e28dabe18a12f27ba1e544e429d5c.tar.gz
ChibiOS-Contrib-c6474b882a3e28dabe18a12f27ba1e544e429d5c.tar.bz2
ChibiOS-Contrib-c6474b882a3e28dabe18a12f27ba1e544e429d5c.zip
Tiva. EXT. Added number of GPIO pins to the registry.
-rw-r--r--os/hal/ports/TIVA/TM4C123x/tiva_registry.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/os/hal/ports/TIVA/TM4C123x/tiva_registry.h b/os/hal/ports/TIVA/TM4C123x/tiva_registry.h
index 09a8c75..04786e0 100644
--- a/os/hal/ports/TIVA/TM4C123x/tiva_registry.h
+++ b/os/hal/ports/TIVA/TM4C123x/tiva_registry.h
@@ -98,6 +98,7 @@
#define TIVA_HAS_GPIOR FALSE
#define TIVA_HAS_GPIOS FALSE
#define TIVA_HAS_GPIOT FALSE
+#define TIVA_GPIO_PINS 56
#endif
#if defined(TM4C1231C3PM) || defined(TM4C1231D5PM) || defined(TM4C1231E6PM) \
|| defined(TM4C1231H6PM) || defined(TM4C1233C3PM) || defined(TM4C1233D5PM) \
@@ -122,6 +123,7 @@
#define TIVA_HAS_GPIOR FALSE
#define TIVA_HAS_GPIOS FALSE
#define TIVA_HAS_GPIOT FALSE
+#define TIVA_GPIO_PINS 48
#endif
#if defined(TM4C1231D5PZ) || defined(TM4C1231E6PZ) || defined(TM4C1231H6PZ) \
|| defined(TM4C1233D5PZ) || defined(TM4C1233E6PZ) || defined(TM4C1233H6PZ) \
@@ -146,6 +148,7 @@
#define TIVA_HAS_GPIOR FALSE
#define TIVA_HAS_GPIOS FALSE
#define TIVA_HAS_GPIOT FALSE
+#define TIVA_GPIO_PINS 88
#endif
#if defined(TM4C1231H6PGE) || defined(TM4C1233H6PGE) || defined(TM4C1237H6PGE)\
|| defined(TM4C123BH6PGE) || defined(TM4C123GH6PGE)
@@ -167,6 +170,7 @@
#define TIVA_HAS_GPIOR FALSE
#define TIVA_HAS_GPIOS FALSE
#define TIVA_HAS_GPIOT FALSE
+#define TIVA_GPIO_PINS 112
#endif
#if defined(TM4C123BH6ZRB) || defined(TM4C123GH6ZRB) || defined(TM4C123GH5ZXR)
#define TIVA_HAS_GPIOA TRUE
@@ -187,6 +191,7 @@
#define TIVA_HAS_GPIOR FALSE
#define TIVA_HAS_GPIOS FALSE
#define TIVA_HAS_GPIOT FALSE
+#define TIVA_GPIO_PINS 120
#endif
/* GPTM attributes.*/