From 74bb7567423c162e6abd7fcb239259feb581a2c7 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 21 Mar 2015 10:20:42 -0600 Subject: [PATCH] zkit lpc1768: Rename files for better conformance to naming conventions --- configs/zkit-arm-1769/src/Makefile | 14 +++++++------- .../zkit-arm-1769/src/{up_adc.c => lpc17_adc.c} | 7 +++---- .../zkit-arm-1769/src/{up_boot.c => lpc17_boot.c} | 4 ++-- .../src/{up_buttons.c => lpc17_buttons.c} | 3 +-- .../zkit-arm-1769/src/{up_can.c => lpc17_can.c} | 5 ++--- .../zkit-arm-1769/src/{up_dac.c => lpc17_dac.c} | 5 ++--- .../zkit-arm-1769/src/{up_lcd.c => lpc17_lcd.c} | 4 ++-- .../zkit-arm-1769/src/{up_leds.c => lpc17_leds.c} | 4 ++-- .../zkit-arm-1769/src/{up_nsh.c => lpc17_nsh.c} | 7 +++---- .../zkit-arm-1769/src/{up_spi.c => lpc17_spi.c} | 5 ++--- .../zkit-arm-1769/src/{up_ssp.c => lpc17_ssp.c} | 7 +++---- .../src/{up_usbmsc.c => lpc17_usbmsc.c} | 6 +++--- configs/zkit-arm-1769/src/zkitarm_internal.h | 3 +-- 13 files changed, 33 insertions(+), 41 deletions(-) rename configs/zkit-arm-1769/src/{up_adc.c => lpc17_adc.c} (96%) rename configs/zkit-arm-1769/src/{up_boot.c => lpc17_boot.c} (97%) rename configs/zkit-arm-1769/src/{up_buttons.c => lpc17_buttons.c} (98%) rename configs/zkit-arm-1769/src/{up_can.c => lpc17_can.c} (97%) rename configs/zkit-arm-1769/src/{up_dac.c => lpc17_dac.c} (96%) rename configs/zkit-arm-1769/src/{up_lcd.c => lpc17_lcd.c} (98%) rename configs/zkit-arm-1769/src/{up_leds.c => lpc17_leds.c} (98%) rename configs/zkit-arm-1769/src/{up_nsh.c => lpc17_nsh.c} (97%) rename configs/zkit-arm-1769/src/{up_spi.c => lpc17_spi.c} (98%) rename configs/zkit-arm-1769/src/{up_ssp.c => lpc17_ssp.c} (98%) rename configs/zkit-arm-1769/src/{up_usbmsc.c => lpc17_usbmsc.c} (97%) diff --git a/configs/zkit-arm-1769/src/Makefile b/configs/zkit-arm-1769/src/Makefile index 351f2cd002..15a56ec92b 100644 --- a/configs/zkit-arm-1769/src/Makefile +++ b/configs/zkit-arm-1769/src/Makefile @@ -41,30 +41,30 @@ -include $(TOPDIR)/Make.defs 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) -CSRCS += up_nsh.c +CSRCS += lpc17_nsh.c endif ifeq ($(CONFIG_USBMSC),y) -CSRCS += up_usbmsc.c +CSRCS += lpc17_usbmsc.c endif ifeq ($(CONFIG_ADC),y) -CSRCS += up_adc.c +CSRCS += lpc17_adc.c endif ifeq ($(CONFIG_DAC),y) -CSRCS += up_dac.c +CSRCS += lpc17_dac.c endif ifeq ($(CONFIG_CAN),y) -CSRCS += up_can.c +CSRCS += lpc17_can.c endif ifeq ($(CONFIG_LPC17_SPI),y) -CSRCS += up_spi.c +CSRCS += lpc17_spi.c endif AOBJS = $(ASRCS:.S=$(OBJEXT)) diff --git a/configs/zkit-arm-1769/src/up_adc.c b/configs/zkit-arm-1769/src/lpc17_adc.c similarity index 96% rename from configs/zkit-arm-1769/src/up_adc.c rename to configs/zkit-arm-1769/src/lpc17_adc.c index b76cdfbc75..932f8214cc 100644 --- a/configs/zkit-arm-1769/src/up_adc.c +++ b/configs/zkit-arm-1769/src/lpc17_adc.c @@ -1,11 +1,10 @@ /************************************************************************************ - * configs/zkit-arm-1769/src/up_adc.c - * arch/arm/src/board/up_adc.c + * configs/zkit-arm-1769/src/lpc17_adc.c * * Copyright (C) 2013 Zilogic Systems. All rights reserved. * Author: Kannan * - * 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. * Author: Gregory Nutt @@ -60,7 +59,7 @@ #ifdef CONFIG_ADC /************************************************************************************ - * Definitions + * Pre-processor Definitions ************************************************************************************/ /************************************************************************************ diff --git a/configs/zkit-arm-1769/src/up_boot.c b/configs/zkit-arm-1769/src/lpc17_boot.c similarity index 97% rename from configs/zkit-arm-1769/src/up_boot.c rename to configs/zkit-arm-1769/src/lpc17_boot.c index 9251aec24a..da81057fe4 100644 --- a/configs/zkit-arm-1769/src/up_boot.c +++ b/configs/zkit-arm-1769/src/lpc17_boot.c @@ -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. * Author: BabuSubashChandar * - * 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. * Author: Gregory Nutt diff --git a/configs/zkit-arm-1769/src/up_buttons.c b/configs/zkit-arm-1769/src/lpc17_buttons.c similarity index 98% rename from configs/zkit-arm-1769/src/up_buttons.c rename to configs/zkit-arm-1769/src/lpc17_buttons.c index fa6959a0bb..c7990a2753 100644 --- a/configs/zkit-arm-1769/src/up_buttons.c +++ b/configs/zkit-arm-1769/src/lpc17_buttons.c @@ -1,6 +1,5 @@ /**************************************************************************** - * configs/zkit-arm-1769/src/board_buttons.c - * arch/arm/src/board/board_buttons.c + * configs/zkit-arm-1769/src/lpc17_buttons.c * * Copyright (C) 2011 Zilogic Systems. All rights reserved. * Author: Kannan diff --git a/configs/zkit-arm-1769/src/up_can.c b/configs/zkit-arm-1769/src/lpc17_can.c similarity index 97% rename from configs/zkit-arm-1769/src/up_can.c rename to configs/zkit-arm-1769/src/lpc17_can.c index eaec05696b..5bc6b94410 100644 --- a/configs/zkit-arm-1769/src/up_can.c +++ b/configs/zkit-arm-1769/src/lpc17_can.c @@ -1,11 +1,10 @@ /************************************************************************************ - * configs/zkit-arm-1769/src/up_can.c - * arch/arm/src/board/up_can.c + * configs/zkit-arm-1769/src/lpc17_can.c * * Copyright (C) 2013 Zilogic Systems. All rights reserved. * Author: Raashid Muhammed * - * 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. * Author: Gregory Nutt diff --git a/configs/zkit-arm-1769/src/up_dac.c b/configs/zkit-arm-1769/src/lpc17_dac.c similarity index 96% rename from configs/zkit-arm-1769/src/up_dac.c rename to configs/zkit-arm-1769/src/lpc17_dac.c index 5d66c56f35..e7399174e7 100644 --- a/configs/zkit-arm-1769/src/up_dac.c +++ b/configs/zkit-arm-1769/src/lpc17_dac.c @@ -1,11 +1,10 @@ /************************************************************************************ - * configs/zkit-arm-1769/src/up_dac.c - * arch/arm/src/board/up_dac.c + * configs/zkit-arm-1769/src/lpc17_dac.c * * Copyright (C) 2013 Zilogic Systems. All rights reserved. * Author: Kannan * - * 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. * Author: Gregory Nutt diff --git a/configs/zkit-arm-1769/src/up_lcd.c b/configs/zkit-arm-1769/src/lpc17_lcd.c similarity index 98% rename from configs/zkit-arm-1769/src/up_lcd.c rename to configs/zkit-arm-1769/src/lpc17_lcd.c index fec99ede62..3ccda6f8a4 100644 --- a/configs/zkit-arm-1769/src/up_lcd.c +++ b/configs/zkit-arm-1769/src/lpc17_lcd.c @@ -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. * Author: Manikandan @@ -64,7 +64,7 @@ #ifdef CONFIG_NX_LCDDRIVER /**************************************************************************** - * Definitions + * Pre-processor Definitions ****************************************************************************/ /* Enables debug output from this file (needs CONFIG_DEBUG with diff --git a/configs/zkit-arm-1769/src/up_leds.c b/configs/zkit-arm-1769/src/lpc17_leds.c similarity index 98% rename from configs/zkit-arm-1769/src/up_leds.c rename to configs/zkit-arm-1769/src/lpc17_leds.c index b10d0c5594..07850856d3 100644 --- a/configs/zkit-arm-1769/src/up_leds.c +++ b/configs/zkit-arm-1769/src/lpc17_leds.c @@ -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. * Author: BabuSubashChandar * - * 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. * Author: Gregory Nutt diff --git a/configs/zkit-arm-1769/src/up_nsh.c b/configs/zkit-arm-1769/src/lpc17_nsh.c similarity index 97% rename from configs/zkit-arm-1769/src/up_nsh.c rename to configs/zkit-arm-1769/src/lpc17_nsh.c index 5e28d637dc..0799456ff9 100644 --- a/configs/zkit-arm-1769/src/up_nsh.c +++ b/configs/zkit-arm-1769/src/lpc17_nsh.c @@ -1,11 +1,10 @@ /**************************************************************************** - * config/zkit-arm-1769/src/up_nsh.c - * arch/arm/src/board/up_nsh.c + * config/zkit-arm-1769/src/lpc17_nsh.c * * Copyright (C) 2013 Zilogic Systems. All rights reserved. * Author: BabuSubashChandar * - * 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. * Author: Gregory Nutt @@ -54,7 +53,7 @@ #include "lpc17_spi.h" /**************************************************************************** - * Pre-Processor Definitions + * Pre-processor Definitions ****************************************************************************/ /* Configuration ************************************************************/ diff --git a/configs/zkit-arm-1769/src/up_spi.c b/configs/zkit-arm-1769/src/lpc17_spi.c similarity index 98% rename from configs/zkit-arm-1769/src/up_spi.c rename to configs/zkit-arm-1769/src/lpc17_spi.c index d1bdb11d82..364d149dce 100644 --- a/configs/zkit-arm-1769/src/up_spi.c +++ b/configs/zkit-arm-1769/src/lpc17_spi.c @@ -1,6 +1,5 @@ /************************************************************************************ - * configs/zkit-arm-1769/src/up_spi.c - * arch/arm/src/board/up_spi.c + * configs/zkit-arm-1769/src/lpc17_spi.c * * Copyright (C) 2013 Zilogic Systems. All rights reserved. * Author: Kannan @@ -61,7 +60,7 @@ #if defined(CONFIG_LPC17_SPI) /************************************************************************************ - * Definitions + * Pre-processor Definitions ************************************************************************************/ /* CONFIG_DEBUG_SPI enables debug output from this file (needs CONFIG_DEBUG too) */ diff --git a/configs/zkit-arm-1769/src/up_ssp.c b/configs/zkit-arm-1769/src/lpc17_ssp.c similarity index 98% rename from configs/zkit-arm-1769/src/up_ssp.c rename to configs/zkit-arm-1769/src/lpc17_ssp.c index 4f640fe9d7..30a792f4f4 100644 --- a/configs/zkit-arm-1769/src/up_ssp.c +++ b/configs/zkit-arm-1769/src/lpc17_ssp.c @@ -1,11 +1,10 @@ /************************************************************************************ - * configs/zkit-arm-1769/src/up_ssp.c - * arch/arm/src/board/up_ssp.c + * configs/zkit-arm-1769/src/lpc17_ssp.c * * Copyright (C) 2013 Zilogic Systems. All rights reserved. * Author: BabuSubashChandar * - * 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. * Author: Gregory Nutt @@ -61,7 +60,7 @@ #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) */ diff --git a/configs/zkit-arm-1769/src/up_usbmsc.c b/configs/zkit-arm-1769/src/lpc17_usbmsc.c similarity index 97% rename from configs/zkit-arm-1769/src/up_usbmsc.c rename to configs/zkit-arm-1769/src/lpc17_usbmsc.c index a1703e52e3..6c6a8764c3 100644 --- a/configs/zkit-arm-1769/src/up_usbmsc.c +++ b/configs/zkit-arm-1769/src/lpc17_usbmsc.c @@ -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. * Author: BabuSubashChandar * - * 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. * Author: Gregory Nutt @@ -57,7 +57,7 @@ #include "zkitarm_internal.h" /**************************************************************************** - * Pre-Processor Definitions + * Pre-processor Definitions ****************************************************************************/ /* Configuration ************************************************************/ diff --git a/configs/zkit-arm-1769/src/zkitarm_internal.h b/configs/zkit-arm-1769/src/zkitarm_internal.h index 6a4542c4be..82a466285a 100644 --- a/configs/zkit-arm-1769/src/zkitarm_internal.h +++ b/configs/zkit-arm-1769/src/zkitarm_internal.h @@ -1,6 +1,5 @@ /************************************************************************************ * configs/zkit-arm-1769/src/zkitarm_internal.h - * arch/arm/src/board/zkitarm_internal.n * * Copyright (C) 2013 Zilogic Systems. All rights reserved. * Author: BabuSubashChandar @@ -50,7 +49,7 @@ #include /************************************************************************************ - * Definitions + * Pre-processor Definitions ************************************************************************************/ /************************************************************************************ * ZKit-ARM-1769 Pin Usage