mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Teensy: Rename files for better conformance to naming conventions
This commit is contained in:
@@ -36,16 +36,16 @@
|
||||
-include $(TOPDIR)/Make.defs
|
||||
|
||||
ASRCS =
|
||||
CSRCS = up_boot.c
|
||||
CSRCS = at90usb_boot.c
|
||||
|
||||
ifeq ($(CONFIG_ARCH_LEDS),y)
|
||||
CSRCS += up_leds.c
|
||||
CSRCS += at90usb_leds.c
|
||||
endif
|
||||
ifeq ($(CONFIG_USBMSC),y)
|
||||
CSRCS += up_usbmsc.c
|
||||
CSRCS += at90usb_usbmsc.c
|
||||
endif
|
||||
ifeq ($(CONFIG_AVR_SPI),y)
|
||||
CSRCS += up_spi.c
|
||||
CSRCS += at90usb_spi.c
|
||||
endif
|
||||
|
||||
AOBJS = $(ASRCS:.S=$(OBJEXT))
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* configs/teensy/src/up_boot.c
|
||||
* configs/teensy/src/at90usb_boot.c
|
||||
*
|
||||
* Copyright (C) 2011, 2015 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@@ -50,7 +50,7 @@
|
||||
#include "teensy_internal.h"
|
||||
|
||||
/************************************************************************************
|
||||
* Definitions
|
||||
* Pre-processor Definitions
|
||||
************************************************************************************/
|
||||
|
||||
/************************************************************************************
|
||||
@@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* configs/teensy/src/up_leds.c
|
||||
* configs/teensy/src/at90usb_leds.c
|
||||
*
|
||||
* Copyright (C) 2011, 2013, 2015 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@@ -1,6 +1,5 @@
|
||||
/************************************************************************************
|
||||
* configs/teensy/src/up_spi.c
|
||||
* arch/arm/src/board/up_spi.c
|
||||
* configs/teensy/src/at90usb_spi.c
|
||||
*
|
||||
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@@ -56,7 +55,7 @@
|
||||
#ifdef CONFIG_AVR_SPI
|
||||
|
||||
/************************************************************************************
|
||||
* Definitions
|
||||
* Pre-processor Definitions
|
||||
************************************************************************************/
|
||||
/* Teensy SPI Connection
|
||||
*
|
||||
@@ -1,6 +1,5 @@
|
||||
/****************************************************************************
|
||||
* configs/teensy/src/up_usbmsc.c
|
||||
* arch/arm/src/board/up_usbmsc.c
|
||||
* configs/teensy/src/at90usb_usbmsc.c
|
||||
*
|
||||
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@@ -53,7 +52,7 @@
|
||||
#include "teensy_internal.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-Processor Definitions
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* Configuration ************************************************************/
|
||||
@@ -43,7 +43,7 @@
|
||||
#include <nuttx/config.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-Processor Definitions
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
/* Configuration ************************************************************/
|
||||
|
||||
@@ -63,7 +63,8 @@
|
||||
|
||||
#ifdef __cplusplus
|
||||
#define EXTERN extern "C"
|
||||
extern "C" {
|
||||
extern "C"
|
||||
{
|
||||
#else
|
||||
#define EXTERN extern
|
||||
#endif
|
||||
@@ -77,7 +78,7 @@ extern "C" {
|
||||
************************************************************************************/
|
||||
|
||||
#ifdef CONFIG_AVR_SPI
|
||||
EXTERN void weak_function at90usb_spiinitialize(void);
|
||||
void weak_function at90usb_spiinitialize(void);
|
||||
#endif
|
||||
|
||||
/************************************************************************************
|
||||
@@ -89,7 +90,7 @@ EXTERN void weak_function at90usb_spiinitialize(void);
|
||||
************************************************************************************/
|
||||
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
EXTERN void at90usb_ledinit(void);
|
||||
void at90usb_ledinit(void);
|
||||
#endif
|
||||
|
||||
#undef EXTERN
|
||||
|
||||
Reference in New Issue
Block a user