summaryrefslogtreecommitdiff
path: root/nuttx
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-03-21 09:20:56 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-03-21 09:20:56 -0600
commitb186e9a1c940260c4a97f95a04b02b240b8a10b9 (patch)
treed678607e8adf57e1694002fc0a003b597f745b7c /nuttx
parentbdddd8c0bd7a21828e2cef0fa4910bcf2146a3a5 (diff)
downloadpx4-nuttx-b186e9a1c940260c4a97f95a04b02b240b8a10b9.tar.gz
px4-nuttx-b186e9a1c940260c4a97f95a04b02b240b8a10b9.tar.bz2
px4-nuttx-b186e9a1c940260c4a97f95a04b02b240b8a10b9.zip
Olimex STM32 P107: Rename files for better conformance to naming conventions
Diffstat (limited to 'nuttx')
-rw-r--r--nuttx/configs/olimex-stm32-p107/src/Makefile28
-rw-r--r--nuttx/configs/olimex-stm32-p107/src/p107-internal.h2
-rw-r--r--nuttx/configs/olimex-stm32-p107/src/stm32_boot.c (renamed from nuttx/configs/olimex-stm32-p107/src/up_boot.c)3
-rw-r--r--nuttx/configs/olimex-stm32-p107/src/stm32_can.c (renamed from nuttx/configs/olimex-stm32-p107/src/up_can.c)2
-rw-r--r--nuttx/configs/olimex-stm32-p107/src/stm32_encx24j600.c (renamed from nuttx/configs/olimex-stm32-p107/src/up_encx24j600.c)4
-rw-r--r--nuttx/configs/olimex-stm32-p107/src/stm32_spi.c (renamed from nuttx/configs/olimex-stm32-p107/src/up_spi.c)4
6 files changed, 21 insertions, 22 deletions
diff --git a/nuttx/configs/olimex-stm32-p107/src/Makefile b/nuttx/configs/olimex-stm32-p107/src/Makefile
index 83211584d..ab24d8660 100644
--- a/nuttx/configs/olimex-stm32-p107/src/Makefile
+++ b/nuttx/configs/olimex-stm32-p107/src/Makefile
@@ -35,33 +35,33 @@
-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
+CSRCS = stm32_boot.c stm32_spi.c
ifeq ($(CONFIG_CAN),y)
-CSRCS += up_can.c
+CSRCS += stm32_can.c
endif
ifeq ($(CONFIG_ENCX24J600),y)
-CSRCS += up_encx24j600.c
+CSRCS += stm32_encx24j600.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/olimex-stm32-p107/src/p107-internal.h b/nuttx/configs/olimex-stm32-p107/src/p107-internal.h
index 8603baca2..02e94ebf1 100644
--- a/nuttx/configs/olimex-stm32-p107/src/p107-internal.h
+++ b/nuttx/configs/olimex-stm32-p107/src/p107-internal.h
@@ -44,7 +44,7 @@
#include <stdint.h>
/******************************************************************************
- * Definitions
+ * Pre-processor Definitions
******************************************************************************/
/* Olimex MOD-ENC624J600 Module
diff --git a/nuttx/configs/olimex-stm32-p107/src/up_boot.c b/nuttx/configs/olimex-stm32-p107/src/stm32_boot.c
index d10b143ec..1c0be0d2b 100644
--- a/nuttx/configs/olimex-stm32-p107/src/up_boot.c
+++ b/nuttx/configs/olimex-stm32-p107/src/stm32_boot.c
@@ -1,6 +1,5 @@
/************************************************************************************
- * configs/olimex-stm32-p107/src/up_boot.c
- * arch/arm/src/board/up_boot.c
+ * configs/olimex-stm32-p107/src/stm32_boot.c
*
* Copyright (C) 2009, 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/configs/olimex-stm32-p107/src/up_can.c b/nuttx/configs/olimex-stm32-p107/src/stm32_can.c
index f750092a3..c33874dbf 100644
--- a/nuttx/configs/olimex-stm32-p107/src/up_can.c
+++ b/nuttx/configs/olimex-stm32-p107/src/stm32_can.c
@@ -1,5 +1,5 @@
/************************************************************************************
- * configs/olimex-stm32-p107/src/up_can.c
+ * configs/olimex-stm32-p107/src/stm32_can.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/configs/olimex-stm32-p107/src/up_encx24j600.c b/nuttx/configs/olimex-stm32-p107/src/stm32_encx24j600.c
index bb0fd54ca..6a0e8bde0 100644
--- a/nuttx/configs/olimex-stm32-p107/src/up_encx24j600.c
+++ b/nuttx/configs/olimex-stm32-p107/src/stm32_encx24j600.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * configs/olimex-stm32-p107/src/up_encx24j600.c
+ * configs/olimex-stm32-p107/src/stm32_encx24j600.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -56,7 +56,7 @@
#ifdef CONFIG_ENCX24J600
/****************************************************************************
- * Definitions
+ * Pre-processor Definitions
****************************************************************************/
/* Configuration ************************************************************/
diff --git a/nuttx/configs/olimex-stm32-p107/src/up_spi.c b/nuttx/configs/olimex-stm32-p107/src/stm32_spi.c
index c0e597d22..858998e1e 100644
--- a/nuttx/configs/olimex-stm32-p107/src/up_spi.c
+++ b/nuttx/configs/olimex-stm32-p107/src/stm32_spi.c
@@ -1,5 +1,5 @@
/************************************************************************************
- * configs/olimex-stm32-p107/src/up_spi.c
+ * configs/olimex-stm32-p107/src/stm32_spi.c
*
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -54,7 +54,7 @@
#if defined(CONFIG_STM32_SPI3)
/************************************************************************************
- * Definitions
+ * Pre-processor Definitions
************************************************************************************/
/* Enables debug output from this file (needs CONFIG_DEBUG too) */