Amber: Rename files for better conformance to naming conventions

This commit is contained in:
Gregory Nutt 2015-03-21 13:35:00 -06:00
parent 30c5c7a95a
commit 286e614b4e
3 changed files with 24 additions and 23 deletions

View File

@ -36,10 +36,10 @@
-include $(TOPDIR)/Make.defs -include $(TOPDIR)/Make.defs
ASRCS = ASRCS =
CSRCS = up_boot.c CSRCS = atmega_boot.c
ifeq ($(CONFIG_ARCH_LEDS),y) ifeq ($(CONFIG_ARCH_LEDS),y)
CSRCS += up_leds.c CSRCS += atmega_leds.c
endif endif
AOBJS = $(ASRCS:.S=$(OBJEXT)) AOBJS = $(ASRCS:.S=$(OBJEXT))

View File

@ -43,7 +43,7 @@
#include <nuttx/config.h> #include <nuttx/config.h>
/**************************************************************************** /****************************************************************************
* Pre-Processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/* Configuration ************************************************************/ /* Configuration ************************************************************/
@ -63,7 +63,8 @@
#ifdef __cplusplus #ifdef __cplusplus
#define EXTERN extern "C" #define EXTERN extern "C"
extern "C" { extern "C"
{
#else #else
#define EXTERN extern #define EXTERN extern
#endif #endif
@ -77,7 +78,7 @@ extern "C" {
************************************************************************************/ ************************************************************************************/
#if defined(CONFIG_AVR_SPI1) || defined(CONFIG_AVR_SPI2) #if defined(CONFIG_AVR_SPI1) || defined(CONFIG_AVR_SPI2)
EXTERN void weak_function atmega_spiinitialize(void); void weak_function atmega_spiinitialize(void);
#endif #endif
/************************************************************************************ /************************************************************************************
@ -89,7 +90,7 @@ EXTERN void weak_function atmega_spiinitialize(void);
************************************************************************************/ ************************************************************************************/
#ifdef CONFIG_ARCH_LEDS #ifdef CONFIG_ARCH_LEDS
EXTERN void atmega_ledinit(void); void atmega_ledinit(void);
#endif #endif
#undef EXTERN #undef EXTERN

View File

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