diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-03-21 14:42:30 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-03-21 14:42:30 -0600 |
commit | 33012764134148274ece4878bed6e9d0c86089e2 (patch) | |
tree | 506b511214c0e4f9b9169cc23b202374be2ca540 /nuttx | |
parent | 6a0e83d26bac59bc9b20c9314287721eadb7c047 (diff) | |
download | px4-nuttx-33012764134148274ece4878bed6e9d0c86089e2.tar.gz px4-nuttx-33012764134148274ece4878bed6e9d0c86089e2.tar.bz2 px4-nuttx-33012764134148274ece4878bed6e9d0c86089e2.zip |
Olimex-STRP711: Rename files for better conformance to naming conventions
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/configs/olimex-strp711/src/Makefile | 30 | ||||
-rw-r--r-- | nuttx/configs/olimex-strp711/src/str71_buttons.c (renamed from nuttx/configs/olimex-strp711/src/up_buttons.c) | 2 | ||||
-rw-r--r-- | nuttx/configs/olimex-strp711/src/str71_enc28j60.c (renamed from nuttx/configs/olimex-strp711/src/up_enc28j60.c) | 4 | ||||
-rw-r--r-- | nuttx/configs/olimex-strp711/src/str71_leds.c (renamed from nuttx/configs/olimex-strp711/src/up_leds.c) | 2 | ||||
-rw-r--r-- | nuttx/configs/olimex-strp711/src/str71_nsh.c (renamed from nuttx/configs/olimex-strp711/src/up_nsh.c) | 5 | ||||
-rw-r--r-- | nuttx/configs/olimex-strp711/src/str71_spi.c (renamed from nuttx/configs/olimex-strp711/src/up_spi.c) | 4 |
6 files changed, 23 insertions, 24 deletions
diff --git a/nuttx/configs/olimex-strp711/src/Makefile b/nuttx/configs/olimex-strp711/src/Makefile index 97e42a134..74f13a0a4 100644 --- a/nuttx/configs/olimex-strp711/src/Makefile +++ b/nuttx/configs/olimex-strp711/src/Makefile @@ -35,31 +35,31 @@ -include $(TOPDIR)/Make.defs -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)/arm}" \ - -I "${shell cygpath -w $(ARCH_SRCDIR)/sched}" + CFLAGS += -I "${shell cygpath -w $(ARCH_SRCDIR)/chip}" \ + -I "${shell cygpath -w $(ARCH_SRCDIR)/common}" \ + -I "${shell cygpath -w $(ARCH_SRCDIR)/arm}" \ + -I "${shell cygpath -w $(ARCH_SRCDIR)/sched}" else - CFLAGS += -I$(ARCH_SRCDIR)/chip -I$(ARCH_SRCDIR)/common -I$(ARCH_SRCDIR)/arm -I$(TOPDIR)/sched + CFLAGS += -I$(ARCH_SRCDIR)/chip -I$(ARCH_SRCDIR)/common -I$(ARCH_SRCDIR)/arm -I$(TOPDIR)/sched endif -ASRCS = -AOBJS = $(ASRCS:.S=$(OBJEXT)) -CSRCS = up_spi.c up_leds.c up_buttons.c +ASRCS = +AOBJS = $(ASRCS:.S=$(OBJEXT)) +CSRCS = str71_spi.c str71_leds.c str71_buttons.c ifeq ($(CONFIG_NSH_ARCHINIT),y) -CSRCS += up_nsh.c +CSRCS += str71_nsh.c endif ifeq ($(CONFIG_ENC28J60),y) -CSRCS += up_enc28j60.c +CSRCS += str71_enc28j60.c endif -COBJS = $(CSRCS:.c=$(OBJEXT)) +COBJS = $(CSRCS:.c=$(OBJEXT)) -SRCS = $(ASRCS) $(CSRCS) -OBJS = $(AOBJS) $(COBJS) +SRCS = $(ASRCS) $(CSRCS) +OBJS = $(AOBJS) $(COBJS) -CFLAGS += -I $(TOPDIR)/arch/$(CONFIG_ARCH)/src +CFLAGS += -I $(TOPDIR)/arch/$(CONFIG_ARCH)/src all: libboard$(LIBEXT) diff --git a/nuttx/configs/olimex-strp711/src/up_buttons.c b/nuttx/configs/olimex-strp711/src/str71_buttons.c index 3b15c0b1f..98537be38 100644 --- a/nuttx/configs/olimex-strp711/src/up_buttons.c +++ b/nuttx/configs/olimex-strp711/src/str71_buttons.c @@ -1,5 +1,5 @@ /**************************************************************************** - * configs/olimex-strp711/src/up_leds.c + * configs/olimex-strp711/src/str71_buttons.c * * Copyright (C) 2008-2009, 2015 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> diff --git a/nuttx/configs/olimex-strp711/src/up_enc28j60.c b/nuttx/configs/olimex-strp711/src/str71_enc28j60.c index 9b1860ea8..0e4e8f972 100644 --- a/nuttx/configs/olimex-strp711/src/up_enc28j60.c +++ b/nuttx/configs/olimex-strp711/src/str71_enc28j60.c @@ -1,5 +1,5 @@ /**************************************************************************** - * configs/olimex-strp711/src/up_enc28j60.c + * configs/olimex-strp711/src/str71_enc28j60.c * * Copyright (C) 2010, 2012 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> @@ -98,7 +98,7 @@ #ifdef CONFIG_ENC28J60 /**************************************************************************** - * Definitions + * Pre-processor Definitions ****************************************************************************/ /* Configuration ************************************************************/ diff --git a/nuttx/configs/olimex-strp711/src/up_leds.c b/nuttx/configs/olimex-strp711/src/str71_leds.c index 4cdb0297d..79b1a4fc7 100644 --- a/nuttx/configs/olimex-strp711/src/up_leds.c +++ b/nuttx/configs/olimex-strp711/src/str71_leds.c @@ -1,5 +1,5 @@ /**************************************************************************** - * configs/olimex-strp711/src/up_leds.c + * configs/olimex-strp711/src/str71_leds.c * * Copyright (C) 2008-2009, 2015 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> diff --git a/nuttx/configs/olimex-strp711/src/up_nsh.c b/nuttx/configs/olimex-strp711/src/str71_nsh.c index 6f7cc7a19..993c7a206 100644 --- a/nuttx/configs/olimex-strp711/src/up_nsh.c +++ b/nuttx/configs/olimex-strp711/src/str71_nsh.c @@ -1,6 +1,5 @@ /**************************************************************************** - * config/olimex-strp711/src/up_nsh.c - * arch/arm/src/board/up_nsh.c + * config/olimex-strp711/src/str71_nsh.c * * Copyright (C) 2009-2010 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 ****************************************************************************/ /* Configuration ************************************************************/ diff --git a/nuttx/configs/olimex-strp711/src/up_spi.c b/nuttx/configs/olimex-strp711/src/str71_spi.c index e11ecfa53..9b4b3f08e 100644 --- a/nuttx/configs/olimex-strp711/src/up_spi.c +++ b/nuttx/configs/olimex-strp711/src/str71_spi.c @@ -1,5 +1,5 @@ /**************************************************************************** - * config/olimex-strp711/src/up_spi.c + * config/olimex-strp711/src/str71_spi.c * * Copyright (C) 2008-2010,2012 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> @@ -58,7 +58,7 @@ #if defined(CONFIG_STR71X_BSPI0) || defined(CONFIG_STR71X_BSPI1) /**************************************************************************** - * Definitions + * Pre-processor Definitions ****************************************************************************/ /* Configuration ************************************************************/ |