zkit lpc1768: Rename files for better conformance to naming conventions

This commit is contained in:
Gregory Nutt 2015-03-21 10:20:42 -06:00
parent eec8f58f02
commit 74bb756742
13 changed files with 33 additions and 41 deletions

View File

@ -41,30 +41,30 @@
-include $(TOPDIR)/Make.defs -include $(TOPDIR)/Make.defs
ASRCS = ASRCS =
CSRCS = up_boot.c up_leds.c up_ssp.c up_buttons.c up_lcd.c CSRCS = lpc17_boot.c lpc17_leds.c lpc17_ssp.c lpc17_buttons.c lpc17_lcd.c
ifeq ($(CONFIG_NSH_ARCHINIT),y) ifeq ($(CONFIG_NSH_ARCHINIT),y)
CSRCS += up_nsh.c CSRCS += lpc17_nsh.c
endif endif
ifeq ($(CONFIG_USBMSC),y) ifeq ($(CONFIG_USBMSC),y)
CSRCS += up_usbmsc.c CSRCS += lpc17_usbmsc.c
endif endif
ifeq ($(CONFIG_ADC),y) ifeq ($(CONFIG_ADC),y)
CSRCS += up_adc.c CSRCS += lpc17_adc.c
endif endif
ifeq ($(CONFIG_DAC),y) ifeq ($(CONFIG_DAC),y)
CSRCS += up_dac.c CSRCS += lpc17_dac.c
endif endif
ifeq ($(CONFIG_CAN),y) ifeq ($(CONFIG_CAN),y)
CSRCS += up_can.c CSRCS += lpc17_can.c
endif endif
ifeq ($(CONFIG_LPC17_SPI),y) ifeq ($(CONFIG_LPC17_SPI),y)
CSRCS += up_spi.c CSRCS += lpc17_spi.c
endif endif
AOBJS = $(ASRCS:.S=$(OBJEXT)) AOBJS = $(ASRCS:.S=$(OBJEXT))

View File

