summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/include/tiva/chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/arm/include/tiva/chip.h')
-rw-r--r--nuttx/arch/arm/include/tiva/chip.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/nuttx/arch/arm/include/tiva/chip.h b/nuttx/arch/arm/include/tiva/chip.h
index 5d5de8373..247555229 100644
--- a/nuttx/arch/arm/include/tiva/chip.h
+++ b/nuttx/arch/arm/include/tiva/chip.h
@@ -4,6 +4,7 @@
* Copyright (C) 2009-2010, 2013-2014 Gregory Nutt. All rights reserved.
* Authors: Gregory Nutt <gnutt@nuttx.org>
* Jose Pablo Carballo <jcarballo@nx-engineering.com>
+ * Jim Ewing <jim@droidifi.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -191,6 +192,26 @@
# define TIVA_NPORTS 6 /* Six Ports (GPIOA-F) */
# define TIVA_NCANCONTROLLER 2 /* Two CAN controllers */
# define TIVA_NUSBOTGFS 1 /* One USB 2.0 OTG FS */
+#elif defined(CONFIG_ARCH_CHIP_CC3200)
+# undef LM3S /* Not LM3S family */
+# undef LM4F /* Not LM4F family */
+# define TM4C 1 /* TM4C family */
+# define TIVA_NTIMERS 4 /* Four general purpose timers */
+# define TIVA_NWIDETIMERS 2 /* Two general purpose wide timers */
+# define TIVA_NETHCONTROLLERS 0 /* No Ethernet controller */
+# define TIVA_NSSI 0 /* No SSI module */
+# define TIVA_NUARTS 2 /* Two UART modules */
+# define TIVA_NI2C 2 /* Two I2C modules */
+# define TIVA_NADC 3 /* Three ADC modules */
+# define TIVA_NPWM 0 /* No PWM generator modules */
+# define TIVA_NQEI 0 /* No quadrature encoders */
+# define TIVA_NPORTS 4 /* 4 Ports (GPIOA-D), 0-31 GPIOs */
+# define TIVA_DES 1 /* 1 DES hw crypto */
+# define TIVA_AES 1 /* 1 AES hw crypto */
+# define TIVA_CRC 1 /* 1 CRC hw crypto */
+# define TIVA_SHA 1 /* 1 SHA/MD5 hw crypto */
+# define TIVA_SPI 2 /* Two SPI modules */
+# define TIVA_NCANCONTROLLER 0 /* No CAN controllers */
#else
# error "Capabilities not specified for this TIVA/Stellaris chip"
#endif