From c8156e11de33407ea54bf36bc71a18c30095c201 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 31 Jan 2015 14:15:13 -0600 Subject: [PATCH] Moteino Mega: Rename files to conform to newer standards. Need to fix all of the old configurations someday --- configs/moteino-mega/include/board.h | 1 - configs/moteino-mega/src/Makefile | 4 ++-- configs/moteino-mega/src/{up_boot.c => avr_boot.c} | 4 ++-- configs/moteino-mega/src/{up_leds.c => avr_leds.c} | 4 ++-- .../src/{moteino_mega_internal.h => moteino_mega.h} | 8 ++++---- 5 files changed, 10 insertions(+), 11 deletions(-) rename configs/moteino-mega/src/{up_boot.c => avr_boot.c} (98%) rename configs/moteino-mega/src/{up_leds.c => avr_leds.c} (98%) rename configs/moteino-mega/src/{moteino_mega_internal.h => moteino_mega.h} (94%) diff --git a/configs/moteino-mega/include/board.h b/configs/moteino-mega/include/board.h index 2fc1b389471..e9a5138dc0c 100644 --- a/configs/moteino-mega/include/board.h +++ b/configs/moteino-mega/include/board.h @@ -1,6 +1,5 @@ /**************************************************************************** * configs/moteino-mega/include/board.h - * include/arch/board/board.h * * Copyright (C) 2015 Gregory Nutt. All rights reserved. * Author: Gregory Nutt diff --git a/configs/moteino-mega/src/Makefile b/configs/moteino-mega/src/Makefile index b9b8dae971c..6d95aff4368 100644 --- a/configs/moteino-mega/src/Makefile +++ b/configs/moteino-mega/src/Makefile @@ -36,10 +36,10 @@ -include $(TOPDIR)/Make.defs ASRCS = -CSRCS = up_boot.c +CSRCS = avr_boot.c ifeq ($(CONFIG_ARCH_LEDS),y) -CSRCS += up_leds.c +CSRCS += avr_leds.c endif AOBJS = $(ASRCS:.S=$(OBJEXT)) diff --git a/configs/moteino-mega/src/up_boot.c b/configs/moteino-mega/src/avr_boot.c similarity index 98% rename from configs/moteino-mega/src/up_boot.c rename to configs/moteino-mega/src/avr_boot.c index f845939f5ad..e38da636bd0 100644 --- a/configs/moteino-mega/src/up_boot.c +++ b/configs/moteino-mega/src/avr_boot.c @@ -1,5 +1,5 @@ /************************************************************************************ - * configs/moteino-mega/src/up_boot.c + * configs/moteino-mega/src/avr_boot.c * * Copyright (C) 2015 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -47,7 +47,7 @@ #include "up_internal.h" #include "atmega_internal.h" -#include "moteino_mega_internal.h" +#include "moteino_mega.h" /************************************************************************************ * Pre-processor Definitions diff --git a/configs/moteino-mega/src/up_leds.c b/configs/moteino-mega/src/avr_leds.c similarity index 98% rename from configs/moteino-mega/src/up_leds.c rename to configs/moteino-mega/src/avr_leds.c index 68ffaa48af5..da1b6517494 100644 --- a/configs/moteino-mega/src/up_leds.c +++ b/configs/moteino-mega/src/avr_leds.c @@ -1,5 +1,5 @@ /**************************************************************************** - * configs/moteino-mega/src/up_leds.c + * configs/moteino-mega/src/avr_leds.c * * Copyright (C) 2015 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -47,7 +47,7 @@ #include "up_internal.h" #include "atmega_internal.h" -#include "moteino_mega_internal.h" +#include "moteino_mega.h" #ifdef CONFIG_ARCH_LEDS diff --git a/configs/moteino-mega/src/moteino_mega_internal.h b/configs/moteino-mega/src/moteino_mega.h similarity index 94% rename from configs/moteino-mega/src/moteino_mega_internal.h rename to configs/moteino-mega/src/moteino_mega.h index d697228385c..08c97879d11 100644 --- a/configs/moteino-mega/src/moteino_mega_internal.h +++ b/configs/moteino-mega/src/moteino_mega.h @@ -1,5 +1,5 @@ /**************************************************************************** - * configs/moteino-mega/src/moteino-mega-internal.h + * configs/moteino-mega/src/moteino-mega.h * * Copyright (C) 2015 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -33,8 +33,8 @@ * ****************************************************************************/ -#ifndef __CONFIGS_MOTEINO_MEGA_SRC_MOTEINO_MEGA_INTERNAL_H -#define __CONFIGS_MOTEINO_MEGA_SRC_MOTEINO_MEGA_INTERNAL_H +#ifndef __CONFIGS_MOTEINO_MEGA_SRC_MOTEINO_MEGA_H +#define __CONFIGS_MOTEINO_MEGA_SRC_MOTEINO_MEGA_H /**************************************************************************** * Included Files @@ -99,4 +99,4 @@ void atmega_ledinit(void); #endif #endif /* __ASSEMBLY__ */ -#endif /* __CONFIGS_MOTEINO_MEGA_SRC_MOTEINO_MEGA_INTERNAL_H */ +#endif /* __CONFIGS_MOTEINO_MEGA_SRC_MOTEINO_MEGA_H */