Rename mc9s12ne64 directories and files to just m9s12

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3288 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2011-02-13 20:00:48 +00:00
parent ad68fbaf5a
commit 0ee8a32ac9
22 changed files with 229 additions and 100 deletions

View File

@ -1,7 +1,7 @@
/************************************************************************************
* arch/hc/include/mc9s12ne64/irq.h
* arch/hc/include/m9s12/irq.h
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@ -37,8 +37,8 @@
* only indirectly through nuttx/irq.h
*/
#ifndef __ARCH_HC_INCLUDE_MC9S12NE64_IRQ_H
#define __ARCH_HC_INCLUDE_MC9S12NE64_IRQ_H
#ifndef __ARCH_HC_INCLUDE_M9S12_IRQ_H
#define __ARCH_HC_INCLUDE_M9S12_IRQ_H
/************************************************************************************
* Included Files
@ -126,4 +126,4 @@ extern "C" {
#endif
#endif
#endif /* __ARCH_HC_INCLUDE_MC9S12NE64_IRQ_H */
#endif /* __ARCH_HC_INCLUDE_M9S12_IRQ_H */

View File

@ -1,7 +1,7 @@
############################################################################
# arch/arm/src/stm32/Make.defs
# arch/arm/src/m9s12/Make.defs
#
# Copyright (C) 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2009,2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -33,7 +33,7 @@
#
############################################################################
HEAD_ASRC = mc9s12ne64_vectors.S
HEAD_ASRC = m9s12_vectors.S
CMN_ASRCS =
CMN_CSRCS = up_allocateheap.c up_createstack.c up_idle.c up_initialize.c \
@ -41,5 +41,5 @@ CMN_CSRCS = up_allocateheap.c up_createstack.c up_idle.c up_initialize.c \
up_modifyreg32.c up_modifyreg8.c up_puts.c up_releasestack.c \
up_udelay.c up_usestack.c
CHIP_ASRCS = mc9s12ne64_start.S mc9s12ne64_lowputc.S
CHIP_CSRCS = mc9s12ne64_serial.c
CHIP_ASRCS = m9s12_start.S m9s12_lowputc.S
CHIP_CSRCS = m9s12_serial.c m9s12_irq.c

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/hc/src/mc9s12ne64/chip.h
* arch/hc/src/m9s12/chip.h
*
* Copyright (C) 2009-2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_HC_SRC_MC9S12NE64_CHIP_H
#define __ARCH_HC_SRC_MC9S12NE64_CHIP_H
#ifndef __ARCH_HC_SRC_M9S12_CHIP_H
#define __ARCH_HC_SRC_M9S12_CHIP_H
/************************************************************************************
* Included Files
@ -99,4 +99,4 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_HC_SRC_MC9S12NE64_CHIP_H */
#endif /* __ARCH_HC_SRC_M9S12_CHIP_H */

View File

@ -1,5 +1,6 @@
/************************************************************************************
* arch/hc/src/mc9s12ne64/mc9s12ne64_atd10b8cv3.h
* arch/hc/src/m9s12/m9s12_atd.h
* Defintions for ATD10b8c v3
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@ -33,8 +34,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_ATD10B8CV3_H
#define __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_ATD10B8CV3_H
#ifndef __ARCH_ARM_HC_SRC_M9S12_M9S12_ATD_H
#define __ARCH_ARM_HC_SRC_M9S12_M9S12_ATD_H
/************************************************************************************
* Included Files
@ -319,4 +320,4 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_ATD10B8CV3_H */
#endif /* __ARCH_ARM_HC_SRC_M9S12_M9S12_ATD_H */

View File

@ -1,7 +1,7 @@
/************************************************************************************
* arch/hc/src/mc9s12ne64/mc9s12ne64_crgv4.h
* arch/hc/src/m9s12/m9s12_crg.h
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_CRGV4_H
#define __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_CRGV4_H
#ifndef __ARCH_ARM_HC_SRC_M9S12_M9S12_CRG_H
#define __ARCH_ARM_HC_SRC_M9S12_M9S12_CRG_H
/************************************************************************************
* Included Files
@ -137,4 +137,4 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_CRGV4_H */
#endif /* __ARCH_ARM_HC_SRC_M9S12_M9S12_CRG_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/hc/src/mc9s12ne64/mc9s12ne64_emacv1.h
* arch/hc/src/m9s12/m9s12_emac.h
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_EMACV1_H
#define __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_EMACV1_H
#ifndef __ARCH_ARM_HC_SRC_M9S12_M9S12_EMAC_H
#define __ARCH_ARM_HC_SRC_M9S12_M9S12_EMAC_H
/************************************************************************************
* Included Files
@ -245,4 +245,4 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_EMACV1_H */
#endif /* __ARCH_ARM_HC_SRC_M9S12_M9S12_EMAC_H */

