summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/tiva/tiva_dumpgpio.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-03-10 08:12:35 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-03-10 08:12:35 -0600
commit5d6b2cc6c28dbb8ff7b79657c07e0090af9e467b (patch)
tree685b6d19cde3c39102d6342e57d5eedf2f0c3fcd /nuttx/arch/arm/src/tiva/tiva_dumpgpio.c
parent4fe89c2eb6d5895da7f3017f7f44e48e7892b3b9 (diff)
downloadnuttx-5d6b2cc6c28dbb8ff7b79657c07e0090af9e467b.tar.gz
nuttx-5d6b2cc6c28dbb8ff7b79657c07e0090af9e467b.tar.bz2
nuttx-5d6b2cc6c28dbb8ff7b79657c07e0090af9e467b.zip
Add support for TM4C GPIOs
Diffstat (limited to 'nuttx/arch/arm/src/tiva/tiva_dumpgpio.c')
-rw-r--r--nuttx/arch/arm/src/tiva/tiva_dumpgpio.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/tiva/tiva_dumpgpio.c b/nuttx/arch/arm/src/tiva/tiva_dumpgpio.c
index 40a182be1..d6c562e1e 100644
--- a/nuttx/arch/arm/src/tiva/tiva_dumpgpio.c
+++ b/nuttx/arch/arm/src/tiva/tiva_dumpgpio.c
@@ -89,6 +89,24 @@ static const uintptr_t g_gpiobase[TIVA_NPORTS] =
#if TIVA_NPORTS > 8
, TIVA_GPIOJ_BASE
#endif
+#if TIVA_NPORTS > 9
+ , TIVA_GPIOK_BASE
+#endif
+#if TIVA_NPORTS > 10
+ , TIVA_GPIOL_BASE
+#endif
+#if TIVA_NPORTS > 11
+ , TIVA_GPIOM_BASE
+#endif
+#if TIVA_NPORTS > 12
+ , TIVA_GPION_BASE
+#endif
+#if TIVA_NPORTS > 13
+ , TIVA_GPIOP_BASE
+#endif
+#if TIVA_NPORTS > 14
+ , TIVA_GPIOQ_BASE
+#endif
};
static const char g_portchar[TIVA_NPORTS] =
@@ -120,6 +138,24 @@ static const char g_portchar[TIVA_NPORTS] =
#if TIVA_NPORTS > 8
, 'J'
#endif
+#if TIVA_NPORTS > 9
+ , 'K'
+#endif
+#if TIVA_NPORTS > 10
+ , 'L'
+#endif
+#if TIVA_NPORTS > 11
+ , 'M'
+#endif
+#if TIVA_NPORTS > 12
+ , 'N'
+#endif
+#if TIVA_NPORTS > 13
+ , 'P'
+#endif
+#if TIVA_NPORTS > 14
+ , 'Q'
+#endif
};
/****************************************************************************