summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-02-05 17:58:17 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-02-05 17:58:17 -0600
commit7e9b03ff1e01cd18424d0301d1f90f374e9a23cf (patch)
tree76e3ef641b819aaf85aa117dcfa0cbb1dd369fa3
parent13779aa214b038f7865556b20fedb85ca2b1a696 (diff)
downloadpx4-nuttx-7e9b03ff1e01cd18424d0301d1f90f374e9a23cf.tar.gz
px4-nuttx-7e9b03ff1e01cd18424d0301d1f90f374e9a23cf.tar.bz2
px4-nuttx-7e9b03ff1e01cd18424d0301d1f90f374e9a23cf.zip
tmv4c123g-launchpad: Add Tiva ADC support to the TM4C123G-Launchpad. From Calvin Maguranis.
-rw-r--r--nuttx/configs/tm4c123g-launchpad/src/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/nuttx/configs/tm4c123g-launchpad/src/Makefile b/nuttx/configs/tm4c123g-launchpad/src/Makefile
index 0cb7605a0..585669af7 100644
--- a/nuttx/configs/tm4c123g-launchpad/src/Makefile
+++ b/nuttx/configs/tm4c123g-launchpad/src/Makefile
@@ -1,7 +1,7 @@
############################################################################
# configs/tm4c123g-launchpad/src/Makefile
#
-# Copyright (C) 2014 Gregory Nutt. All rights reserved.
+# Copyright (C) 2014-2015 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -53,6 +53,10 @@ ifeq ($(CONFIG_TIVA_TIMER),y)
CSRCS += tm4c_timer.c
endif
+ifeq ($(CONFIG_TIVA_ADC),y)
+CHIP_CSRCS += tm4c_adc.c
+endif
+
ifeq ($(CONFIG_MTD_AT24XX),y)
ifeq ($(CONFIG_TIVA_I2C0),y)
CSRCS += tm4c_at24.c