summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lm3s/lm3s_gpio.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-09-03 15:14:28 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-09-03 15:14:28 +0000
commit5fd4464082c064fc73e0b160c7779cf1564056c5 (patch)
tree2d6a729efc5e9ca591d7f8ffd3178cc94fbbe3c3 /nuttx/arch/arm/src/lm3s/lm3s_gpio.c
parent8ca0ad330fc52787466a638e93707829ce748672 (diff)
downloadpx4-nuttx-5fd4464082c064fc73e0b160c7779cf1564056c5.tar.gz
px4-nuttx-5fd4464082c064fc73e0b160c7779cf1564056c5.tar.bz2
px4-nuttx-5fd4464082c064fc73e0b160c7779cf1564056c5.zip
Add LM3S8962 support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2914 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lm3s/lm3s_gpio.c')
-rw-r--r--nuttx/arch/arm/src/lm3s/lm3s_gpio.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/nuttx/arch/arm/src/lm3s/lm3s_gpio.c b/nuttx/arch/arm/src/lm3s/lm3s_gpio.c
index db88343ee..a57b792ab 100644
--- a/nuttx/arch/arm/src/lm3s/lm3s_gpio.c
+++ b/nuttx/arch/arm/src/lm3s/lm3s_gpio.c
@@ -147,13 +147,13 @@ static const uint32_t g_gpiobase[LM3S_NPORTS] =
LM3S_GPIOA_BASE, LM3S_GPIOB_BASE, LM3S_GPIOC_BASE, LM3S_GPIOD_BASE,
LM3S_GPIOE_BASE, LM3S_GPIOF_BASE, LM3S_GPIOG_BASE,
- /* GPIOH exists on the LM3S6918 and th LM3S6B96, but not on the LM3S6965 */
+ /* GPIOH exists on the LM3S6918 and th LM3S6B96, but not on the LM3S6965 or LM3S8962*/
#if LM3S_NPORTS > 7
LM3S_GPIOH_BASE,
#endif
- /* GPIOJ exists on the LM3S6B96, but not on the LM3S6918 or LM3S6965 */
+ /* GPIOJ exists on the LM3S6B96, but not on the LM3S6918 or LM3S6965 or LM3S8962*/
#if LM3S_NPORTS > 8
LM3S_GPIOJ_BASE,
@@ -850,4 +850,5 @@ bool lm3s_gpioread(uint32_t pinset, bool value)
*/
return (getreg32(base + LM3S_GPIO_DATA_OFFSET + (1 << (pinno + 2))) != 0);
-} \ No newline at end of file
+}
+