AVR32DEV1: Rename files for better conformance to naming conventions

This commit is contained in:
Gregory Nutt 2015-03-21 13:48:34 -06:00
parent 70b576b638
commit 08e8f45b08
5 changed files with 18 additions and 20 deletions

View File

@ -35,30 +35,30 @@
-include $(TOPDIR)/Make.defs -include $(TOPDIR)/Make.defs
CFLAGS += -I$(TOPDIR)/sched CFLAGS += -I$(TOPDIR)/sched
ASRCS = ASRCS =
CSRCS = up_boot.c CSRCS = avr32_boot.c
ifeq ($(CONFIG_ARCH_LEDS),y) ifeq ($(CONFIG_ARCH_LEDS),y)
CSRCS += up_leds.c CSRCS += avr32_leds.c
endif endif
ifeq ($(CONFIG_ARCH_BUTTONS),y) ifeq ($(CONFIG_ARCH_BUTTONS),y)
CSRCS += up_buttons.c CSRCS += avr32_buttons.c
endif endif
AOBJS = $(ASRCS:.S=$(OBJEXT)) AOBJS = $(ASRCS:.S=$(OBJEXT))
COBJS = $(CSRCS:.c=$(OBJEXT)) COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS) SRCS = $(ASRCS) $(CSRCS)
OBJS = $(AOBJS) $(COBJS) OBJS = $(AOBJS) $(COBJS)
ARCH_SRCDIR = $(TOPDIR)/arch/$(CONFIG_ARCH)/src ARCH_SRCDIR = $(TOPDIR)/arch/$(CONFIG_ARCH)/src
ifeq ($(WINTOOL),y) ifeq ($(WINTOOL),y)
CFLAGS += -I "${shell cygpath -w $(ARCH_SRCDIR)/chip}" \ CFLAGS += -I "${shell cygpath -w $(ARCH_SRCDIR)/chip}" \
-I "${shell cygpath -w $(ARCH_SRCDIR)/common}" \ -I "${shell cygpath -w $(ARCH_SRCDIR)/common}" \
-I "${shell cygpath -w $(ARCH_SRCDIR)/avr32}" -I "${shell cygpath -w $(ARCH_SRCDIR)/avr32}"
else else
CFLAGS += -I$(ARCH_SRCDIR)/chip -I$(ARCH_SRCDIR)/common -I$(ARCH_SRCDIR)/avr32 CFLAGS += -I$(ARCH_SRCDIR)/chip -I$(ARCH_SRCDIR)/common -I$(ARCH_SRCDIR)/avr32
endif endif
all: libboard$(LIBEXT) all: libboard$(LIBEXT)

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/avr32dev1/src/up_boot.c * configs/avr32dev1/src/avr32_boot.c
* *
* Copyright (C) 2010, 2015 Gregory Nutt. All rights reserved. * Copyright (C) 2010, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/sam3u-ek/src/up_leds.c * configs/avr32dev1/src/avr32_buttons.c
* *
* Copyright (C) 2010-2011, 2014-2015 Gregory Nutt. All rights reserved. * Copyright (C) 2010-2011, 2014-2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/avr32dev1/src/up_leds.c * configs/avr32dev1/src/avr32_leds.c
* *
* Copyright (C) 2010, 2015 Gregory Nutt. All rights reserved. * Copyright (C) 2010, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,6 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/avr32dev1/src/avr32dev1_internal.h * configs/avr32dev1/src/avr32dev1_internal.h
* arch/avr/src/board/avr32dev1_internal.n
* *
* Copyright (C) 2010 Gregory Nutt. All rights reserved. * Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -46,7 +45,7 @@
#include "at32uc3_config.h" #include "at32uc3_config.h"
/************************************************************************************ /************************************************************************************
* Definitions * Pre-processor Definitions
************************************************************************************/ ************************************************************************************/
/* Configuration ********************************************************************/ /* Configuration ********************************************************************/
@ -113,4 +112,3 @@
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
#endif /* _CONFIGS_AVR32DEV1_SRC_AVR32DEV1_INTERNAL_H */ #endif /* _CONFIGS_AVR32DEV1_SRC_AVR32DEV1_INTERNAL_H */