summaryrefslogtreecommitdiff
path: root/nuttx/configs
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-03-21 09:26:53 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-03-21 09:26:53 -0600
commit1c1786422b96d2c924143f6053492cf765817bc5 (patch)
tree868bc7539070aa552506a5ef0dc1daf7fd894bc4 /nuttx/configs
parentb186e9a1c940260c4a97f95a04b02b240b8a10b9 (diff)
downloadpx4-nuttx-1c1786422b96d2c924143f6053492cf765817bc5.tar.gz
px4-nuttx-1c1786422b96d2c924143f6053492cf765817bc5.tar.bz2
px4-nuttx-1c1786422b96d2c924143f6053492cf765817bc5.zip
Spark: Rename files for better conformance to naming conventions
Diffstat (limited to 'nuttx/configs')
-rw-r--r--nuttx/configs/spark/src/Makefile22
-rw-r--r--nuttx/configs/spark/src/spark.h2
-rw-r--r--nuttx/configs/spark/src/stm32_autoleds.c (renamed from nuttx/configs/spark/src/up_autoleds.c)2
-rw-r--r--nuttx/configs/spark/src/stm32_boot.c (renamed from nuttx/configs/spark/src/up_boot.c)2
-rw-r--r--nuttx/configs/spark/src/stm32_buttons.c (renamed from nuttx/configs/spark/src/up_buttons.c)2
-rw-r--r--nuttx/configs/spark/src/stm32_composite.c (renamed from nuttx/configs/spark/src/up_composite.c)5
-rw-r--r--nuttx/configs/spark/src/stm32_cxxinitialize.c (renamed from nuttx/configs/spark/src/up_cxxinitialize.c)4
-rw-r--r--nuttx/configs/spark/src/stm32_io.c (renamed from nuttx/configs/spark/src/up_io.c)2
-rw-r--r--nuttx/configs/spark/src/stm32_nsh.c (renamed from nuttx/configs/spark/src/up_nsh.c)5
-rw-r--r--nuttx/configs/spark/src/stm32_spi.c (renamed from nuttx/configs/spark/src/up_spi.c)4
-rw-r--r--nuttx/configs/spark/src/stm32_usbdev.c (renamed from nuttx/configs/spark/src/up_usbdev.c)4
-rw-r--r--nuttx/configs/spark/src/stm32_userleds.c (renamed from nuttx/configs/spark/src/up_userleds.c)4
-rw-r--r--nuttx/configs/spark/src/stm32_watchdog.c (renamed from nuttx/configs/spark/src/up_watchdog.c)4
-rw-r--r--nuttx/configs/spark/src/stm32_wireless.c (renamed from nuttx/configs/spark/src/up_wireless.c)4
14 files changed, 32 insertions, 34 deletions
diff --git a/nuttx/configs/spark/src/Makefile b/nuttx/configs/spark/src/Makefile
index 1647d1c9d..fe6b4dd46 100644
--- a/nuttx/configs/spark/src/Makefile
+++ b/nuttx/configs/spark/src/Makefile
@@ -41,44 +41,44 @@ CFLAGS += -I$(TOPDIR)/sched
ASRCS =
AOBJS = $(ASRCS:.S=$(OBJEXT))
-CSRCS = up_boot.c up_spi.c
+CSRCS = stm32_boot.c stm32_spi.c
ifeq ($(CONFIG_HAVE_CXX),y)
-CSRCS += up_cxxinitialize.c
+CSRCS += stm32_cxxinitialize.c
endif
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_NSH_ARCHINIT),y)
-CSRCS += up_nsh.c
+CSRCS += stm32_nsh.c
endif
ifeq ($(CONFIG_USBDEV),y)
-CSRCS += up_usbdev.c
+CSRCS += stm32_usbdev.c
endif
ifeq ($(CONFIG_USBDEV_COMPOSITE),y)
-CSRCS += up_composite.c
+CSRCS += stm32_composite.c
endif
ifeq ($(CONFIG_WL_CC3000),y)
-CSRCS += up_wireless.c
+CSRCS += stm32_wireless.c
endif
ifeq ($(CONFIG_WATCHDOG),y)
-CSRCS += up_watchdog.c
+CSRCS += stm32_watchdog.c
endif
ifeq ($(CONFIG_CC3000_PROBES),)
-CSRCS += up_io.c
+CSRCS += stm32_io.c
endif
COBJS = $(CSRCS:.c=$(OBJEXT))
diff --git a/nuttx/configs/spark/src/spark.h b/nuttx/configs/spark/src/spark.h
index 7c0ecff32..19661fe78 100644
--- a/nuttx/configs/spark/src/spark.h
+++ b/nuttx/configs/spark/src/spark.h
@@ -47,7 +47,7 @@
#include <stdint.h>
/************************************************************************************
- * Definitions
+ * Pre-processor Definitions
************************************************************************************/
/* During the development of the SparkCore, the hardware was in limited supply
* As a work around david_s5 created a SparkCore Big board (http://nscdg.com/spark/sparkBB.png)
diff --git a/nuttx/configs/spark/src/up_autoleds.c b/nuttx/configs/spark/src/stm32_autoleds.c
index 91cebf611..053109ecf 100644
--- a/nuttx/configs/spark/src/up_autoleds.c
+++ b/nuttx/configs/spark/src/stm32_autoleds.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * configs/spark/src/up_autoleds.c
+ * configs/spark/src/stm32_autoleds.c
*
* Copyright (C) 2012-2013, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/configs/spark/src/up_boot.c b/nuttx/configs/spark/src/stm32_boot.c
index a02301006..dc3afe126 100644
--- a/nuttx/configs/spark/src/up_boot.c
+++ b/nuttx/configs/spark/src/stm32_boot.c
@@ -1,5 +1,5 @@
/************************************************************************************
- * configs/spark/src/up_boot.c
+ * configs/spark/src/stm32_boot.c
*
* Copyright (C) 2013, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/configs/spark/src/up_buttons.c b/nuttx/configs/spark/src/stm32_buttons.c
index 11bcbf8ae..4f4224146 100644
--- a/nuttx/configs/spark/src/up_buttons.c
+++ b/nuttx/configs/spark/src/stm32_buttons.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * configs/spark/src/board_buttons.c
+ * configs/spark/src/stm32_buttons.c
*
* Copyright (C) 2011-2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/configs/spark/src/up_composite.c b/nuttx/configs/spark/src/stm32_composite.c
index 0e7ad90f4..15e4879e9 100644
--- a/nuttx/configs/spark/src/up_composite.c
+++ b/nuttx/configs/spark/src/stm32_composite.c
@@ -1,6 +1,5 @@
/****************************************************************************
- * config/spark/src/up_composite.c
- * arch/arm/src/board/up_composit.c
+ * config/spark/src/stm32_composite.c
*
* Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -66,7 +65,7 @@
#include "spark.h"
/****************************************************************************
- * Pre-Processor Definitions
+ * Pre-processor Definitions
****************************************************************************/
/* Configuration ************************************************************/
diff --git a/nuttx/configs/spark/src/up_cxxinitialize.c b/nuttx/configs/spark/src/stm32_cxxinitialize.c
index dfc7e263c..e28d5f396 100644
--- a/nuttx/configs/spark/src/up_cxxinitialize.c
+++ b/nuttx/configs/spark/src/stm32_cxxinitialize.c
@@ -1,5 +1,5 @@
/************************************************************************************
- * configs/spark/src/up_cxxinitialize.c
+ * configs/spark/src/stm32_cxxinitialize.c
*
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -49,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 */
diff --git a/nuttx/configs/spark/src/up_io.c b/nuttx/configs/spark/src/stm32_io.c
index 1400367c1..404cd4143 100644
--- a/nuttx/configs/spark/src/up_io.c
+++ b/nuttx/configs/spark/src/stm32_io.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * configs/spark/src/up_io.c
+ * configs/spark/src/stm32_io.c
*
* Copyright (C) 2011-2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/configs/spark/src/up_nsh.c b/nuttx/configs/spark/src/stm32_nsh.c
index 9992347b1..b9af15fcc 100644
--- a/nuttx/configs/spark/src/up_nsh.c
+++ b/nuttx/configs/spark/src/stm32_nsh.c
@@ -1,6 +1,5 @@
/****************************************************************************
- * config/spark/src/up_nsh.c
- * arch/arm/src/board/up_nsh.c
+ * config/spark/src/stm32_nsh.c
*
* Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -66,7 +65,7 @@
#include "spark.h"
/****************************************************************************
- * Pre-Processor Definitions
+ * Pre-processor Definitions
****************************************************************************/
/* Configuration ************************************************************/
diff --git a/nuttx/configs/spark/src/up_spi.c b/nuttx/configs/spark/src/stm32_spi.c
index 494e0fdd5..42cb2449f 100644
--- a/nuttx/configs/spark/src/up_spi.c
+++ b/nuttx/configs/spark/src/stm32_spi.c
@@ -1,5 +1,5 @@
/************************************************************************************
- * configs/spark/src/up_spi.c
+ * configs/spark/src/stm32_spi.c
*
* Copyright (C) 2011-2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -60,7 +60,7 @@
#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) */
diff --git a/nuttx/configs/spark/src/up_usbdev.c b/nuttx/configs/spark/src/stm32_usbdev.c
index dff972bc8..87af0a3bc 100644
--- a/nuttx/configs/spark/src/up_usbdev.c
+++ b/nuttx/configs/spark/src/stm32_usbdev.c
@@ -1,5 +1,5 @@
/************************************************************************************
- * configs/spark/src/up_usbdev.c
+ * configs/spark/src/stm32_usbdev.c
*
* Copyright (C) 2009-2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -53,7 +53,7 @@
#include "spark.h"
/************************************************************************************
- * Definitions
+ * Pre-processor Definitions
************************************************************************************/
/************************************************************************************
diff --git a/nuttx/configs/spark/src/up_userleds.c b/nuttx/configs/spark/src/stm32_userleds.c
index b562b58b8..e1ebe87c1 100644
--- a/nuttx/configs/spark/src/up_userleds.c
+++ b/nuttx/configs/spark/src/stm32_userleds.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * configs/spark/src/up_leds.c
+ * configs/spark/src/stm32_userleds.c
*
* Copyright (C) 2011, 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -55,7 +55,7 @@
#ifndef CONFIG_ARCH_LEDS
/****************************************************************************
- * Definitions
+ * Pre-processor Definitions
****************************************************************************/
/* CONFIG_DEBUG_LEDS enables debug output from this file (needs CONFIG_DEBUG
diff --git a/nuttx/configs/spark/src/up_watchdog.c b/nuttx/configs/spark/src/stm32_watchdog.c
index 78e1461c2..a27261ce8 100644
--- a/nuttx/configs/spark/src/up_watchdog.c
+++ b/nuttx/configs/spark/src/stm32_watchdog.c
@@ -1,5 +1,5 @@
/************************************************************************************
- * configs/spark/src/up_watchdog.c
+ * configs/spark/src/stm32_watchdog.c
*
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -50,7 +50,7 @@
#ifdef CONFIG_WATCHDOG
/************************************************************************************
- * Definitions
+ * Pre-processor Definitions
************************************************************************************/
/* Configuration *******************************************************************/
/* Wathdog hardware should be enabled */
diff --git a/nuttx/configs/spark/src/up_wireless.c b/nuttx/configs/spark/src/stm32_wireless.c
index e330129e6..12c17543c 100644
--- a/nuttx/configs/spark/src/up_wireless.c
+++ b/nuttx/configs/spark/src/stm32_wireless.c
@@ -1,5 +1,5 @@
/************************************************************************************
- * configs/spark/src/up_wireless.c
+ * configs/spark/src/stm32_wireless.c
*
* Copyright (C) 2009, 2013 Gregory Nutt. All rights reserved.
* Author: Laurent Latil <laurent@latil.nom.fr>
@@ -55,7 +55,7 @@
#include "spark.h"
/****************************************************************************
- * Pre-Processor Definitions
+ * Pre-processor Definitions
****************************************************************************/
/* Configuration ************************************************************/