@ -1,11 +1,10 @@
/************************************************************************************ /************************************************************************************
* configs/zkit-arm-1769/src/up_adc.c * configs/zkit-arm-1769/src/lpc17_adc.c
* arch/arm/src/board/up_adc.c
* *
* Copyright (C) 2013 Zilogic Systems. All rights reserved. * Copyright (C) 2013 Zilogic Systems. All rights reserved.
* Author: Kannan <code@nuttx.org> * Author: Kannan <code@nuttx.org>
* *
* Based on configs/stm3220g-eval/src/up_adc.c * Based on configs/stm3220g-eval/src/lpc17_adc.c
* *
* Copyright (C) 2012 Gregory Nutt. All rights reserved. * Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -60,7 +59,7 @@
#ifdef CONFIG_ADC #ifdef CONFIG_ADC
/************************************************************************************ /************************************************************************************
* Definitions * Pre-processor Definitions
************************************************************************************/ ************************************************************************************/
/************************************************************************************ /************************************************************************************

View File

@ -1,10 +1,10 @@
/************************************************************************************ /************************************************************************************
* configs/zkit-arm-1769/src/up_boot.c * configs/zkit-arm-1769/src/lpc17_boot.c
* *
* Copyright (C) 2013 Zilogic Systems. All rights reserved. * Copyright (C) 2013 Zilogic Systems. All rights reserved.
* Author: BabuSubashChandar <code@zilogic.com> * Author: BabuSubashChandar <code@zilogic.com>
* *
* Based on configs/lpcxpresso-lpc1768/src/up_boot.c * Based on configs/lpcxpresso-lpc1768/src/lpc17_boot.c
* *
* Copyright (C) 2011 Gregory Nutt. All rights reserved. * Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,6 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/zkit-arm-1769/src/board_buttons.c * configs/zkit-arm-1769/src/lpc17_buttons.c
* arch/arm/src/board/board_buttons.c
* *
* Copyright (C) 2011 Zilogic Systems. All rights reserved. * Copyright (C) 2011 Zilogic Systems. All rights reserved.
* Author: Kannan <code@zilogic.com> * Author: Kannan <code@zilogic.com>

View File

@ -1,11 +1,10 @@
/************************************************************************************ /************************************************************************************
* configs/zkit-arm-1769/src/up_can.c * configs/zkit-arm-1769/src/lpc17_can.c
* arch/arm/src/board/up_can.c
* *
* Copyright (C) 2013 Zilogic Systems. All rights reserved. * Copyright (C) 2013 Zilogic Systems. All rights reserved.
* Author: Raashid Muhammed <code@zilogic.com> * Author: Raashid Muhammed <code@zilogic.com>
* *
* Based on configs/olimex-lpc1766stk/src/up_can.c * Based on configs/olimex-lpc1766stk/src/lpc17_can.c
* *
* Copyright (C) 2012 Gregory Nutt. All rights reserved. * Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,11 +1,10 @@
/************************************************************************************ /************************************************************************************
* configs/zkit-arm-1769/src/up_dac.c * configs/zkit-arm-1769/src/lpc17_dac.c
* arch/arm/src/board/up_dac.c
* *
* Copyright (C) 2013 Zilogic Systems. All rights reserved. * Copyright (C) 2013 Zilogic Systems. All rights reserved.
* Author: Kannan <code@nuttx.org> * Author: Kannan <code@nuttx.org>
* *
* Based on configs/stm3220g-eval/src/up_dac.c * Based on configs/stm3220g-eval/src/lpc17_dac.c
* *
* Copyright (C) 2012 Gregory Nutt. All rights reserved. * Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* configs/zkit-arm-1769/src/up_lcd.c * configs/zkit-arm-1769/src/lpc17_lcd.c
* *
* Copyright (C) 2013 Zilogic Systems. All rights reserved. * Copyright (C) 2013 Zilogic Systems. All rights reserved.
* Author: Manikandan <code@zilogic.com> * Author: Manikandan <code@zilogic.com>
@ -64,7 +64,7 @@
#ifdef CONFIG_NX_LCDDRIVER #ifdef CONFIG_NX_LCDDRIVER
/**************************************************************************** /****************************************************************************
* Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/* Enables debug output from this file (needs CONFIG_DEBUG with /* Enables debug output from this file (needs CONFIG_DEBUG with

View File

@ -1,10 +1,10 @@
/**************************************************************************** /****************************************************************************
* configs/zkit-arm-1769/src/up_leds.c * configs/zkit-arm-1769/src/lpc17_leds.c
* *
* Copyright (C) 2013 Zilogic Systems. All rights reserved. * Copyright (C) 2013 Zilogic Systems. All rights reserved.
* Author: BabuSubashChandar <code@zilogic.com> * Author: BabuSubashChandar <code@zilogic.com>
* *
* Based on configs/lpcxpresso-lpc1768/src/up_leds.c * Based on configs/lpcxpresso-lpc1768/src/lpc17_leds.c
* *
* Copyright (C) 2011 Gregory Nutt. All rights reserved. * Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>

View File

@ -1,11 +1,10 @@
/**************************************************************************** /****************************************************************************
* config/zkit-arm-1769/src/up_nsh.c * config/zkit-arm-1769/src/lpc17_nsh.c
* arch/arm/src/board/up_nsh.c
* *
* Copyright (C) 2013 Zilogic Systems. All rights reserved. * Copyright (C) 2013 Zilogic Systems. All rights reserved.
* Author: BabuSubashChandar <code@zilogic.com> * Author: BabuSubashChandar <code@zilogic.com>
* *
* Based on config/lpcxpresso-lpc1768/src/up_nsh.c * Based on config/lpcxpresso-lpc1768/src/lpc17_nsh.c
* *
* Copyright (C) 2011 Gregory Nutt. All rights reserved. * Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -54,7 +53,7 @@
#include "lpc17_spi.h" #include "lpc17_spi.h"
/**************************************************************************** /****************************************************************************
* Pre-Processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/* Configuration ************************************************************/ /* Configuration ************************************************************/

View File