View File

@ -1,7 +1,7 @@
/************************************************************************************
* arch/hc/src/mc9s12ne64/mc9s12ne64_flash.h
* arch/hc/src/m9s12/m9s12_flash.h
*
* Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
* Copyright (C) 2009-2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_FLASH_H
#define __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_FLASH_H
#ifndef __ARCH_ARM_HC_SRC_M9S12_M9S12_FLASH_H
#define __ARCH_ARM_HC_SRC_M9S12_M9S12_FLASH_H
/************************************************************************************
* Included Files
@ -54,7 +54,7 @@
* 0xc000-0xffff: 16Kb Fixed FLASH EEPROM (Page 3f)
* (see chip.h)
*
* The MC9S12NE64 implements 6 bits of the PPAGE register which gives it a
* The M9S12 implements 6 bits of the PPAGE register which gives it a
* 1 Mbyte program memory address space that is accessed through the PPAGE
* window. The lower 768K portion of the address space, accessed with PPAGE
* values $00 through $2F, is reserved for external memory when the part is
@ -206,4 +206,4 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_FLASH_H */
#endif /* __ARCH_ARM_HC_SRC_M9S12_M9S12_FLASH_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/hc/src/mc9s12ne64/mc9s12ne64_iicv2.h
* arch/hc/src/m9s12/m9s12_iic.h (v2)
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_IICV2_H
#define __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_IICV2_H
#ifndef __ARCH_ARM_HC_SRC_M9S124_M9S124_IIC_H
#define __ARCH_ARM_HC_SRC_M9S124_M9S124_IIC_H
/************************************************************************************
* Included Files
@ -105,4 +105,4 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_IICV2_H */
#endif /* __ARCH_ARM_HC_SRC_M9S124_M9S124_IIC_H */

View File

@ -1,7 +1,7 @@
/************************************************************************************
* arch/hc/src/mc9s12ne64/mc9s12ne64_intv1.h
* arch/hc/src/m9s12/m9s12_int.h (v1)
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Copyright (C) 2010-2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_INTV1_H
#define __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_INTV1_H
#ifndef __ARCH_ARM_HC_SRC_M9S12_M9S12_INT_H
#define __ARCH_ARM_HC_SRC_M9S12_M9S12_INT_H
/************************************************************************************
* Included Files
@ -100,4 +100,4 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_INTV1_H */
#endif /* __ARCH_ARM_HC_SRC_M9S12_M9S12_INT_H */

View File

@ -1,7 +1,7 @@
/************************************************************************************
* arch/hc/src/mc9s12ne64/mc9x12ne64_internal.h
* arch/hc/src/m9s12/m9s12_internal.h
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_HC_SRC_MC9S12NE64_MC9S12NE64_INTERNAL_H
#define __ARCH_HC_SRC_MC9S12NE64_MC9S12NE64_INTERNAL_H
#ifndef __ARCH_HC_SRC_M9S12_M9S12_INTERNAL_H
#define __ARCH_HC_SRC_M9S12_M9S12_INTERNAL_H
/************************************************************************************
* Included Files
@ -45,6 +45,7 @@
#ifndef __ASSEMBLY__
# include <stdint.h>
# include <stdbool.h>
# include <nuttx/spi.h>
#endif
#include "up_internal.h"
@ -126,8 +127,6 @@ EXTERN int hcs12_ethinitialize(int intf);
*
************************************************************************************/
struct spi_dev_s;
enum spi_dev_e;
EXTERN void hcs12_spiselect(FAR struct spi_dev_s *dev, enum spi_dev_e devid, bool selected);
EXTERN uint8_t hcs12_spistatus(FAR struct spi_dev_s *dev, enum spi_dev_e devid);
@ -137,4 +136,4 @@ EXTERN uint8_t hcs12_spistatus(FAR struct spi_dev_s *dev, enum spi_dev_e devid);
#endif
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_HC_SRC_MC9S12NE64_MC9S12NE64_INTERNAL_H */
#endif /* __ARCH_HC_SRC_M9S12_M9S12_INTERNAL_H */

129
arch/hc/src/m9s12/m9s12_irq.c Executable file
View File

