Olimex STM32 P207: Rename files for better conformance to naming conventions

This commit is contained in:
Gregory Nutt 2015-03-21 09:17:03 -06:00
parent 22ffea1d56
commit 0cd01961df
11 changed files with 35 additions and 41 deletions

View File

@ -35,51 +35,51 @@
-include $(TOPDIR)/Make.defs
CFLAGS += -I$(TOPDIR)/sched
CFLAGS += -I$(TOPDIR)/sched
ASRCS =
AOBJS = $(ASRCS:.S=$(OBJEXT))
ASRCS =
AOBJS = $(ASRCS:.S=$(OBJEXT))
CSRCS = up_boot.c up_cxxinitialize.c
CSRCS = stm32_boot.c stm32_cxxinitialize.c
ifeq ($(CONFIG_ARCH_LEDS),y)
CSRCS += up_autoleds.c
CSRCS += stm32_autoleds.c
else
CSRCS += up_userleds.c
CSRCS += stm32_userleds.c
endif
ifeq ($(CONFIG_ARCH_BUTTONS),y)
CSRCS += up_buttons.c
CSRCS += stm32_buttons.c
endif
ifeq ($(CONFIG_STM32_OTGFS),y)
CSRCS += up_usb.c
CSRCS += stm32_usb.c
endif
ifeq ($(CONFIG_NSH_LIBRARY),y)
CSRCS += up_nsh.c
CSRCS += stm32_nsh.c
endif
ifeq ($(CONFIG_ADC),y)
CSRCS += up_adc.c
CSRCS += stm32_adc.c
endif
ifeq ($(CONFIG_CAN),y)
CSRCS += up_can.c
CSRCS += stm32_can.c
endif
COBJS = $(CSRCS:.c=$(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)

View File

@ -45,7 +45,7 @@
#include <stdint.h>
/******************************************************************************
* Definitions
* Pre-processor Definitions
******************************************************************************/
/* Olimex-STM32-P207 GPIOs ****************************************************/

View File

@ -1,6 +1,5 @@
/************************************************************************************
* configs/olimex-stm32-p207/src/up_adc.c
* arch/arm/src/board/up_adc.c
* configs/olimex-stm32-p207/src/stm32_adc.c
*
* Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -51,7 +50,7 @@
#ifdef CONFIG_ADC
/************************************************************************************
* Definitions
* Pre-processor Definitions
************************************************************************************/
/* Configuration ********************************************************************/
@ -174,4 +173,4 @@ int stm32_adc_initialize(void)
}
#endif /* CONFIG_STM32_ADC1 || CONFIG_STM32_ADC2 || CONFIG_STM32_ADC3 */
#endif /* CONFIG_ADC */
#endif /* CONFIG_ADC */

View File

@ -1,5 +1,5 @@
/****************************************************************************
* configs/olimex-stm32-p207/src/up_autoleds.c
* configs/olimex-stm32-p207/src/stm32_autoleds.c
*
* Copyright (C) 2011-2013, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/************************************************************************************
* configs/olimex-stm32-p207/src/up_boot.c
* configs/olimex-stm32-p207/src/stm32_boot.c
*
* Copyright (C) 2009, 2012, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -48,7 +48,7 @@
#include "olimex-stm32-p207.h"
/************************************************************************************
* Definitions
* Pre-processor Definitions
************************************************************************************/
/************************************************************************************

View File

@ -1,5 +1,5 @@
/****************************************************************************
* configs/olimex-stm32-p207/src/board_buttons.c
* configs/olimex-stm32-p207/src/stm32_buttons.c
*
* Copyright (C) 2011-2012, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,6 +1,5 @@
/************************************************************************************
* configs/olimex-stm32-p207/src/up_can.c
* arch/arm/src/board/up_can.c
* configs/olimex-stm32-p207/src/stm32_can.c
*
* Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,6 +1,5 @@
/************************************************************************************
* configs/olimex-stm32-p207/src/up_cxxinitialize.c
* arch/arm/src/board/up_cxxinitialize.c
* configs/olimex-stm32-p207/src/stm32_cxxinitialize.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -50,7 +49,7 @@
#if defined(CONFIG_HAVE_CXX) && defined(CONFIG_HAVE_CXXINITIALIZE)
/************************************************************************************
* Definitions
* Pre-processor Definitions
************************************************************************************/
/* Debug ****************************************************************************/
/* Non-standard debug that may be enabled just for testing the static constructors */

View File

@ -1,6 +1,5 @@
/****************************************************************************
* config/olimex-stm32-p207/src/up_nsh.c
* arch/arm/src/board/up_nsh.c
* config/olimex-stm32-p207/src/stm32_nsh.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -57,7 +56,7 @@
#include "olimex-stm32-p207.h"
/****************************************************************************
* Pre-Processor Definitions
* Pre-processor Definitions
****************************************************************************/
/* Configuration ************************************************************/

View File

@ -1,6 +1,5 @@
/************************************************************************************
* configs/olimex-stm32-p207/src/up_usbdev.c
* arch/arm/src/board/up_usbdev.c
* configs/olimex-stm32-p207/src/stm32_usb.c
*
* Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,6 +1,5 @@
/****************************************************************************
* configs/olimex-stm32-p207/src/up_leds.c
* arch/arm/src/board/up_leds.c
* configs/olimex-stm32-p207/src/stm32_userleds.c
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -50,7 +49,7 @@
#ifndef CONFIG_ARCH_LEDS
/****************************************************************************
* Definitions
* Pre-processor Definitions
****************************************************************************/
/* CONFIG_DEBUG_LEDS enables debug output from this file (needs CONFIG_DEBUG