Mirtoo: Rename files for better conformance to naming conventions

This commit is contained in:
Gregory Nutt 2015-03-21 10:10:17 -06:00
parent 96e92887d8
commit 73f2dc9339
7 changed files with 26 additions and 30 deletions

View File

@ -35,36 +35,36 @@
-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 CSRCS = pic32_boot.c pic32_leds.c
ifeq ($(CONFIG_PIC32MX_SPI2),y) ifeq ($(CONFIG_PIC32MX_SPI2),y)
CSRCS += up_spi2.c CSRCS += pic32_spi2.c
endif endif
ifeq ($(CONFIG_PIC32MX_ADC),y) ifeq ($(CONFIG_PIC32MX_ADC),y)
CSRCS += up_adc.c CSRCS += pic32_adc.c
endif endif
ifeq ($(CONFIG_NSH_ARCHINIT),y) ifeq ($(CONFIG_NSH_ARCHINIT),y)
CSRCS += up_nsh.c CSRCS += pic32_nsh.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)

View File

@ -43,7 +43,7 @@
#include <nuttx/config.h> #include <nuttx/config.h>
/**************************************************************************** /****************************************************************************
* Pre-Processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/* Configuration ************************************************************/ /* Configuration ************************************************************/

View File

@ -1,6 +1,5 @@
/**************************************************************************** /****************************************************************************
* config/mirtoo/src/up_adc.c * config/mirtoo/src/pic32_adc.c
* arch/arm/src/board/up_adc.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 +49,7 @@
#ifdef CONFIG_PIC32MX_ADC #ifdef CONFIG_PIC32MX_ADC
/**************************************************************************** /****************************************************************************
* Pre-Processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/* Configuration ************************************************************/ /* Configuration ************************************************************/
/* The Mirtoo features a PGA117 amplifier/multipexer that can be configured to /* The Mirtoo features a PGA117 amplifier/multipexer that can be configured to
@ -102,4 +101,4 @@ int pic32mx_adcinitialize(void)
} }
#endif #endif
#endif /* CONFIG_PIC32MX_ADC */ #endif /* CONFIG_PIC32MX_ADC */

View File

@ -1,6 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/mirtoo/src/up_boot.c * configs/mirtoo/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>
@ -52,7 +51,7 @@
#include "mirtoo-internal.h" #include "mirtoo-internal.h"
/************************************************************************************ /************************************************************************************
* Definitions * Pre-processor Definitions
************************************************************************************/ ************************************************************************************/
#define GPIO_U1TX (GPIO_OUTPUT|GPIO_PORTC|GPIO_PIN5) #define GPIO_U1TX (GPIO_OUTPUT|GPIO_PORTC|GPIO_PIN5)

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/mirtoo/src/up_leds.c * configs/mirtoo/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>

View File

@ -1,6 +1,5 @@
/**************************************************************************** /****************************************************************************
* config/mirtoo/src/up_nsh.c * config/mirtoo/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>
@ -56,7 +55,7 @@
#include "pic32mx-internal.h" #include "pic32mx-internal.h"
/**************************************************************************** /****************************************************************************
* Pre-Processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/* Configuration ************************************************************/ /* Configuration ************************************************************/

View File

@ -1,6 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/mirtoo/src/up_spi2.c * configs/mirtoo/src/pic32_spi2.c
* arch/arm/src/board/up_spi2.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 @@
#ifdef CONFIG_PIC32MX_SPI2 #ifdef CONFIG_PIC32MX_SPI2
/************************************************************************************ /************************************************************************************
* Definitions * Pre-processor Definitions
************************************************************************************/ ************************************************************************************/
/* The Mirtoo module as two on-board SPI devices: /* The Mirtoo module as two on-board SPI devices: