PIC32MX7 MMB: Rename files for better conformance to naming conventions

This commit is contained in:
Gregory Nutt
2015-03-21 10:06:33 -06:00
parent 020523e0a4
commit 96e92887d8
11 changed files with 34 additions and 41 deletions
+17 -17
View File
@@ -35,43 +35,43 @@
-include $(TOPDIR)/Make.defs -include $(TOPDIR)/Make.defs
CFLAGS += -I$(TOPDIR)/sched CFLAGS += -I$(TOPDIR)/sched
ASRCS = ASRCS =
CSRCS = up_boot.c up_leds.c up_spi.c up_mio283qt2.c CSRCS = pic32_boot.c pic32_leds.c pic32_spi.c pic32_mio283qt2.c
ifeq ($(CONFIG_PIC32MX_USBDEV),y) ifeq ($(CONFIG_PIC32MX_USBDEV),y)
CSRCS += up_usbdev.c CSRCS += pic32_usbdev.c
ifeq ($(CONFIG_EXAMPLES_USBTERM_DEVINIT),y) ifeq ($(CONFIG_EXAMPLES_USBTERM_DEVINIT),y)
CSRCS += up_usbterm.c CSRCS += pic32_usbterm.c
endif endif
endif endif
ifeq ($(CONFIG_NSH_ARCHINIT),y) ifeq ($(CONFIG_NSH_ARCHINIT),y)
CSRCS += up_nsh.c CSRCS += pic32_nsh.c
endif endif
ifeq ($(CONFIG_USBMSC),y) ifeq ($(CONFIG_USBMSC),y)
CSRCS += up_usbmsc.c CSRCS += pic32_usbmsc.c
endif endif
ifeq ($(CONFIG_INPUT),y) ifeq ($(CONFIG_INPUT),y)
CSRCS += up_touchscreen.c CSRCS += pic32_touchscreen.c
endif endif
AOBJS = $(ASRCS:.S=$(OBJEXT)) AOBJS = $(ASRCS:.S=$(OBJEXT))
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)/mips32}" -I "${shell cygpath -w $(ARCH_SRCDIR)/mips32}"
else else
CFLAGS += -I$(ARCH_SRCDIR)/chip -I$(ARCH_SRCDIR)/common -I$(ARCH_SRCDIR)/mips32 CFLAGS += -I$(ARCH_SRCDIR)/chip -I$(ARCH_SRCDIR)/common -I$(ARCH_SRCDIR)/mips32
endif endif
all: libboard$(LIBEXT) all: libboard$(LIBEXT)
@@ -1,6 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/pic32mx7mmb/src/up_boot.c * configs/pic32mx7mmb/src/pic32_boot.c
* arch/mips/src/board/up_boot.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>
@@ -51,7 +50,7 @@
#include "pic32mx7mmb_internal.h" #include "pic32mx7mmb_internal.h"
/************************************************************************************ /************************************************************************************
* Definitions * Pre-processor Definitions
************************************************************************************/ ************************************************************************************/
/************************************************************************************ /************************************************************************************
@@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/pic32mx7mmb/src/up_leds.c * configs/pic32mx7mmb/src/pic32_leds.c
* *
* Copyright (C) 2012, 2015 Gregory Nutt. All rights reserved. * Copyright (C) 2012, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@@ -1,6 +1,5 @@
/************************************************************************************** /**************************************************************************************
* configs/stm32fdiscover/src/up_mio283qt2.c * configs/stm32fdiscover/src/pic32_mio283qt2.c
* arch/arm/src/board/up_mio283qt2.c
* *
* Interface definition for the MI0283QT-2 LCD from Multi-Inno Technology Co., Ltd. * Interface definition for the MI0283QT-2 LCD from Multi-Inno Technology Co., Ltd.
* This LCD is based on the Himax HX8347-D LCD controller. * This LCD is based on the Himax HX8347-D LCD controller.
@@ -1,6 +1,5 @@
/**************************************************************************** /****************************************************************************
* config/pic32mx7mmb/src/up_nsh.c * config/pic32mx7mmb/src/pic32_nsh.c
* arch/arm/src/board/up_nsh.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>
@@ -53,7 +52,7 @@
#include "pic32mx7mmb_internal.h" #include "pic32mx7mmb_internal.h"
/**************************************************************************** /****************************************************************************
* Pre-Processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/* Configuration ************************************************************/ /* Configuration ************************************************************/
/* Assume that we have MMC/SD, USB host (and USB device) */ /* Assume that we have MMC/SD, USB host (and USB device) */
@@ -1,6 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/pic32mx7mmb/src/up_spi.c * configs/pic32mx7mmb/src/pic32_spi.c
* arch/arm/src/board/up_spi.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>
@@ -56,7 +55,7 @@
defined(CONFIG_PIC32MX_SPI3) || defined(CONFIG_PIC32MX_SPI4) defined(CONFIG_PIC32MX_SPI3) || defined(CONFIG_PIC32MX_SPI4)
/************************************************************************************ /************************************************************************************
* Definitions * Pre-processor Definitions
************************************************************************************/ ************************************************************************************/
/* SPI1 and SD Card /* SPI1 and SD Card
* *
@@ -1,6 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/pic32mx7mmb/src/up_boot.c * configs/pic32mx7mmb/src/pic32_touchscreen.c
* arch/mips/src/board/up_boot.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>
@@ -66,7 +65,7 @@
#ifdef CONFIG_INPUT #ifdef CONFIG_INPUT
/************************************************************************************ /************************************************************************************
* Definitions * Pre-processor Definitions
************************************************************************************/ ************************************************************************************/
/* Configuration ********************************************************************/ /* Configuration ********************************************************************/
/* Reference counting is partially implemented, but not needed in the current design. /* Reference counting is partially implemented, but not needed in the current design.
@@ -1,6 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/pic32mx7mmb/src/up_usbdev.c * configs/pic32mx7mmb/src/pic32_usbdev.c
* arch/arm/src/board/up_usbdev.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>
@@ -51,7 +50,7 @@
#if defined(CONFIG_PIC32MX_USBDEV) #if defined(CONFIG_PIC32MX_USBDEV)
/************************************************************************************ /************************************************************************************
* Definitions * Pre-processor Definitions
************************************************************************************/ ************************************************************************************/
/* /*
* PIN NAME SIGNAL NOTES * PIN NAME SIGNAL NOTES
@@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/pic32mx7mmb/src/up_usbmsc.c * configs/pic32mx7mmb/src/pic32_usbmsc.c
* *
* Copyright (C) 2012, 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2012, 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@@ -42,7 +42,7 @@
#include "pic32mx7mmb_internal.h" #include "pic32mx7mmb_internal.h"
/**************************************************************************** /****************************************************************************
* Pre-Processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/**************************************************************************** /****************************************************************************
@@ -1,6 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/pic32mx7mmb/src/up_usbterm.c * configs/pic32mx7mmb/src/pic32_usbterm.c
* arch/arm/src/board/up_usbterm.c
* *
* Copyright (C) 2012-2013 Gregory Nutt. All rights reserved. * Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@@ -51,7 +50,7 @@
#if defined(CONFIG_PIC32MX_USBDEV) && defined(CONFIG_EXAMPLES_USBTERM_DEVINIT) #if defined(CONFIG_PIC32MX_USBDEV) && defined(CONFIG_EXAMPLES_USBTERM_DEVINIT)
/************************************************************************************ /************************************************************************************
* Definitions * Pre-processor Definitions
************************************************************************************/ ************************************************************************************/
/************************************************************************************ /************************************************************************************
@@ -44,7 +44,7 @@
#include <nuttx/compiler.h> #include <nuttx/compiler.h>
/**************************************************************************** /****************************************************************************
* Pre-Processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/* Configuration ************************************************************/ /* Configuration ************************************************************/
/* The Mikroelektronika PIC32MX7 MMB has 3 user LEDs labeled LED0-2 in the /* The Mikroelektronika PIC32MX7 MMB has 3 user LEDs labeled LED0-2 in the