STM3220G-EVAL: Rename files for better conformance to naming conventions

This commit is contained in:
Gregory Nutt 2015-03-21 08:22:00 -06:00
parent 06f39f6af6
commit 12aabb985f
21 changed files with 54 additions and 71 deletions

View File

@ -35,71 +35,71 @@
-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_spi.c CSRCS = stm32_boot.c stm32_spi.c
ifeq ($(CONFIG_HAVE_CXX),y) ifeq ($(CONFIG_HAVE_CXX),y)
CSRCS += up_cxxinitialize.c CSRCS += stm32_cxxinitialize.c
endif endif
ifeq ($(CONFIG_ARCH_LEDS),y) ifeq ($(CONFIG_ARCH_LEDS),y)
CSRCS += up_autoleds.c CSRCS += stm32_autoleds.c
else else
CSRCS += up_userleds.c CSRCS += stm32_userleds.c
endif endif
ifeq ($(CONFIG_ARCH_BUTTONS),y) ifeq ($(CONFIG_ARCH_BUTTONS),y)
CSRCS += up_buttons.c CSRCS += stm32_buttons.c
endif endif
ifeq ($(CONFIG_STM32_OTGFS),y) ifeq ($(CONFIG_STM32_OTGFS),y)
CSRCS += up_usb.c CSRCS += stm32_usb.c
endif endif
ifeq ($(CONFIG_STM32_FSMC),y) ifeq ($(CONFIG_STM32_FSMC),y)
CSRCS += up_lcd.c up_selectlcd.c up_deselectlcd.c up_selectsram.c up_deselectsram.c up_extmem.c CSRCS += stm32_lcd.c stm32_selectlcd.c stm32_deselectlcd.c stm32_selectsram.c stm32_deselectsram.c stm32_extmem.c
endif endif
ifeq ($(CONFIG_ADC),y) ifeq ($(CONFIG_ADC),y)
CSRCS += up_adc.c CSRCS += stm32_adc.c
endif endif
ifeq ($(CONFIG_PWM),y) ifeq ($(CONFIG_PWM),y)
CSRCS += up_pwm.c CSRCS += stm32_pwm.c
endif endif
ifeq ($(CONFIG_CAN),y) ifeq ($(CONFIG_CAN),y)
CSRCS += up_can.c CSRCS += stm32_can.c
endif endif
ifeq ($(CONFIG_NSH_ARCHINIT),y) ifeq ($(CONFIG_NSH_ARCHINIT),y)
CSRCS += up_nsh.c CSRCS += stm32_nsh.c
endif endif
ifeq ($(CONFIG_WATCHDOG),y) ifeq ($(CONFIG_WATCHDOG),y)
CSRCS += up_watchdog.c CSRCS += stm32_watchdog.c
endif endif
ifeq ($(CONFIG_INPUT_STMPE811),y) ifeq ($(CONFIG_INPUT_STMPE811),y)
CSRCS += up_stmpe811.c CSRCS += stm32_stmpe811.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)/armv7-m}" -I "${shell cygpath -w $(ARCH_SRCDIR)/armv7-m}"
else 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 endif
all: libboard$(LIBEXT) all: libboard$(LIBEXT)

View File

@ -1,6 +1,5 @@
/**************************************************************************************************** /****************************************************************************************************
* configs/stm3220g_eval/src/stm3220g_internal.h * configs/stm3220g_eval/src/stm3220g_internal.h
* arch/arm/src/board/stm3220g_internal.n
* *
* 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>
@ -46,7 +45,7 @@
#include <stdint.h> #include <stdint.h>
/**************************************************************************************************** /****************************************************************************************************
* Definitions * Pre-processor Definitions
****************************************************************************************************/ ****************************************************************************************************/
/* Configuration ************************************************************************************/ /* Configuration ************************************************************************************/
/* How many SPI modules does this chip support? */ /* How many SPI modules does this chip support? */

