diff options
Diffstat (limited to 'nuttx/arch/arm/src/lpc17xx/Make.defs')
-rwxr-xr-x | nuttx/arch/arm/src/lpc17xx/Make.defs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/Make.defs b/nuttx/arch/arm/src/lpc17xx/Make.defs index b5022316f..09204152c 100755 --- a/nuttx/arch/arm/src/lpc17xx/Make.defs +++ b/nuttx/arch/arm/src/lpc17xx/Make.defs @@ -51,13 +51,17 @@ CMN_CSRCS = up_assert.c up_blocktask.c up_copystate.c up_createstack.c \ # Required LPC17xx files CHIP_ASRCS = -CHIP_CSRCS = lpc17_gpio.c lpc17_start.c +CHIP_CSRCS = lpc17_irq.c lpc17_gpio.c lpc17_start.c #CHIP_CSRCS = lpc17_allocateheap.c lpc17_clockconfig.c lpc17_gpioirq.c \ # lpc17_irq.c lpc17_lowputc.c lpc17_gpio.c lpc17_serial.c \ # lpc17_start.c lpc17_timerisr.c # Configuration-dependent LPC17xx files +ifeq ($(CONFIG_GPIO_IRQ),y) +CHIP_CSRCS += lpc17_gpioint.c +endif + ifeq ($(CONFIG_DEBUG),y) CHIP_CSRCS += lpc17_gpiodbg.c endif |