EA3152: Rename files for better conformance to naming conventions

This commit is contained in:
Gregory Nutt
2015-03-21 14:18:32 -06:00
parent b9523c623a
commit 8deb619c59
11 changed files with 39 additions and 48 deletions
+19 -19
View File
@@ -35,45 +35,45 @@
-include $(TOPDIR)/Make.defs -include $(TOPDIR)/Make.defs
CFLAGS += -I$(TOPDIR)/sched CFLAGS += -I$(TOPDIR)/sched
ASRCS = ASRCS =
AOBJS = $(ASRCS:.S=$(OBJEXT)) AOBJS = $(ASRCS:.S=$(OBJEXT))
CSRCS = up_boot.c up_clkinit.c CSRCS = lpc31_boot.c lpc31_clkinit.c
ifeq ($(CONFIG_ARCH_BUTTONS),y) ifeq ($(CONFIG_ARCH_BUTTONS),y)
CSRCS += up_buttons.c CSRCS += lpc31_buttons.c
endif endif
ifeq ($(CONFIG_LPC31_EXTDRAM),y) ifeq ($(CONFIG_LPC31_EXTDRAM),y)
CSRCS += up_mem.c CSRCS += lpc31_mem.c
endif endif
ifeq ($(CONFIG_ARCH_LEDS),y) ifeq ($(CONFIG_ARCH_LEDS),y)
CSRCS += up_leds.c CSRCS += lpc31_leds.c
endif endif
ifeq ($(CONFIG_LPC31_SPI),y) ifeq ($(CONFIG_LPC31_SPI),y)
CSRCS += up_spi.c CSRCS += lpc31_spi.c
endif endif
ifeq ($(CONFIG_NSH_ARCHINIT),y) ifeq ($(CONFIG_NSH_ARCHINIT),y)
CSRCS += up_nsh.c CSRCS += lpc31_nsh.c
endif endif
ifeq ($(CONFIG_PAGING),y) ifeq ($(CONFIG_PAGING),y)
CSRCS += up_fillpage.c CSRCS += lpc31_fillpage.c
endif endif
ifeq ($(CONFIG_USBMSC),y) ifeq ($(CONFIG_USBMSC),y)
CSRCS += up_usbmsc.c CSRCS += lpc31_usbmsc.c
endif endif
COBJS = $(CSRCS:.c=$(OBJEXT)) COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS) SRCS = $(ASRCS) $(CSRCS)
OBJS = $(AOBJS) $(COBJS) OBJS = $(AOBJS) $(COBJS)
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}"
else else
CFLAGS += -I$(ARCH_SRCDIR)/chip -I$(ARCH_SRCDIR)/common -I$(ARCH_SRCDIR)/arm CFLAGS += -I$(ARCH_SRCDIR)/chip -I$(ARCH_SRCDIR)/common -I$(ARCH_SRCDIR)/arm
endif endif
all: libboard$(LIBEXT) all: libboard$(LIBEXT)
+5 -7
View File
@@ -1,6 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/ea3152/src/ea3152_internal.h * configs/ea3152/src/ea3152_internal.h
* arch/arm/src/board/ea3152_internal.n
* *
* Copyright (C) 2011 Gregory Nutt. All rights reserved. * Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@@ -48,7 +47,7 @@
#include "lpc31_ioconfig.h" #include "lpc31_ioconfig.h"
/************************************************************************************ /************************************************************************************
* Definitions * Pre-processor Definitions
************************************************************************************/ ************************************************************************************/
/* EA3152L GPIOs ********************************************************************/ /* EA3152L GPIOs ********************************************************************/
@@ -87,7 +86,7 @@
************************************************************************************/ ************************************************************************************/
#ifdef CONFIG_LPC31_EXTDRAM #ifdef CONFIG_LPC31_EXTDRAM
extern void lpc31_meminitialize(void); void lpc31_meminitialize(void);
#endif #endif
/************************************************************************************ /************************************************************************************
@@ -98,7 +97,7 @@ extern void lpc31_meminitialize(void);
* *
************************************************************************************/ ************************************************************************************/
extern void weak_function lpc31_spiinitialize(void); void weak_function lpc31_spiinitialize(void);
/************************************************************************************ /************************************************************************************
* Name: lpc31_usbinitialize * Name: lpc31_usbinitialize
@@ -108,7 +107,7 @@ extern void weak_function lpc31_spiinitialize(void);
* *
************************************************************************************/ ************************************************************************************/
extern void weak_function lpc31_usbinitialize(void); void weak_function lpc31_usbinitialize(void);
/************************************************************************************ /************************************************************************************
* Name: lpc31_pginitialize * Name: lpc31_pginitialize
@@ -119,9 +118,8 @@ extern void weak_function lpc31_usbinitialize(void);
************************************************************************************/ ************************************************************************************/
#ifdef CONFIG_PAGING #ifdef CONFIG_PAGING
extern void weak_function lpc31_pginitialize(void); void weak_function lpc31_pginitialize(void);
#endif #endif
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
#endif /* __CONFIGS_EA3152_SRC_EA3152_INTERNAL_H */ #endif /* __CONFIGS_EA3152_SRC_EA3152_INTERNAL_H */
@@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/ea3152/src/up_boot.c * configs/ea3152/src/lpc31_boot.c
* *
* Copyright (C) 2011, 2015 Gregory Nutt. All rights reserved. * Copyright (C) 2011, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/ea3152/src/up_leds.c * configs/ea3152/src/lpc31_buttons.c
* *
* Copyright (C) 2011, 2014-2015 Gregory Nutt. All rights reserved. * Copyright (C) 2011, 2014-2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@@ -1,6 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/ea3152/src/up_clkinit.c * configs/ea3152/src/lpc31_clkinit.c
* arch/arm/src/board/up_clkinit.c
* *
* Copyright (C) 2011 Gregory Nutt. All rights reserved. * Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@@ -48,7 +47,7 @@
#include "lpc31_cgudrvr.h" #include "lpc31_cgudrvr.h"
/**************************************************************************** /****************************************************************************
* Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/* Sub-domain Clock Bitsets *************************************************/ /* Sub-domain Clock Bitsets *************************************************/
@@ -429,7 +428,6 @@ const struct lpc31_clkinit_s g_boardclks =
#endif #endif
}; };
/**************************************************************************** /****************************************************************************
* Private Functions * Private Functions
****************************************************************************/ ****************************************************************************/
@@ -1,6 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/ea3152/src/up_fillpage.c * configs/ea3152/src/lpc31_fillpage.c
* arch/arm/src/board/up_fillpage.c
* *
* Copyright (C) 2011, 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2011, 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@@ -70,7 +69,7 @@
#endif #endif
/**************************************************************************** /****************************************************************************
* Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/* Configuration ************************************************************/ /* Configuration ************************************************************/
@@ -391,7 +390,7 @@ static inline void lpc31_initsrc(void)
* *
* Assumptions: * Assumptions:
* - This function is called from the normal tasking context (but * - This function is called from the normal tasking context (but
* interrupts siabled). The implementation must take whatever actions * interrupts disabled). The implementation must take whatever actions
* are necessary to assure that the operation is safe within this context. * are necessary to assure that the operation is safe within this context.
* - Upon return, the caller will sleep waiting for the page fill callback * - Upon return, the caller will sleep waiting for the page fill callback
* to occur. The callback function will perform the wakeup. * to occur. The callback function will perform the wakeup.
@@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/ea3152/src/up_leds.c * configs/ea3152/src/lpc31_leds.c
* *
* Copyright (C) 2011, 2013, 2015 Gregory Nutt. All rights reserved. * Copyright (C) 2011, 2013, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@@ -52,7 +52,7 @@
#include "lpc31_internal.h" #include "lpc31_internal.h"
/**************************************************************************** /****************************************************************************
* Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/* CONFIG_DEBUG_LEDS enables debug output from this file (needs CONFIG_DEBUG /* CONFIG_DEBUG_LEDS enables debug output from this file (needs CONFIG_DEBUG
@@ -1,6 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/ea3152/src/up_mem.c * configs/ea3152/src/lpc31_mem.c
* arch/arm/src/board/up_mem.c
* *
* Copyright (C) 2011 Gregory Nutt. All rights reserved. * Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@@ -1,6 +1,5 @@
/**************************************************************************** /****************************************************************************
* config/ea3152/src/up_nsh.c * config/ea3152/src/lpc31_nsh.c
* arch/arm/src/board/up_nsh.c
* *
* Copyright (C) 2011 Gregory Nutt. All rights reserved. * Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@@ -1,6 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/ea3152/src/up_spi.c * configs/ea3152/src/lpc31_spi.c
* arch/arm/src/board/up_spi.c
* *
* Copyright (C) 2011 Gregory Nutt. All rights reserved. * Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@@ -57,7 +56,7 @@
* in arch/arm/src/lpc31xx */ * in arch/arm/src/lpc31xx */
/************************************************************************************ /************************************************************************************
* Definitions * Pre-processor Definitions
************************************************************************************/ ************************************************************************************/
/* Enables debug output from this file (needs CONFIG_DEBUG too) */ /* Enables debug output from this file (needs CONFIG_DEBUG too) */
@@ -139,4 +138,3 @@ uint8_t lpc31_spistatus(FAR struct spi_dev_s *dev, enum spi_dev_e devid)
#endif /* 0 */ #endif /* 0 */
#endif /* CONFIG_LPC31_SPI */ #endif /* CONFIG_LPC31_SPI */
@@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/ea3152/src/up_usbmsc.c * configs/ea3152/src/lpc31_usbmsc.c
* *
* Copyright (C) 2011, 2015 Gregory Nutt. All rights reserved. * Copyright (C) 2011, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@@ -52,7 +52,7 @@
#include <nuttx/fs/ramdisk.h> #include <nuttx/fs/ramdisk.h>
/**************************************************************************** /****************************************************************************
* Pre-Processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/* Configuration ************************************************************/ /* Configuration ************************************************************/