From 9f331c4e5b05657516a1d634da9e38758d82c601 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 21 Dec 2011 15:50:06 +0000 Subject: Add the beginning of an STM32 CAN driver git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4209 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/arch/arm/src/lpc17xx/Make.defs | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'nuttx/arch/arm/src/lpc17xx') diff --git a/nuttx/arch/arm/src/lpc17xx/Make.defs b/nuttx/arch/arm/src/lpc17xx/Make.defs index 34591e531..56aef87fd 100755 --- a/nuttx/arch/arm/src/lpc17xx/Make.defs +++ b/nuttx/arch/arm/src/lpc17xx/Make.defs @@ -2,7 +2,7 @@ # arch/arm/src/lpc17xx/Make.defs # # Copyright (C) 2010-2011 Gregory Nutt. All rights reserved. -# Author: Gregory Nutt +# Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions @@ -57,10 +57,9 @@ endif # Required LPC17xx files CHIP_ASRCS = -CHIP_CSRCS = lpc17_allocateheap.c lpc17_can.c lpc17_clockconfig.c \ - lpc17_clrpend.c lpc17_gpio.c lpc17_i2c.c lpc17_idle.c lpc17_irq.c \ - lpc17_lowputc.c lpc17_serial.c lpc17_spi.c lpc17_ssp.c lpc17_start.c \ - lpc17_timerisr.c +CHIP_CSRCS = lpc17_allocateheap.c lpc17_clockconfig.c lpc17_clrpend.c \ + lpc17_gpio.c lpc17_i2c.c lpc17_idle.c lpc17_irq.c lpc17_lowputc.c \ + lpc17_serial.c lpc17_spi.c lpc17_ssp.c lpc17_start.c lpc17_timerisr.c # Configuration-dependent LPC17xx files @@ -90,6 +89,10 @@ CHIP_CSRCS += lpc17_ethernet.c endif endif +ifeq ($(CONFIG_CAN),y) +CHIP_CSRCS += lpc17_can.c +endif + ifeq ($(CONFIG_LPC17_ADC),y) CHIP_CSRCS += lpc17_adc.c endif -- cgit v1.2.3