View File

@ -1,6 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/stm3220g-eval/src/up_adc.c * configs/stm3220g-eval/src/stm32_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>
@ -55,7 +54,7 @@
#ifdef CONFIG_ADC #ifdef CONFIG_ADC
/************************************************************************************ /************************************************************************************
* Definitions * Pre-processor Definitions
************************************************************************************/ ************************************************************************************/
/* Configuration ************************************************************/ /* Configuration ************************************************************/
@ -165,4 +164,4 @@ int adc_devinit(void)
} }
#endif /* CONFIG_STM32_ADC1 || CONFIG_STM32_ADC2 || CONFIG_STM32_ADC3 */ #endif /* CONFIG_STM32_ADC1 || CONFIG_STM32_ADC2 || CONFIG_STM32_ADC3 */
#endif /* CONFIG_ADC */ #endif /* CONFIG_ADC */

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/stm3220g_eval/src/up_autoleds.c * configs/stm3220g_eval/src/stm32_autoleds.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,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/stm3220g-eval/src/up_boot.c * configs/stm3220g-eval/src/stm32_boot.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,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/stm3220g-eval/src/board_buttons.c * configs/stm3220g-eval/src/stm32_buttons.c
* *
* Copyright (C) 2012, 2014-2015 Gregory Nutt. All rights reserved. * Copyright (C) 2012, 2014-2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,6 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/stm3220g-eval/src/up_can.c * configs/stm3220g-eval/src/stm32_can.c
* arch/arm/src/board/up_can.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>

View File

@ -1,6 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/stm3220g-eval/src/up_cxxinitialize.c * configs/stm3220g-eval/src/stm32_cxxinitialize.c
* arch/arm/src/board/up_cxxinitialize.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 @@
#if defined(CONFIG_HAVE_CXX) && defined(CONFIG_HAVE_CXXINITIALIZE) #if defined(CONFIG_HAVE_CXX) && defined(CONFIG_HAVE_CXXINITIALIZE)
/************************************************************************************ /************************************************************************************
* Definitions * Pre-processor Definitions
************************************************************************************/ ************************************************************************************/
/* Debug ****************************************************************************/ /* Debug ****************************************************************************/
/* Non-standard debug that may be enabled just for testing the static constructors */ /* Non-standard debug that may be enabled just for testing the static constructors */

View File

@ -1,6 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/stm3220g-eval/src/up_deselectlcd.c * configs/stm3220g-eval/src/stm32_deselectlcd.c
* arch/arm/src/board/up_deselectlcd.c
* *
* Copyright (C) 2012 Gregory Nutt. All rights reserved. * Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Authors: Gregory Nutt <gnutt@nuttx.org> * Authors: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,6 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/stm3220g-eval/src/up_deselectsram.c * configs/stm3220g-eval/src/stm32_deselectsram.c
* arch/arm/src/board/up_deselectsram.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>

View File

@ -1,6 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/stm3220g-eval/src/up_extmem.c * configs/stm3220g-eval/src/stm32_extmem.c
* arch/arm/src/board/up_extmem.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>

View File

@ -1,6 +1,5 @@
/************************************************************************************** /**************************************************************************************
* configs/stm3220g-eval/src/up_lcd.c * configs/stm3220g-eval/src/stm32_lcd.c
* arch/arm/src/board/up_lcd.c
* *
* Copyright (C) 2012 Gregory Nutt. All rights reserved. * Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Authors: Gregory Nutt <gnutt@nuttx.org> * Authors: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,6 +1,5 @@
/**************************************************************************** /****************************************************************************
* config/stm3220g_eval/src/up_nsh.c * config/stm3220g_eval/src/stm32_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>
@ -63,7 +62,7 @@
#include "stm3220g-internal.h" #include "stm3220g-internal.h"
/**************************************************************************** /****************************************************************************
* Pre-Processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/* Configuration ************************************************************/ /* Configuration ************************************************************/

