diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-03-21 10:29:46 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-03-21 10:29:46 -0600 |
commit | 832024a7a5cba62c58f5f049eaa8d6606c63bad6 (patch) | |
tree | f71799abf1f5e0a5354857fbba2df6b966b1add8 /nuttx | |
parent | 5bc024fdf6f8c21c164c6de5790c0c4d1d915d33 (diff) | |
download | px4-nuttx-832024a7a5cba62c58f5f049eaa8d6606c63bad6.tar.gz px4-nuttx-832024a7a5cba62c58f5f049eaa8d6606c63bad6.tar.bz2 px4-nuttx-832024a7a5cba62c58f5f049eaa8d6606c63bad6.zip |
LPCXpresso LPC1768: Rename files for better conformance to naming conventions
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/configs/lpcxpresso-lpc1768/src/Makefile | 30 | ||||
-rw-r--r-- | nuttx/configs/lpcxpresso-lpc1768/src/lpc17_adc.c (renamed from nuttx/configs/lpcxpresso-lpc1768/src/up_adc.c) | 7 | ||||
-rw-r--r-- | nuttx/configs/lpcxpresso-lpc1768/src/lpc17_boot.c (renamed from nuttx/configs/lpcxpresso-lpc1768/src/up_boot.c) | 2 | ||||
-rw-r--r-- | nuttx/configs/lpcxpresso-lpc1768/src/lpc17_dac.c (renamed from nuttx/configs/lpcxpresso-lpc1768/src/up_dac.c) | 5 | ||||
-rw-r--r-- | nuttx/configs/lpcxpresso-lpc1768/src/lpc17_leds.c (renamed from nuttx/configs/lpcxpresso-lpc1768/src/up_leds.c) | 4 | ||||
-rw-r--r-- | nuttx/configs/lpcxpresso-lpc1768/src/lpc17_nsh.c (renamed from nuttx/configs/lpcxpresso-lpc1768/src/up_nsh.c) | 5 | ||||
-rw-r--r-- | nuttx/configs/lpcxpresso-lpc1768/src/lpc17_oled.c (renamed from nuttx/configs/lpcxpresso-lpc1768/src/up_oled.c) | 5 | ||||
-rw-r--r-- | nuttx/configs/lpcxpresso-lpc1768/src/lpc17_pwm.c (renamed from nuttx/configs/lpcxpresso-lpc1768/src/up_pwm.c) | 4 | ||||
-rw-r--r-- | nuttx/configs/lpcxpresso-lpc1768/src/lpc17_ssp.c (renamed from nuttx/configs/lpcxpresso-lpc1768/src/up_ssp.c) | 5 | ||||
-rw-r--r-- | nuttx/configs/lpcxpresso-lpc1768/src/lpc17_usbmsc.c (renamed from nuttx/configs/lpcxpresso-lpc1768/src/up_usbmsc.c) | 4 | ||||
-rw-r--r-- | nuttx/configs/lpcxpresso-lpc1768/src/lpcxpresso_internal.h | 3 |
11 files changed, 34 insertions, 40 deletions
diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/Makefile b/nuttx/configs/lpcxpresso-lpc1768/src/Makefile index 5bdf9459e..8b4e04684 100644 --- a/nuttx/configs/lpcxpresso-lpc1768/src/Makefile +++ b/nuttx/configs/lpcxpresso-lpc1768/src/Makefile @@ -35,36 +35,36 @@ -include $(TOPDIR)/Make.defs -CFLAGS += -I$(TOPDIR)/sched +CFLAGS += -I$(TOPDIR)/sched -ASRCS = -CSRCS = up_boot.c up_leds.c up_ssp.c up_adc.c up_dac.c up_pwm.c +ASRCS = +CSRCS = lpc17_boot.c lpc17_leds.c lpc17_ssp.c lpc17_adc.c lpc17_dac.c lpc17_pwm.c ifeq ($(CONFIG_NSH_ARCHINIT),y) -CSRCS += up_nsh.c +CSRCS += lpc17_nsh.c endif ifeq ($(CONFIG_NX_LCDDRIVER),y) -CSRCS += up_oled.c +CSRCS += lpc17_oled.c endif ifeq ($(CONFIG_USBMSC),y) -CSRCS += up_usbmsc.c +CSRCS += lpc17_usbmsc.c endif -AOBJS = $(ASRCS:.S=$(OBJEXT)) -COBJS = $(CSRCS:.c=$(OBJEXT)) +AOBJS = $(ASRCS:.S=$(OBJEXT)) +COBJS = $(CSRCS:.c=$(OBJEXT)) -SRCS = $(ASRCS) $(CSRCS) -OBJS = $(AOBJS) $(COBJS) +SRCS = $(ASRCS) $(CSRCS) +OBJS = $(AOBJS) $(COBJS) -ARCH_SRCDIR = $(TOPDIR)/arch/$(CONFIG_ARCH)/src +ARCH_SRCDIR = $(TOPDIR)/arch/$(CONFIG_ARCH)/src ifeq ($(WINTOOL),y) - CFLAGS += -I "${shell cygpath -w $(ARCH_SRCDIR)/chip}" \ - -I "${shell cygpath -w $(ARCH_SRCDIR)/common}" \ - -I "${shell cygpath -w $(ARCH_SRCDIR)/armv7-m}" + CFLAGS += -I "${shell cygpath -w $(ARCH_SRCDIR)/chip}" \ + -I "${shell cygpath -w $(ARCH_SRCDIR)/common}" \ + -I "${shell cygpath -w $(ARCH_SRCDIR)/armv7-m}" else - CFLAGS += -I$(ARCH_SRCDIR)/chip -I$(ARCH_SRCDIR)/common -I$(ARCH_SRCDIR)/armv7-m + CFLAGS += -I$(ARCH_SRCDIR)/chip -I$(ARCH_SRCDIR)/common -I$(ARCH_SRCDIR)/armv7-m endif all: libboard$(LIBEXT) diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/up_adc.c b/nuttx/configs/lpcxpresso-lpc1768/src/lpc17_adc.c index cb5b296b9..3b361d644 100644 --- a/nuttx/configs/lpcxpresso-lpc1768/src/up_adc.c +++ b/nuttx/configs/lpcxpresso-lpc1768/src/lpc17_adc.c @@ -1,11 +1,10 @@ /************************************************************************************ - * configs/lpcexpresso-1768/src/up_adc.c - * arch/arm/src/board/up_adc.c + * configs/lpcexpresso-1768/src/lpc17_adc.c * * Copyright (C) 2013 Zilogic Systems. All rights reserved. * Author: Kannan <code@nuttx.org> * - * Based on configs/stm3220g-eval/src/up_adc.c + * Based on configs/stm3220g-eval/src/lpc17_adc.c * * Copyright (C) 2012, 2014 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> @@ -60,7 +59,7 @@ #ifdef CONFIG_ADC /************************************************************************************ - * Definitions + * Pre-processor Definitions ************************************************************************************/ /************************************************************************************ diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/up_boot.c b/nuttx/configs/lpcxpresso-lpc1768/src/lpc17_boot.c index beed75f80..2fedae933 100644 --- a/nuttx/configs/lpcxpresso-lpc1768/src/up_boot.c +++ b/nuttx/configs/lpcxpresso-lpc1768/src/lpc17_boot.c @@ -1,5 +1,5 @@ /************************************************************************************ - * configs/lpcxpresso-lpc1768/src/up_boot.c + * configs/lpcxpresso-lpc1768/src/lpc17_boot.c * * Copyright (C) 2011, 2015 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/up_dac.c b/nuttx/configs/lpcxpresso-lpc1768/src/lpc17_dac.c index 9b54bea18..f27c4edf6 100644 --- a/nuttx/configs/lpcxpresso-lpc1768/src/up_dac.c +++ b/nuttx/configs/lpcxpresso-lpc1768/src/lpc17_dac.c @@ -1,11 +1,10 @@ /************************************************************************************ - * configs/zkit-arm-1769/src/up_dac.c - * arch/arm/src/board/up_dac.c + * configs/zkit-arm-1769/src/lpc17_dac.c * * Copyright (C) 2013 Zilogic Systems. All rights reserved. * Author: Kannan <code@nuttx.org> * - * Based on configs/stm3220g-eval/src/up_dac.c + * Based on configs/stm3220g-eval/src/lpc17_dac.c * * Copyright (C) 2012, 2014 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/up_leds.c b/nuttx/configs/lpcxpresso-lpc1768/src/lpc17_leds.c index dd5e9de97..d8ef712d5 100644 --- a/nuttx/configs/lpcxpresso-lpc1768/src/up_leds.c +++ b/nuttx/configs/lpcxpresso-lpc1768/src/lpc17_leds.c @@ -1,5 +1,5 @@ /**************************************************************************** - * configs/lpcxpresso-lpc1768/src/up_leds.c + * configs/lpcxpresso-lpc1768/src/lpc17_leds.c * * Copyright (C) 2011, 2013, 2015 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> @@ -53,7 +53,7 @@ #ifdef CONFIG_ARCH_LEDS /**************************************************************************** - * Definitions + * Pre-processor Definitions ****************************************************************************/ /* CONFIG_DEBUG_LEDS enables debug output from this file (needs CONFIG_DEBUG diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/up_nsh.c b/nuttx/configs/lpcxpresso-lpc1768/src/lpc17_nsh.c index 93cb3c0b2..3ebc486ad 100644 --- a/nuttx/configs/lpcxpresso-lpc1768/src/up_nsh.c +++ b/nuttx/configs/lpcxpresso-lpc1768/src/lpc17_nsh.c @@ -1,6 +1,5 @@ /**************************************************************************** - * config/lpcxpresso-lpc1768/src/up_nsh.c - * arch/arm/src/board/up_nsh.c + * config/lpcxpresso-lpc1768/src/lpc17_nsh.c * * Copyright (C) 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> @@ -48,7 +47,7 @@ #include <nuttx/mmcsd.h> /**************************************************************************** - * Pre-Processor Definitions + * Pre-processor Definitions ****************************************************************************/ /* Configuration ************************************************************/ diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/up_oled.c b/nuttx/configs/lpcxpresso-lpc1768/src/lpc17_oled.c index a91473983..01692b65b 100644 --- a/nuttx/configs/lpcxpresso-lpc1768/src/up_oled.c +++ b/nuttx/configs/lpcxpresso-lpc1768/src/lpc17_oled.c @@ -1,6 +1,5 @@ /**************************************************************************** - * config/lpcxpresso-lpc1768/src/up_oled.c - * arch/arm/src/board/up_oled.c + * config/lpcxpresso-lpc1768/src/lpc17_oled.c * * Copyright (C) 2011, 2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> @@ -53,7 +52,7 @@ #include "lpcxpresso_internal.h" /**************************************************************************** - * Pre-Processor Definitions + * Pre-processor Definitions ****************************************************************************/ /* Configuration ************************************************************/ /* This module is only built if CONFIG_NX_LCDDRIVER is selected. In this diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/up_pwm.c b/nuttx/configs/lpcxpresso-lpc1768/src/lpc17_pwm.c index 88741fd0d..f7235f69b 100644 --- a/nuttx/configs/lpcxpresso-lpc1768/src/up_pwm.c +++ b/nuttx/configs/lpcxpresso-lpc1768/src/lpc17_pwm.c @@ -1,5 +1,5 @@ /************************************************************************************ - * configs/lpcexpresso-lpc1768/up_pwm.c + * configs/lpcexpresso-lpc1768/lpc17_pwm.c * * Copyright (C) 2014 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> @@ -53,7 +53,7 @@ #include "lpcxpresso_internal.h" /************************************************************************************ - * Definitions + * Pre-processor Definitions ************************************************************************************/ #ifdef CONFIG_PWM diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/up_ssp.c b/nuttx/configs/lpcxpresso-lpc1768/src/lpc17_ssp.c index f16bc396c..8f4762a4a 100644 --- a/nuttx/configs/lpcxpresso-lpc1768/src/up_ssp.c +++ b/nuttx/configs/lpcxpresso-lpc1768/src/lpc17_ssp.c @@ -1,6 +1,5 @@ /************************************************************************************ - * configs/lpcxpresso-lpc1768/src/up_ssp.c - * arch/arm/src/board/up_ssp.c + * configs/lpcxpresso-lpc1768/src/lpc17_ssp.c * * Copyright (C) 2011, 2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> @@ -56,7 +55,7 @@ #if defined(CONFIG_LPC17_SSP0) || defined(CONFIG_LPC17_SSP1) /************************************************************************************ - * Definitions + * Pre-processor Definitions ************************************************************************************/ /* Enables debug output from this file (needs CONFIG_DEBUG too) */ diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/up_usbmsc.c b/nuttx/configs/lpcxpresso-lpc1768/src/lpc17_usbmsc.c index 6ece90204..f3ed39898 100644 --- a/nuttx/configs/lpcxpresso-lpc1768/src/up_usbmsc.c +++ b/nuttx/configs/lpcxpresso-lpc1768/src/lpc17_usbmsc.c @@ -1,5 +1,5 @@ /**************************************************************************** - * configs/lpcxpresso-lpc1768/src/up_usbmsc.c + * configs/lpcxpresso-lpc1768/src/lpc17_usbmsc.c * * Copyright (C) 2011, 2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> @@ -49,7 +49,7 @@ #include <nuttx/mmcsd.h> /**************************************************************************** - * Pre-Processor Definitions + * Pre-processor Definitions ****************************************************************************/ /* Configuration ************************************************************/ diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/lpcxpresso_internal.h b/nuttx/configs/lpcxpresso-lpc1768/src/lpcxpresso_internal.h index cf0f9c9a7..d8c85be95 100644 --- a/nuttx/configs/lpcxpresso-lpc1768/src/lpcxpresso_internal.h +++ b/nuttx/configs/lpcxpresso-lpc1768/src/lpcxpresso_internal.h @@ -1,6 +1,5 @@ /************************************************************************************ * configs/lpcxpresso-lpc1768/src/lpcxpresso_internal.h - * arch/arm/src/board/lpcxpresso_internal.n * * Copyright (C) 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> @@ -45,7 +44,7 @@ #include <nuttx/compiler.h> /************************************************************************************ - * Definitions + * Pre-processor Definitions ************************************************************************************/ /* LPCXpresso LPC1768 board pin usage ***********************************************/ |