summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-02-05 18:01:18 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-02-05 18:01:18 -0600
commit96e8334a10362689b81db1fe3fabfc5a0b52625a (patch)
tree03e391002de4534d0e71ec876fb546783b405f67
parent7e9b03ff1e01cd18424d0301d1f90f374e9a23cf (diff)
downloadpx4-nuttx-96e8334a10362689b81db1fe3fabfc5a0b52625a.tar.gz
px4-nuttx-96e8334a10362689b81db1fe3fabfc5a0b52625a.tar.bz2
px4-nuttx-96e8334a10362689b81db1fe3fabfc5a0b52625a.zip
Tiva ADC: Partial build support. Still missing Kconfg changes
-rw-r--r--nuttx/arch/arm/src/tiva/Make.defs4
-rw-r--r--nuttx/arch/arm/src/tiva/chip.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/tiva/Make.defs b/nuttx/arch/arm/src/tiva/Make.defs
index fc43be234..a3f3c68a1 100644
--- a/nuttx/arch/arm/src/tiva/Make.defs
+++ b/nuttx/arch/arm/src/tiva/Make.defs
@@ -103,6 +103,10 @@ CHIP_CSRCS += tiva_timerlow32.c
endif
endif
+ifeq ($(CONFIG_TIVA_ADC),y)
+CHIP_CSRCS += tiva_adc.c
+endif
+
ifeq ($(CONFIG_NET),y)
ifeq ($(CONFIG_ARCH_CHIP_LM3S),y)
CHIP_CSRCS += lm3s_ethernet.c
diff --git a/nuttx/arch/arm/src/tiva/chip.h b/nuttx/arch/arm/src/tiva/chip.h
index 3195ac77c..622ac3c13 100644
--- a/nuttx/arch/arm/src/tiva/chip.h
+++ b/nuttx/arch/arm/src/tiva/chip.h
@@ -54,6 +54,7 @@
#include "chip/tiva_ethernet.h" /* Ethernet MAC and PHY */
#include "chip/tiva_flash.h" /* FLASH */
#include "chip/tiva_timer.h" /* Timer */
+#include "chip/tiva_adc.h" /* ADC */
/************************************************************************************
* Pre-processor Definitions