summaryrefslogtreecommitdiff
path: root/nuttx/configs
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-03-21 09:54:40 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-03-21 09:54:40 -0600
commit0af999f8e99641595e9611073a0728c6d8e00140 (patch)
tree36c600534f10e320feff43fdde1c9b7c291e9e9f /nuttx/configs
parent5abd951e37194cc91dccff92e2f1ee694a02fd06 (diff)
downloadpx4-nuttx-0af999f8e99641595e9611073a0728c6d8e00140.tar.gz
px4-nuttx-0af999f8e99641595e9611073a0728c6d8e00140.tar.bz2
px4-nuttx-0af999f8e99641595e9611073a0728c6d8e00140.zip
CloudCtrl: Rename files for better conformance to naming conventions
Diffstat (limited to 'nuttx/configs')
-rw-r--r--nuttx/configs/cloudctrl/src/Makefile48
-rw-r--r--nuttx/configs/cloudctrl/src/cloudctrl-internal.h2
-rw-r--r--nuttx/configs/cloudctrl/src/stm32_adc.c (renamed from nuttx/configs/cloudctrl/src/up_adc.c)5
-rw-r--r--nuttx/configs/cloudctrl/src/stm32_autoleds.c (renamed from nuttx/configs/cloudctrl/src/up_autoleds.c)2
-rw-r--r--nuttx/configs/cloudctrl/src/stm32_boot.c (renamed from nuttx/configs/cloudctrl/src/up_boot.c)2
-rw-r--r--nuttx/configs/cloudctrl/src/stm32_buttons.c (renamed from nuttx/configs/cloudctrl/src/up_buttons.c)2
-rw-r--r--nuttx/configs/cloudctrl/src/stm32_chipid.c (renamed from nuttx/configs/cloudctrl/src/up_chipid.c)5
-rw-r--r--nuttx/configs/cloudctrl/src/stm32_cxxinitialize.c (renamed from nuttx/configs/cloudctrl/src/up_cxxinitialize.c)5
-rw-r--r--nuttx/configs/cloudctrl/src/stm32_nsh.c (renamed from nuttx/configs/cloudctrl/src/up_nsh.c)5
-rw-r--r--nuttx/configs/cloudctrl/src/stm32_phyinit.c (renamed from nuttx/configs/cloudctrl/src/up_phyinit.c)5
-rw-r--r--nuttx/configs/cloudctrl/src/stm32_relays.c (renamed from nuttx/configs/cloudctrl/src/up_relays.c)2
-rw-r--r--nuttx/configs/cloudctrl/src/stm32_spi.c (renamed from nuttx/configs/cloudctrl/src/up_spi.c)5
-rw-r--r--nuttx/configs/cloudctrl/src/stm32_usb.c (renamed from nuttx/configs/cloudctrl/src/up_usb.c)3
-rw-r--r--nuttx/configs/cloudctrl/src/stm32_usbmsc.c (renamed from nuttx/configs/cloudctrl/src/up_usbmsc.c)4
-rw-r--r--nuttx/configs/cloudctrl/src/stm32_userleds.c (renamed from nuttx/configs/cloudctrl/src/up_userleds.c)5
-rw-r--r--nuttx/configs/cloudctrl/src/stm32_w25.c (renamed from nuttx/configs/cloudctrl/src/up_w25.c)5
-rw-r--r--nuttx/configs/cloudctrl/src/stm32_watchdog.c (renamed from nuttx/configs/cloudctrl/src/up_watchdog.c)5
17 files changed, 50 insertions, 60 deletions
diff --git a/nuttx/configs/cloudctrl/src/Makefile b/nuttx/configs/cloudctrl/src/Makefile
index 248886fc3..f2036f024 100644
--- a/nuttx/configs/cloudctrl/src/Makefile
+++ b/nuttx/configs/cloudctrl/src/Makefile
@@ -36,71 +36,71 @@
-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_spi.c up_chipid.c
+CSRCS = stm32_boot.c stm32_spi.c stm32_chipid.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_ARCH_RELAYS),y)
-CSRCS += up_relays.c
+CSRCS += stm32_relays.c
endif
ifeq ($(CONFIG_STM32_OTGFS),y)
-CSRCS += up_usb.c
+CSRCS += stm32_usb.c
endif
ifeq ($(CONFIG_NSH_ARCHINIT),y)
-CSRCS += up_nsh.c
+CSRCS += stm32_nsh.c
endif
ifeq ($(CONFIG_MTD_W25),y)
-CSRCS += up_w25.c
+CSRCS += stm32_w25.c
endif
ifeq ($(CONFIG_USBMSC),y)
-CSRCS += up_usbmsc.c
+CSRCS += stm32_usbmsc.c
endif
ifeq ($(CONFIG_ADC),y)
-CSRCS += up_adc.c
+CSRCS += stm32_adc.c
endif
ifeq ($(CONFIG_WATCHDOG),y)
-CSRCS += up_watchdog.c
+CSRCS += stm32_watchdog.c
endif
ifeq ($(CONFIG_STM32_PHYINIT),y)
-CSRCS += up_phyinit.c
+CSRCS += stm32_phyinit.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)
diff --git a/nuttx/configs/cloudctrl/src/cloudctrl-internal.h b/nuttx/configs/cloudctrl/src/cloudctrl-internal.h
index b31b873d8..a064c7f0c 100644
--- a/nuttx/configs/cloudctrl/src/cloudctrl-internal.h
+++ b/nuttx/configs/cloudctrl/src/cloudctrl-internal.h
@@ -47,7 +47,7 @@
#include <stdint.h>
/****************************************************************************************************
- * Definitions
+ * Pre-processor Definitions
****************************************************************************************************/
/* Configuration ************************************************************************************/
/* How many SPI modules does this chip support? */
diff --git a/nuttx/configs/cloudctrl/src/up_adc.c b/nuttx/configs/cloudctrl/src/stm32_adc.c
index f66dee35d..d78497fec 100644
--- a/nuttx/configs/cloudctrl/src/up_adc.c
+++ b/nuttx/configs/cloudctrl/src/stm32_adc.c
@@ -1,6 +1,5 @@
/************************************************************************************
- * configs/cloudctrl/src/up_adc.c
- * arch/arm/src/board/up_adc.c
+ * configs/cloudctrl/src/stm32_adc.c
*
* Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -56,7 +55,7 @@
#ifdef CONFIG_ADC
/************************************************************************************
- * Definitions
+ * Pre-processor Definitions
************************************************************************************/
/* Configuration ********************************************************************/
/* Up to 3 ADC interfaces are supported */
diff --git a/nuttx/configs/cloudctrl/src/up_autoleds.c b/nuttx/configs/cloudctrl/src/stm32_autoleds.c
index 3f6a83076..b06a5b56e 100644
--- a/nuttx/configs/cloudctrl/src/up_autoleds.c
+++ b/nuttx/configs/cloudctrl/src/stm32_autoleds.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * configs/cloudctrl/src/up_autoleds.c
+ * configs/cloudctrl/src/stm32_autoleds.c
*
* Copyright (C) 2012, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/configs/cloudctrl/src/up_boot.c b/nuttx/configs/cloudctrl/src/stm32_boot.c
index 44b716839..567e98f49 100644
--- a/nuttx/configs/cloudctrl/src/up_boot.c
+++ b/nuttx/configs/cloudctrl/src/stm32_boot.c
@@ -1,5 +1,5 @@
/************************************************************************************
- * configs/cloudctrl/src/up_boot.c
+ * configs/cloudctrl/src/stm32_boot.c
*
* Copyright (C) 2012, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/configs/cloudctrl/src/up_buttons.c b/nuttx/configs/cloudctrl/src/stm32_buttons.c
index 5b43dd159..906eb2f59 100644
--- a/nuttx/configs/cloudctrl/src/up_buttons.c
+++ b/nuttx/configs/cloudctrl/src/stm32_buttons.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * configs/cloudctrl/src/board_buttons.c
+ * configs/cloudctrl/src/stm32_buttons.c
*
* Copyright (C) 2012, 2014-2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/configs/cloudctrl/src/up_chipid.c b/nuttx/configs/cloudctrl/src/stm32_chipid.c
index 55018edd4..957804c8d 100644
--- a/nuttx/configs/cloudctrl/src/up_chipid.c
+++ b/nuttx/configs/cloudctrl/src/stm32_chipid.c
@@ -1,6 +1,5 @@
/************************************************************************************
- * configs/cloudctrl/src/up_chipid.c
- * arch/arm/src/board/up_chipid.c
+ * configs/cloudctrl/src/stm32_chipid.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -48,7 +47,7 @@
#include "up_arch.h"
/************************************************************************************
- * Definitions
+ * Pre-processor Definitions
************************************************************************************/
/************************************************************************************
diff --git a/nuttx/configs/cloudctrl/src/up_cxxinitialize.c b/nuttx/configs/cloudctrl/src/stm32_cxxinitialize.c
index 8f01ba533..aa472bae0 100644
--- a/nuttx/configs/cloudctrl/src/up_cxxinitialize.c
+++ b/nuttx/configs/cloudctrl/src/stm32_cxxinitialize.c
@@ -1,6 +1,5 @@
/************************************************************************************
- * configs/cloudctrl/src/up_cxxinitialize.c
- * arch/arm/src/board/up_cxxinitialize.c
+ * configs/cloudctrl/src/stm32_cxxinitialize.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -51,7 +50,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/cloudctrl/src/up_nsh.c b/nuttx/configs/cloudctrl/src/stm32_nsh.c
index 9754b60f8..61964d441 100644
--- a/nuttx/configs/cloudctrl/src/up_nsh.c
+++ b/nuttx/configs/cloudctrl/src/stm32_nsh.c
@@ -1,6 +1,5 @@
/****************************************************************************
- * config/cloudctrl/src/up_nsh.c
- * arch/arm/src/board/up_nsh.c
+ * config/cloudctrl/src/stm32_nsh.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -50,7 +49,7 @@
#include "cloudctrl-internal.h"
/****************************************************************************
- * Pre-Processor Definitions
+ * Pre-processor Definitions
****************************************************************************/
/* Configuration ************************************************************/
diff --git a/nuttx/configs/cloudctrl/src/up_phyinit.c b/nuttx/configs/cloudctrl/src/stm32_phyinit.c
index 9fe89f319..8646447dd 100644
--- a/nuttx/configs/cloudctrl/src/up_phyinit.c
+++ b/nuttx/configs/cloudctrl/src/stm32_phyinit.c
@@ -1,6 +1,5 @@
/************************************************************************************
- * configs/cloudctrl/src/up_phyinit.c
- * arch/arm/src/board/up_phyinit.c
+ * configs/cloudctrl/src/stm32_phyinit.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -47,7 +46,7 @@
#include "cloudctrl-internal.h"
/************************************************************************************
- * Definitions
+ * Pre-processor Definitions
************************************************************************************/
/************************************************************************************
diff --git a/nuttx/configs/cloudctrl/src/up_relays.c b/nuttx/configs/cloudctrl/src/stm32_relays.c
index 60630dd8a..5bd65df09 100644
--- a/nuttx/configs/cloudctrl/src/up_relays.c
+++ b/nuttx/configs/cloudctrl/src/stm32_relays.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * configs/cloudctrl/src/up_relays.c
+ * configs/cloudctrl/src/stm32_relays.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/configs/cloudctrl/src/up_spi.c b/nuttx/configs/cloudctrl/src/stm32_spi.c
index f8bdef42d..22500c299 100644
--- a/nuttx/configs/cloudctrl/src/up_spi.c
+++ b/nuttx/configs/cloudctrl/src/stm32_spi.c
@@ -1,6 +1,5 @@
/************************************************************************************
- * configs/cloudctrl/src/up_spi.c
- * arch/arm/src/board/up_spi.c
+ * configs/cloudctrl/src/stm32_spi.c
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -56,7 +55,7 @@
#if defined(CONFIG_STM32_SPI1) || defined(CONFIG_STM32_SPI3)
/************************************************************************************
- * Definitions
+ * Pre-processor Definitions
************************************************************************************/
/* Enables debug output from this file (needs CONFIG_DEBUG too) */
diff --git a/nuttx/configs/cloudctrl/src/up_usb.c b/nuttx/configs/cloudctrl/src/stm32_usb.c
index 77b79db2f..9a08e6960 100644
--- a/nuttx/configs/cloudctrl/src/up_usb.c
+++ b/nuttx/configs/cloudctrl/src/stm32_usb.c
@@ -1,6 +1,5 @@
/************************************************************************************
- * configs/cloudctrl/src/up_usbdev.c
- * arch/arm/src/board/up_boot.c
+ * configs/cloudctrl/src/stm32_usb.c
*
* Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/configs/cloudctrl/src/up_usbmsc.c b/nuttx/configs/cloudctrl/src/stm32_usbmsc.c
index 5c9481b8f..15641387b 100644
--- a/nuttx/configs/cloudctrl/src/up_usbmsc.c
+++ b/nuttx/configs/cloudctrl/src/stm32_usbmsc.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * configs/cloudctrl/src/up_usbmsc.c
+ * configs/cloudctrl/src/stm32_usbmsc.c
*
* Copyright (C) 2012, 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -49,7 +49,7 @@
#include "stm32.h"
/****************************************************************************
- * Pre-Processor Definitions
+ * Pre-processor Definitions
****************************************************************************/
/* Configuration ************************************************************/
diff --git a/nuttx/configs/cloudctrl/src/up_userleds.c b/nuttx/configs/cloudctrl/src/stm32_userleds.c
index cac8c5045..d68f450a5 100644
--- a/nuttx/configs/cloudctrl/src/up_userleds.c
+++ b/nuttx/configs/cloudctrl/src/stm32_userleds.c
@@ -1,6 +1,5 @@
/****************************************************************************
- * configs/cloudctrl/src/up_userleds.c
- * arch/arm/src/board/up_userleds.c
+ * configs/cloudctrl/src/stm32_userleds.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -56,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/cloudctrl/src/up_w25.c b/nuttx/configs/cloudctrl/src/stm32_w25.c
index b9e018a90..0b94726fa 100644
--- a/nuttx/configs/cloudctrl/src/up_w25.c
+++ b/nuttx/configs/cloudctrl/src/stm32_w25.c
@@ -1,6 +1,5 @@
/****************************************************************************
- * config/cloudctrl/src/up_w25.c
- * arch/arm/src/board/up_w25.c
+ * config/cloudctrl/src/stm32_w25.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -57,7 +56,7 @@
#include "cloudctrl-internal.h"
/****************************************************************************
- * Pre-Processor Definitions
+ * Pre-processor Definitions
****************************************************************************/
/* Configuration ************************************************************/
diff --git a/nuttx/configs/cloudctrl/src/up_watchdog.c b/nuttx/configs/cloudctrl/src/stm32_watchdog.c
index eaaeccd32..04a8b5fe2 100644
--- a/nuttx/configs/cloudctrl/src/up_watchdog.c
+++ b/nuttx/configs/cloudctrl/src/stm32_watchdog.c
@@ -1,6 +1,5 @@
/************************************************************************************
- * configs/cloudctrl/src/up_watchdog.c
- * arch/arm/src/board/up_watchdog.c
+ * configs/cloudctrl/src/stm32_watchdog.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -52,7 +51,7 @@
#ifdef CONFIG_WATCHDOG
/************************************************************************************
- * Definitions
+ * Pre-processor Definitions
************************************************************************************/
/* Configuration *******************************************************************/
/* Wathdog hardware should be enabled */