summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lm3s/chip.h
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/chip.h
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/chip.h')
-rw-r--r--nuttx/arch/arm/src/lm3s/chip.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/lm3s/chip.h b/nuttx/arch/arm/src/lm3s/chip.h
index 511b2e378..94bc6ef1a 100644
--- a/nuttx/arch/arm/src/lm3s/chip.h
+++ b/nuttx/arch/arm/src/lm3s/chip.h
@@ -82,6 +82,17 @@
# define LM3S_NPWM 4 /* Four PWM generator modules */
# define LM3S_NQEI 2 /* Two quadrature encoders */
# define LM3S_NPORTS 9 /* 9 Ports (GPIOA-H,J) 0-65 GPIOs */
+#elif defined(CONFIG_ARCH_CHIP_LM3S8962)
+# define LM3S_NTIMERS 4 /* Four general purpose timers */
+# define LM3S_NETHCONTROLLERS 1 /* One Ethernet controller */
+# define LM3S_NSSI 1 /* One SSI module */
+# define LM3S_NUARTS 3 /* Two UART modules */
+# define LM3S_NI2C 2 /* One I2C module */
+# define LM3S_NADC 1 /* One ADC module */
+# define LM2S_NPWM 3 /* Three PWM generator modules */
+# define LM3S_NQEI 2 /* Two quadrature encoders */
+# define LM3S_NPORTS 7 /* 7 Ports (GPIOA-G), 5-42 GPIOs */
+# define LC3S_CANCONTROLLER 1 /* One CAN controller */
#else
# error "Capabilities not specified for this LM3S chip"
#endif