@ -1,6 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/zkit-arm-1769/src/up_spi.c * configs/zkit-arm-1769/src/lpc17_spi.c
* arch/arm/src/board/up_spi.c
* *
* Copyright (C) 2013 Zilogic Systems. All rights reserved. * Copyright (C) 2013 Zilogic Systems. All rights reserved.
* Author: Kannan <code@zilogic.com> * Author: Kannan <code@zilogic.com>
@ -61,7 +60,7 @@
#if defined(CONFIG_LPC17_SPI) #if defined(CONFIG_LPC17_SPI)
/************************************************************************************ /************************************************************************************
* Definitions * Pre-processor Definitions
************************************************************************************/ ************************************************************************************/
/* CONFIG_DEBUG_SPI enables debug output from this file (needs CONFIG_DEBUG too) */ /* CONFIG_DEBUG_SPI enables debug output from this file (needs CONFIG_DEBUG too) */

View File

@ -1,11 +1,10 @@
/************************************************************************************ /************************************************************************************
* configs/zkit-arm-1769/src/up_ssp.c * configs/zkit-arm-1769/src/lpc17_ssp.c
* arch/arm/src/board/up_ssp.c
* *
* Copyright (C) 2013 Zilogic Systems. All rights reserved. * Copyright (C) 2013 Zilogic Systems. All rights reserved.
* Author: BabuSubashChandar <code@zilogic.com> * Author: BabuSubashChandar <code@zilogic.com>
* *
* Based on configs/lpcxpresso-lpc1768/src/up_ssp.c * Based on configs/lpcxpresso-lpc1768/src/lpc17_ssp.c
* *
* Copyright (C) 2011 Gregory Nutt. All rights reserved. * Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -61,7 +60,7 @@
#if defined(CONFIG_LPC17_SSP0) || defined(CONFIG_LPC17_SSP1) #if defined(CONFIG_LPC17_SSP0) || defined(CONFIG_LPC17_SSP1)
/************************************************************************************ /************************************************************************************
* Definitions * Pre-processor Definitions
************************************************************************************/ ************************************************************************************/
/* CONFIG_DEBUG_SPI enables debug output from this file (needs CONFIG_DEBUG too) */ /* CONFIG_DEBUG_SPI enables debug output from this file (needs CONFIG_DEBUG too) */

View File

@ -1,10 +1,10 @@
/**************************************************************************** /****************************************************************************
* configs/zkit-arm-1769/src/up_usbmsc.c * configs/zkit-arm-1769/src/lpc17_usbmsc.c
* *
* Copyright (C) 2013 Zilogic Systems. All rights reserved. * Copyright (C) 2013 Zilogic Systems. All rights reserved.
* Author: BabuSubashChandar <code@zilogic.com> * Author: BabuSubashChandar <code@zilogic.com>
* *
* Based on configs/lpcxpresso-lpc1768/src/up_usbmsc.c * Based on configs/lpcxpresso-lpc1768/src/lpc17_usbmsc.c
* *
* Copyright (C) 2011 Gregory Nutt. All rights reserved. * Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -57,7 +57,7 @@
#include "zkitarm_internal.h" #include "zkitarm_internal.h"
/**************************************************************************** /****************************************************************************
* Pre-Processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/* Configuration ************************************************************/ /* Configuration ************************************************************/

View File

@ -1,6 +1,5 @@
/************************************************************************************ /************************************************************************************
* configs/zkit-arm-1769/src/zkitarm_internal.h * configs/zkit-arm-1769/src/zkitarm_internal.h
* arch/arm/src/board/zkitarm_internal.n
* *
* Copyright (C) 2013 Zilogic Systems. All rights reserved. * Copyright (C) 2013 Zilogic Systems. All rights reserved.
* Author: BabuSubashChandar <code@zilogic.com> * Author: BabuSubashChandar <code@zilogic.com>
@ -50,7 +49,7 @@
#include <nuttx/compiler.h> #include <nuttx/compiler.h>
/************************************************************************************ /************************************************************************************
* Definitions * Pre-processor Definitions
************************************************************************************/ ************************************************************************************/
/************************************************************************************ /************************************************************************************
* ZKit-ARM-1769 Pin Usage * ZKit-ARM-1769 Pin Usage