View File

@ -1,6 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/stm3220g-eval/src/up_pwm.c * configs/stm3220g-eval/src/stm32_pwm.c
* arch/arm/src/board/up_pwm.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 "stm3220g-internal.h" #include "stm3220g-internal.h"
/************************************************************************************ /************************************************************************************
* Definitions * Pre-processor Definitions
************************************************************************************/ ************************************************************************************/
/* Configuration *******************************************************************/ /* Configuration *******************************************************************/
/* PWM /* PWM

View File

@ -1,6 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/stm3220g-eval/src/up_selectlcd.c * configs/stm3220g-eval/src/stm32_selectlcd.c
* arch/arm/src/board/up_selectlcd.c
* *
* Copyright (C) 2012 Gregory Nutt. All rights reserved. * Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Authors: Gregory Nutt <gnutt@nuttx.org> * Authors: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,6 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/stm3220g-eval/src/up_selectsram.c * configs/stm3220g-eval/src/stm32_selectsram.c
* arch/arm/src/board/up_selectsram.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>

View File

@ -1,6 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/stm3220g_eval/src/up_spi.c * configs/stm3220g_eval/src/stm32_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>
@ -55,7 +54,7 @@
#if defined(CONFIG_STM32_SPI1) || defined(CONFIG_STM32_SPI2) || defined(CONFIG_STM32_SPI3) #if defined(CONFIG_STM32_SPI1) || defined(CONFIG_STM32_SPI2) || defined(CONFIG_STM32_SPI3)
/************************************************************************************ /************************************************************************************
* Definitions * Pre-processor Definitions
************************************************************************************/ ************************************************************************************/
/* Enables debug output from this file (needs CONFIG_DEBUG too) */ /* Enables debug output from this file (needs CONFIG_DEBUG too) */

View File

@ -1,6 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/stm3220g-eval/src/up_touchscreen.c * configs/stm3220g-eval/src/stm32_stmpe811.c
* arch/arm/src/board/up_touchscreen.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>
@ -55,7 +54,7 @@
#include "stm3220g-internal.h" #include "stm3220g-internal.h"
/**************************************************************************** /****************************************************************************
* Pre-Processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/* Configuration ************************************************************/ /* Configuration ************************************************************/

View File

@ -1,6 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/stm3220g-eval/src/up_usb.c * configs/stm3220g-eval/src/stm32_usb.c
* arch/arm/src/board/up_usb.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>
@ -59,7 +58,7 @@
#ifdef CONFIG_STM32_OTGFS #ifdef CONFIG_STM32_OTGFS
/************************************************************************************ /************************************************************************************
* Definitions * Pre-processor Definitions
************************************************************************************/ ************************************************************************************/
#if defined(CONFIG_USBDEV) || defined(CONFIG_USBHOST) #if defined(CONFIG_USBDEV) || defined(CONFIG_USBHOST)

View File

@ -1,6 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/stm3220g_eval/src/up_leds.c * configs/stm3220g_eval/src/stm32_leds.c
* arch/arm/src/board/up_leds.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>
@ -55,7 +54,7 @@
#ifndef CONFIG_ARCH_LEDS #ifndef CONFIG_ARCH_LEDS
/**************************************************************************** /****************************************************************************
* 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

View File

@ -1,6 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/stm3220g-eval/src/up_watchdog.c * configs/stm3220g-eval/src/stm32_watchdog.c
* arch/arm/src/board/up_watchdog.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 @@
#ifdef CONFIG_WATCHDOG #ifdef CONFIG_WATCHDOG
/************************************************************************************ /************************************************************************************
* Definitions * Pre-processor Definitions
************************************************************************************/ ************************************************************************************/
/* Configuration *******************************************************************/ /* Configuration *******************************************************************/
/* Wathdog hardware should be enabled */ /* Wathdog hardware should be enabled */