diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-12-21 15:50:06 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-12-21 15:50:06 +0000 |
commit | 9f331c4e5b05657516a1d634da9e38758d82c601 (patch) | |
tree | 43cc8ae1e277c334fbbbb8430ec0aa41903f08ea /nuttx/arch/arm/src/lpc17xx | |
parent | 3f6973a6104b7ea2f4daf52cf2d06b694a7711e7 (diff) | |
download | px4-nuttx-9f331c4e5b05657516a1d634da9e38758d82c601.tar.gz px4-nuttx-9f331c4e5b05657516a1d634da9e38758d82c601.tar.bz2 px4-nuttx-9f331c4e5b05657516a1d634da9e38758d82c601.zip |
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
Diffstat (limited to 'nuttx/arch/arm/src/lpc17xx')
-rwxr-xr-x | nuttx/arch/arm/src/lpc17xx/Make.defs | 13 |
1 files changed, 8 insertions, 5 deletions
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 <spudmonkey@racsa.co.cr> +# Author: Gregory Nutt <gnutt@nuttx.org> # # 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 |