summaryrefslogtreecommitdiff
path: root/nuttx/configs/lincoln60
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-03-21 10:24:24 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-03-21 10:24:24 -0600
commit5bc024fdf6f8c21c164c6de5790c0c4d1d915d33 (patch)
treebfc74e76219235c15f8b106e1272e049764afd19 /nuttx/configs/lincoln60
parentf8e6d8e1c663fb652239de09314784bfa1fbd9eb (diff)
downloadpx4-nuttx-5bc024fdf6f8c21c164c6de5790c0c4d1d915d33.tar.gz
px4-nuttx-5bc024fdf6f8c21c164c6de5790c0c4d1d915d33.tar.bz2
px4-nuttx-5bc024fdf6f8c21c164c6de5790c0c4d1d915d33.zip
Lincoln60: Rename files for better conformance to naming conventions
Diffstat (limited to 'nuttx/configs/lincoln60')
-rw-r--r--nuttx/configs/lincoln60/src/Makefile30
-rw-r--r--nuttx/configs/lincoln60/src/lincoln60_internal.h3
-rw-r--r--nuttx/configs/lincoln60/src/lpc17_boot.c (renamed from nuttx/configs/lincoln60/src/up_boot.c)2
-rw-r--r--nuttx/configs/lincoln60/src/lpc17_buttons.c (renamed from nuttx/configs/lincoln60/src/up_buttons.c)2
-rw-r--r--nuttx/configs/lincoln60/src/lpc17_leds.c (renamed from nuttx/configs/lincoln60/src/up_leds.c)4
-rw-r--r--nuttx/configs/lincoln60/src/lpc17_nsh.c (renamed from nuttx/configs/lincoln60/src/up_nsh.c)5
6 files changed, 22 insertions, 24 deletions
diff --git a/nuttx/configs/lincoln60/src/Makefile b/nuttx/configs/lincoln60/src/Makefile
index 1fc01490a..a54083f1e 100644
--- a/nuttx/configs/lincoln60/src/Makefile
+++ b/nuttx/configs/lincoln60/src/Makefile
@@ -35,36 +35,36 @@
-include $(TOPDIR)/Make.defs
-CFLAGS += -I$(TOPDIR)/sched
+CFLAGS += -I$(TOPDIR)/sched
-ASRCS =
-CSRCS = up_boot.c up_leds.c
+ASRCS =
+CSRCS = lpc17_boot.c lpc17_leds.c
ifeq ($(CONFIG_NSH_ARCHINIT),y)
-CSRCS += up_nsh.c
+CSRCS += lpc17_nsh.c
endif
ifeq ($(CONFIG_USBMSC),y)
-CSRCS += up_usbmsc.c
+CSRCS += lpc17_usbmsc.c
endif
ifeq ($(CONFIG_ARCH_BUTTONS),y)
-CSRCS += up_buttons.c
+CSRCS += lpc17_buttons.c
endif
-AOBJS = $(ASRCS:.S=$(OBJEXT))
-COBJS = $(CSRCS:.c=$(OBJEXT))
+AOBJS = $(ASRCS:.S=$(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/lincoln60/src/lincoln60_internal.h b/nuttx/configs/lincoln60/src/lincoln60_internal.h
index 5f9891883..6d84d571f 100644
--- a/nuttx/configs/lincoln60/src/lincoln60_internal.h
+++ b/nuttx/configs/lincoln60/src/lincoln60_internal.h
@@ -1,6 +1,5 @@
/****************************************************************************
* configs/lincoln60/src/lincoln60_internal.h
- * arch/arm/src/board/lincoln60_internal.n
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -45,7 +44,7 @@
#include <nuttx/compiler.h>
/****************************************************************************
- * Definitions
+ * Pre-processor Definitions
****************************************************************************/
/****************************************************************************
diff --git a/nuttx/configs/lincoln60/src/up_boot.c b/nuttx/configs/lincoln60/src/lpc17_boot.c
index c20295815..bbaf0c178 100644
--- a/nuttx/configs/lincoln60/src/up_boot.c
+++ b/nuttx/configs/lincoln60/src/lpc17_boot.c
@@ -1,5 +1,5 @@
/************************************************************************************
- * configs/lincoln60/src/up_boot.c
+ * configs/lincoln60/src/lpc17_boot.c
*
* Copyright (C) 2012, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/configs/lincoln60/src/up_buttons.c b/nuttx/configs/lincoln60/src/lpc17_buttons.c
index 610e2cab0..38a2326a5 100644
--- a/nuttx/configs/lincoln60/src/up_buttons.c
+++ b/nuttx/configs/lincoln60/src/lpc17_buttons.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * configs/lincoln60/src/board_buttons.c
+ * configs/lincoln60/src/lpc17_buttons.c
*
* Copyright (C) 2012-2013, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
diff --git a/nuttx/configs/lincoln60/src/up_leds.c b/nuttx/configs/lincoln60/src/lpc17_leds.c
index d91cf407f..47edb089e 100644
--- a/nuttx/configs/lincoln60/src/up_leds.c
+++ b/nuttx/configs/lincoln60/src/lpc17_leds.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * configs/lincoln60/src/up_leds.c
+ * configs/lincoln60/src/lpc17_leds.c
*
* Copyright (C) 2012-2013, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -57,7 +57,7 @@
#ifdef CONFIG_ARCH_LEDS
/****************************************************************************
- * Definitions
+ * Pre-processor Definitions
****************************************************************************/
/* CONFIG_DEBUG_LEDS enables debug output from this file (needs CONFIG_DEBUG
diff --git a/nuttx/configs/lincoln60/src/up_nsh.c b/nuttx/configs/lincoln60/src/lpc17_nsh.c
index d54c140c3..041a3345a 100644
--- a/nuttx/configs/lincoln60/src/up_nsh.c
+++ b/nuttx/configs/lincoln60/src/lpc17_nsh.c
@@ -1,6 +1,5 @@
/****************************************************************************
- * config/lincoln60/src/up_nsh.c
- * arch/arm/src/board/up_nsh.c
+ * config/lincoln60/src/lpc17_nsh.c
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -48,7 +47,7 @@
#include <nuttx/mmcsd.h>
/****************************************************************************
- * Pre-Processor Definitions
+ * Pre-processor Definitions
****************************************************************************/
/****************************************************************************