@ -0,0 +1,129 @@
/****************************************************************************
* arch/arm/src/m9s12/m9s12_irq.c
* arch/arm/src/chip/m9s12_irq.c
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
****************************************************************************/
/****************************************************************************
* Included Files
****************************************************************************/
#include <nuttx/config.h>
#include <stdint.h>
#include <debug.h>
#include <nuttx/irq.h>
#include <nuttx/arch.h>
#include <arch/irq.h>
#include "up_arch.h"
#include "os_internal.h"
#include "up_internal.h"
#include "m9s12_internal.h"
/****************************************************************************
* Definitions
****************************************************************************/
/****************************************************************************
* Public Data
****************************************************************************/
uint16_t *current_regs;
/****************************************************************************
* Private Data
****************************************************************************/
/****************************************************************************
* Private Functions
****************************************************************************/
/****************************************************************************
* Public Functions
****************************************************************************/
/****************************************************************************
* Name: up_irqinitialize
****************************************************************************/
void up_irqinitialize(void)
{
/* Disable all interrupts */
#warning "Missing Logic"
/* currents_regs is non-NULL only while processing an interrupt */
current_regs = NULL;
}
/****************************************************************************
* Name: up_disable_irq
*
* Description:
* Disable the IRQ specified by 'irq'
*
****************************************************************************/
void up_disable_irq(int irq)
{
#warning "Missing Logic"
}
/****************************************************************************
* Name: up_enable_irq
*
* Description:
* Enable the IRQ specified by 'irq'
*
****************************************************************************/
void up_enable_irq(int irq)
{
#warning "Missing Logic"
}
/****************************************************************************
* Name: up_maskack_irq
*
* Description:
* Mask the IRQ and acknowledge it
*
****************************************************************************/
void up_maskack_irq(int irq)
{
#warning "Missing Logic"
}

View File

@ -1,7 +1,7 @@
/**************************************************************************
* arch/arm/src/mc9s12ne64/mc9s12ne64_lowputc.S
* arch/arm/src/m9s12/m9s12_lowputc.S
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@ -40,8 +40,8 @@
#include <nuttx/config.h>
#include "up_internal.h"
#include "mc9s12ne64_internal.h"
#include "mc9s12ne64_flash.h"
#include "m9s12_internal.h"
#include "m9s12_flash.h"
/**************************************************************************
* Private Definitions

View File

@ -1,7 +1,7 @@
/************************************************************************************
* arch/hc/src/mc9s12ne64/mc9s12ne64_mebiv3.h
* arch/hc/src/m9s12/m9s12_mebi.h (v3)
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Copyright (C) 2010-2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_MEBIV3_H
#define __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_MEBIV3_H
#ifndef __ARCH_ARM_HC_SRC_M9S12_M9S12_MEBI_H
#define __ARCH_ARM_HC_SRC_M9S12_M9S12_MEBI_H
/************************************************************************************
* Included Files
@ -163,4 +163,4 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_MEBIV3_H */
#endif /* __ARCH_ARM_HC_SRC_M9S12_M9S12_MEBI_H */

View File

@ -1,7 +1,7 @@
/************************************************************************************
* arch/hc/src/mc9s12ne64/mc9s12ne64_mmcv4.h
* arch/hc/src/m9s12/m9s12_mmcv4.h (v4)
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Copyright (C) 2010-2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_MMCV4_H
#define __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_MMCV4_H
#ifndef __ARCH_ARM_HC_SRC_M9S12_M9S12_MMC_H
#define __ARCH_ARM_HC_SRC_M9S12_M9S12_MMC_H
/************************************************************************************
* Included Files
@ -165,4 +165,4 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_MMCV4_H */
#endif /* __ARCH_ARM_HC_SRC_M9S12_M9S12_MMC_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/hc/src/mc9s12ne64/mc9s12ne64_phyv2.h
* arch/hc/src/m9s12/m9s12_phyv2.h (v2)
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_PHYV2_H
#define __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_PHYV2_H
#ifndef __ARCH_ARM_HC_SRC_M9S12_M9S12_PHY_H
#define __ARCH_ARM_HC_SRC_M9S12_M9S12_PHY_H
/************************************************************************************
* Included Files
@ -94,4 +94,4 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_PHYV2_H */
#endif /* __ARCH_ARM_HC_SRC_M9S12_M9S12_PHY_H */

View File

