mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Mikroe STM32F4: Rename files for better conformance to naming conventions
This commit is contained in:
@@ -44,62 +44,62 @@ 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_BOARD_STM32_CUSTOM_CLOCKCONFIG),y)
|
ifeq ($(CONFIG_ARCH_BOARD_STM32_CUSTOM_CLOCKCONFIG),y)
|
||||||
CSRCS += up_clockconfig.c
|
CSRCS += stm32_clockconfig.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_PWM),y)
|
ifeq ($(CONFIG_PWM),y)
|
||||||
CSRCS += up_pwm.c
|
CSRCS += stm32_pwm.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_QENCODER),y)
|
ifeq ($(CONFIG_QENCODER),y)
|
||||||
CSRCS += up_qencoder.c
|
CSRCS += stm32_qencoder.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_WATCHDOG),y)
|
ifeq ($(CONFIG_WATCHDOG),y)
|
||||||
CSRCS += up_watchdog.c
|
CSRCS += stm32_watchdog.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_ARCH_CUSTOM_PMINIT),y)
|
ifeq ($(CONFIG_ARCH_CUSTOM_PMINIT),y)
|
||||||
CSRCS += up_pm.c
|
CSRCS += stm32_pm.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARCH_IDLE_CUSTOM),y)
|
ifeq ($(CONFIG_ARCH_IDLE_CUSTOM),y)
|
||||||
CSRCS += up_idle.c
|
CSRCS += stm32_idle.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_STM32_FSMC),y)
|
ifeq ($(CONFIG_STM32_FSMC),y)
|
||||||
CSRCS += up_extmem.c
|
CSRCS += stm32_extmem.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_INPUT),y)
|
ifeq ($(CONFIG_INPUT),y)
|
||||||
CSRCS += up_touchscreen.c
|
CSRCS += stm32_touchscreen.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_LCD_MIO283QT2),y)
|
ifeq ($(CONFIG_LCD_MIO283QT2),y)
|
||||||
CSRCS += up_mio283qt2.c
|
CSRCS += stm32_mio283qt2.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_LCD_MIO283QT9A),y)
|
ifeq ($(CONFIG_LCD_MIO283QT9A),y)
|
||||||
CSRCS += up_mio283qt9a.c
|
CSRCS += stm32_mio283qt9a.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_VS1053),y)
|
ifeq ($(CONFIG_VS1053),y)
|
||||||
CSRCS += up_vs1053.c
|
CSRCS += stm32_vs1053.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
COBJS = $(CSRCS:.c=$(OBJEXT))
|
COBJS = $(CSRCS:.c=$(OBJEXT))
|
||||||
@@ -113,8 +113,8 @@ ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
|||||||
else
|
else
|
||||||
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
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
/****************************************************************************************************
|
/****************************************************************************************************
|
||||||
* configs/mikroe-stm32f4/src/mikroe-stm32f4-internal.h
|
* configs/mikroe-stm32f4/src/mikroe-stm32f4-internal.h
|
||||||
* arch/arm/src/board/mikroe-stm32f4-internal.n
|
|
||||||
*
|
*
|
||||||
* 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>
|
||||||
@@ -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? */
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* configs/mikroe_stm32f4/src/up_boot.c
|
* configs/mikroe_stm32f4/src/stm32_boot.c
|
||||||
* arch/arm/src/board/up_boot.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>
|
||||||
@@ -48,7 +47,7 @@
|
|||||||
#include "mikroe-stm32f4-internal.h"
|
#include "mikroe-stm32f4-internal.h"
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Definitions
|
* Pre-processor Definitions
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* configs/mikroe_stm32f4/src/up_clockconfig.c
|
* configs/mikroe_stm32f4/src/stm32_clockconfig.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
|
||||||
* Author: Ken Pettit <pettitkd@gmail.com>
|
* Author: Ken Pettit <pettitkd@gmail.com>
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
#include "mikroe-stm32f4-internal.h"
|
#include "mikroe-stm32f4-internal.h"
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Definitions
|
* Pre-processor Definitions
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
+2
-3
@@ -1,6 +1,5 @@
|
|||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* configs/mikroe_stm32f4/src/up_cxxinitialize.c
|
* configs/mikroe_stm32f4/src/stm32_cxxinitialize.c
|
||||||
* arch/arm/src/board/up_cxxinitialize.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>
|
||||||
@@ -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 */
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* configs/mikroe_stm32f4/src/up_extmem.c
|
* configs/mikroe_stm32f4/src/stm32_extmem.c
|
||||||
* arch/arm/src/board/up_extmem.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>
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* configs/mikroe_stm32f4/src/up_idle.c
|
* configs/mikroe_stm32f4/src/stm32_idle.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
|
||||||
* Authors: Gregory Nutt <gnutt@nuttx.org>
|
* Authors: Gregory Nutt <gnutt@nuttx.org>
|
||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
/**************************************************************************************
|
/**************************************************************************************
|
||||||
* configs/mikroe-stm32f4/src/up_mio283qt2.c
|
* configs/mikroe-stm32f4/src/stm32_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
-1
@@ -1,5 +1,5 @@
|
|||||||
/**************************************************************************************
|
/**************************************************************************************
|
||||||
* configs/mikroe-stm32f4/src/up_mio283qt9a.c
|
* configs/mikroe-stm32f4/src/stm32_mio283qt9a.c
|
||||||
*
|
*
|
||||||
* Interface definition for the MI0283QT-9A LCD from Multi-Inno Technology Co., Ltd.
|
* Interface definition for the MI0283QT-9A LCD from Multi-Inno Technology Co., Ltd.
|
||||||
* LCD is based on the Ilitek ILI9341 LCD controller.
|
* LCD is based on the Ilitek ILI9341 LCD controller.
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* config/mikroe_stm32f4/src/up_nsh.c
|
* config/mikroe_stm32f4/src/stm32_nsh.c
|
||||||
* arch/arm/src/board/up_nsh.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>
|
||||||
@@ -77,7 +76,7 @@
|
|||||||
#include "mikroe-stm32f4-internal.h"
|
#include "mikroe-stm32f4-internal.h"
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Pre-Processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* Configuration ************************************************************/
|
/* Configuration ************************************************************/
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* configs/mikroe_stm32f4/src/up_pm.c
|
* configs/mikroe_stm32f4/src/stm32_pm.c
|
||||||
* arch/arm/src/board/up_pm.c
|
|
||||||
*
|
*
|
||||||
* Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
|
||||||
* Authors: Gregory Nutt <gnutt@nuttx.org>
|
* Authors: Gregory Nutt <gnutt@nuttx.org>
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* configs/mikroe_stm32f4/src/up_pwm.c
|
* configs/mikroe_stm32f4/src/stm32_pwm.c
|
||||||
* arch/arm/src/board/up_pwm.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>
|
||||||
@@ -52,7 +51,7 @@
|
|||||||
#include "mikroe-stm32f4-internal.h"
|
#include "mikroe-stm32f4-internal.h"
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Definitions
|
* Pre-processor Definitions
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
/* Configuration *******************************************************************/
|
/* Configuration *******************************************************************/
|
||||||
/* PWM
|
/* PWM
|
||||||
+2
-3
@@ -1,6 +1,5 @@
|
|||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* configs/mikroe_stm32f4/src/up_qencoder.c
|
* configs/mikroe_stm32f4/src/stm32_qencoder.c
|
||||||
* arch/arm/src/board/up_qencoder.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>
|
||||||
@@ -52,7 +51,7 @@
|
|||||||
#include "mikroe-stm32f4-internal.h"
|
#include "mikroe-stm32f4-internal.h"
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Definitions
|
* Pre-processor Definitions
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
/* Configuration *******************************************************************/
|
/* Configuration *******************************************************************/
|
||||||
/* Check if we have a timer configured for quadrature encoder -- assume YES. */
|
/* Check if we have a timer configured for quadrature encoder -- assume YES. */
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* configs/mikroe_stm32f4/src/up_spi.c
|
* configs/mikroe_stm32f4/src/stm32_spi.c
|
||||||
* arch/arm/src/board/up_spi.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>
|
||||||
@@ -61,7 +60,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) */
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* configs/mikroe-stm32f4/src/up_touchscreen.c
|
* configs/mikroe-stm32f4/src/stm32_touchscreen.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>
|
||||||
@@ -66,7 +66,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/mikroe_stm32f4/src/up_usbdev.c
|
* configs/mikroe_stm32f4/src/stm32_usb.c
|
||||||
* arch/arm/src/board/up_boot.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>
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* configs/mikroe-stm32f4/src/up_vs1053.c
|
* configs/mikroe-stm32f4/src/stm32_vs1053.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Ken Pettit. All rights reserved.
|
* Copyright (C) 2013 Ken Pettit. All rights reserved.
|
||||||
* Author: Ken Pettit <pettitkd@gmail.com>
|
* Author: Ken Pettit <pettitkd@gmail.com>
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
#ifdef CONFIG_VS1053
|
#ifdef CONFIG_VS1053
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* VS1053 is on SPI3 */
|
/* VS1053 is on SPI3 */
|
||||||
+2
-3
@@ -1,6 +1,5 @@
|
|||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* configs/mikroe_stm32f4/src/up_watchdog.c
|
* configs/mikroe_stm32f4/src/stm32_watchdog.c
|
||||||
* arch/arm/src/board/up_watchdog.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 @@
|
|||||||
#ifdef CONFIG_WATCHDOG
|
#ifdef CONFIG_WATCHDOG
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Definitions
|
* Pre-processor Definitions
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
/* Configuration *******************************************************************/
|
/* Configuration *******************************************************************/
|
||||||
/* Wathdog hardware should be enabled */
|
/* Wathdog hardware should be enabled */
|
||||||
Reference in New Issue
Block a user