MCU-123 LPC2148: Rename files for better conformance to naming conventions

This commit is contained in:
Gregory Nutt 2015-03-21 14:28:58 -06:00
parent 4be89aa031
commit 18d145f8df
6 changed files with 25 additions and 27 deletions

View File

@ -35,38 +35,38 @@
-include $(TOPDIR)/Make.defs -include $(TOPDIR)/Make.defs
ARCH_SRCDIR = $(TOPDIR)/arch/$(CONFIG_ARCH)/src ARCH_SRCDIR = $(TOPDIR)/arch/$(CONFIG_ARCH)/src
ifeq ($(WINTOOL),y) ifeq ($(WINTOOL),y)
CFLAGS += -I "${shell cygpath -w $(ARCH_SRCDIR)/chip}" \ CFLAGS += -I "${shell cygpath -w $(ARCH_SRCDIR)/chip}" \
-I "${shell cygpath -w $(ARCH_SRCDIR)/common}" \ -I "${shell cygpath -w $(ARCH_SRCDIR)/common}" \
-I "${shell cygpath -w $(ARCH_SRCDIR)/arm}" \ -I "${shell cygpath -w $(ARCH_SRCDIR)/arm}" \
-I "${shell cygpath -w $(ARCH_SRCDIR)/sched}" -I "${shell cygpath -w $(ARCH_SRCDIR)/sched}"
else else
CFLAGS += -I$(ARCH_SRCDIR)/chip -I$(ARCH_SRCDIR)/common -I$(ARCH_SRCDIR)/arm -I$(TOPDIR)/sched CFLAGS += -I$(ARCH_SRCDIR)/chip -I$(ARCH_SRCDIR)/common -I$(ARCH_SRCDIR)/arm -I$(TOPDIR)/sched
endif endif
ASRCS = ASRCS =
AOBJS = $(ASRCS:.S=$(OBJEXT)) AOBJS = $(ASRCS:.S=$(OBJEXT))
CSRCS = up_spi1.c up_leds.c CSRCS = lpc2148_spi1.c lpc2148_leds.c
ifeq ($(CONFIG_NSH_ARCHINIT),y) ifeq ($(CONFIG_NSH_ARCHINIT),y)
CSRCS += up_nsh.c CSRCS += lpc2148_nsh.c
endif endif
ifeq ($(CONFIG_USBMSC),y) ifeq ($(CONFIG_USBMSC),y)
CSRCS += up_usbmsc.c CSRCS += lpc2148_usbmsc.c
endif endif
ifeq ($(CONFIG_USBDEV_COMPOSITE),y) ifeq ($(CONFIG_USBDEV_COMPOSITE),y)
CSRCS += up_composite.c CSRCS += lpc2148_composite.c
endif endif
COBJS = $(CSRCS:.c=$(OBJEXT)) COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS) SRCS = $(ASRCS) $(CSRCS)
OBJS = $(AOBJS) $(COBJS) OBJS = $(AOBJS) $(COBJS)
CFLAGS += -I $(TOPDIR)/arch/$(CONFIG_ARCH)/src CFLAGS += -I $(TOPDIR)/arch/$(CONFIG_ARCH)/src
all: libboard$(LIBEXT) all: libboard$(LIBEXT)

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/mcu123-lpc214x/src/up_composite.c * configs/mcu123-lpc214x/src/lpc2148_composite.c
* *
* Copyright (C) 2012 Gregory Nutt. All rights reserved. * Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -50,7 +50,7 @@
#include <nuttx/usb/composite.h> #include <nuttx/usb/composite.h>
/**************************************************************************** /****************************************************************************
* Pre-Processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/* Configuration ************************************************************/ /* Configuration ************************************************************/

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/mcu123-lpc214x/src/up_leds.c * configs/mcu123-lpc214x/src/lpc2148_leds.c
* *
* Copyright (C) 2007-2009, 2015 Gregory Nutt. All rights reserved. * Copyright (C) 2007-2009, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,6 +1,5 @@
/**************************************************************************** /****************************************************************************
* config/mcu123-lpc214x/src/up_nsh.c * config/mcu123-lpc214x/src/lpc2148_nsh.c
* arch/arm/src/board/up_nsh.c
* *
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -48,7 +47,7 @@
#include <nuttx/mmcsd.h> #include <nuttx/mmcsd.h>
/**************************************************************************** /****************************************************************************
* Pre-Processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/* Configuration ************************************************************/ /* Configuration ************************************************************/

View File

@ -1,6 +1,5 @@
/**************************************************************************** /****************************************************************************
* config/mcu123-lpc214x/src/up_spi1.c * config/mcu123-lpc214x/src/lpc2148_spi1.c
* arch/arm/src/board/up_spi1.c
* *
* Copyright (C) 2008-2010, 2012 Gregory Nutt. All rights reserved. * Copyright (C) 2008-2010, 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -82,7 +81,7 @@
#include "lpc214x_spi.h" #include "lpc214x_spi.h"
/**************************************************************************** /****************************************************************************
* Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/* Enables debug output from this file */ /* Enables debug output from this file */

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/mcu123-lpc214x/src/up_usbmsc.c * configs/mcu123-lpc214x/src/lpc2148_usbmsc.c
* *
* Copyright (C) 2008-2010 Gregory Nutt. All rights reserved. * Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -49,7 +49,7 @@
#include <nuttx/mmcsd.h> #include <nuttx/mmcsd.h>
/**************************************************************************** /****************************************************************************
* Pre-Processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/* Configuration ************************************************************/ /* Configuration ************************************************************/