@ -1,7 +1,7 @@
/************************************************************************************
* arch/hc/src/mc9s12ne64/mc9s12ne64_pim.h
* arch/hc/src/m9s12/m9s12_pim.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Copyright (C) 2010-2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_PIM_H
#define __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_PIM_H
#ifndef __ARCH_ARM_HC_SRC_M9S12_M9S12_PIM_H
#define __ARCH_ARM_HC_SRC_M9S12_M9S12_PIM_H
/************************************************************************************
* Included Files
@ -244,4 +244,4 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_PIM_H */
#endif /* __ARCH_ARM_HC_SRC_M9S12_M9S12_PIM_H */

View File

@ -1,7 +1,7 @@
/************************************************************************************
* arch/hc/src/mc9s12ne64/mc9s12ne64_sciv3.h
* arch/hc/src/m9s12/m9s12_sci.h (v3)
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Copyright (C) 2010-2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_SCIV3_H
#define __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_SCIV3_H
#ifndef __ARCH_ARM_HC_SRC_M9S12_M9S12_SCI_H
#define __ARCH_ARM_HC_SRC_M9S12_M9S12_SCI_H
/************************************************************************************
* Included Files
@ -153,4 +153,4 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_SCIV3_H */
#endif /* __ARCH_ARM_HC_SRC_M9S12_M9S12_SCI_H */

View File

@ -1,7 +1,7 @@
/****************************************************************************
* arch/hc/src/mc9s12ne64/mc9s12ne64_serial.c
* arch/hc/src/m9s12/m9s12_serial.c
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without

View File

@ -1,7 +1,7 @@
/************************************************************************************
* arch/hc/src/mc9s12ne64/mc9s12ne64_spiv3.h
* arch/hc/src/m9s12/m9s12_spi.h (v3)
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Copyright (C) 2010-2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_SPIV3_H
#define __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_SPIV3_H
#ifndef __ARCH_ARM_HC_SRC_M9S12_M9S12_SPI_H
#define __ARCH_ARM_HC_SRC_M9S12_M9S12_SPI_H
/************************************************************************************
* Included Files
@ -111,4 +111,4 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_SPIV3_H */
#endif /* __ARCH_ARM_HC_SRC_M9S12_M9S12_SPI_H */

View File

@ -1,8 +1,8 @@
/****************************************************************************
* arch/hc/src/mc9s12ne64/mc9s12ne64_start.S
* arch/hc/src/chip/mc9s12ne64_start.S
* arch/hc/src/m9s12/m9s12_start.S
* arch/hc/src/chip/m9s12_start.S
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@ -40,10 +40,10 @@
#include <nuttx/config.h>
#include "mc9s12ne64_internal.h"
#include "mc9s12ne64_mmcv4.h"
#include "mc9s12ne64_crgv4.h"
#include "mc9s12ne64_flash.h"
#include "m9s12_internal.h"
#include "m9s12_mmc.h"
#include "m9s12_crg.h"
#include "m9s12_flash.h"
/****************************************************************************
* Private Definitions
@ -59,7 +59,7 @@
.globl __start
.globl os_start
.file "mc9s12ne64_start.S"
.file "m9s12_start.S"
/****************************************************************************
* Macros

View File

@ -1,7 +1,7 @@
/************************************************************************************
* arch/hc/src/mc9s12ne64/mc9s12ne64_tim16b4cv1.h
* arch/hc/src/m9s12/m9s12_tim.h (TIM16b4c v1)
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Copyright (C) 2010-2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_TIM16B4V1_H
#define __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_TIM16B4V1_H
#ifndef __ARCH_ARM_HC_SRC_M9S12_M9S12_TIM_H
#define __ARCH_ARM_HC_SRC_M9S12_M9S12_TIM_H
/************************************************************************************
* Included Files
@ -243,4 +243,4 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_ARM_HC_SRC_MC9S12NE64_MC9S12NE64_TIM16B4V1_H */
#endif /* __ARCH_ARM_HC_SRC_M9S12_M9S12_TIM_H */

View File

@ -1,6 +1,6 @@
/************************************************************************************
* arch/hc/src/mc9s12ne64/mc9s12ne64_vectors.S
* arch/hc/src/chip/mc9s12ne64_vectors.S
* arch/hc/src/m9s12/m9s12_vectors.S
* arch/hc/src/chip/m9s12_vectors.S
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@ -50,7 +50,7 @@
************************************************************************************/
.globl __start
.file "mc9s12ne64_vectors.S"
.file "m9s12_vectors.S"
/************************************************************************************
* Macros