summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc43xx/Make.defs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-05 22:38:12 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-05 22:38:12 +0000
commit6a40832bcdd0acbfa1aa6b6c93b36dfeab5f4623 (patch)
tree1eeeac080c7d4b884783b573a1a2c7597d44ec0e /nuttx/arch/arm/src/lpc43xx/Make.defs
parent6410d604c730db2e581993ff8854ec7a939a89d5 (diff)
downloadpx4-nuttx-6a40832bcdd0acbfa1aa6b6c93b36dfeab5f4623.tar.gz
px4-nuttx-6a40832bcdd0acbfa1aa6b6c93b36dfeab5f4623.tar.bz2
px4-nuttx-6a40832bcdd0acbfa1aa6b6c93b36dfeab5f4623.zip
Add LPC43 clock initialization logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4910 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lpc43xx/Make.defs')
-rw-r--r--nuttx/arch/arm/src/lpc43xx/Make.defs23
1 files changed, 21 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/lpc43xx/Make.defs b/nuttx/arch/arm/src/lpc43xx/Make.defs
index a6682a272..071a9dd9e 100644
--- a/nuttx/arch/arm/src/lpc43xx/Make.defs
+++ b/nuttx/arch/arm/src/lpc43xx/Make.defs
@@ -58,8 +58,9 @@ CMN_ASRCS += up_fpu.S
endif
CHIP_ASRCS =
-CHIP_CSRCS = lpc43_clrpend.c lpc43_gpio.c lpc43_irq.c lpc43_lowputc.c
-CHIP_CSRCS += lpc43_pinconfig.c lpc43_rgu.c lpc43_start.c lpc43_timerisr.c
+CHIP_CSRCS = lpc43_allocateheap.c lpc43_cgu.c lpc43_clrpend.c lpc43_gpio.c
+CHIP_CSRCS += lpc43_irq.c lpc43_lowputc.c lpc43_pinconfig.c lpc43_rgu.c
+CHIP_CSRCS += lpc43_start.c lpc43_timerisr.c
ifneq ($(CONFIG_IDLE_CUSTOM),y)
CHIP_CSRCS += lpc43_idle.c
@@ -69,6 +70,10 @@ ifeq ($(CONFIG_DEBUG),y)
CHIP_CSRCS += lpc43_debug.c
endif
+ifeq ($(CONFIG_LPC43_GPDMA),y)
+CHIP_CSRCS += lpc43_gpdma.c
+endif
+
ifeq ($(CONFIG_LPC43_SPI),y)
CHIP_CSRCS += lpc43_spi.c
endif
@@ -89,4 +94,18 @@ CHIP_CSRCS += lpc43_i2c.c
endif
endif
+ifeq ($(CONFIG_LPC43_ADC0),y)
+CHIP_CSRCS += lpc43_acc.c
+else
+ifeq ($(CONFIG_LPC43_ADC1),y)
+CHIP_CSRCS += lpc43_adc.c
+endif
+endif
+ifeq ($(CONFIG_LPC43_DAC),y)
+CHIP_CSRCS += lpc43_acc.c
+else
+ifeq ($(CONFIG_LPC43_DAC),y)
+CHIP_CSRCS += lpc43_adc.c
+endif
+endif