From ac328f9c36b1cd3a232f677f476210810d35eb04 Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 10 Mar 2008 23:37:56 +0000 Subject: [PATCH] Fixed of Z8F6423 -- still doesn't like correctly git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@732 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/ChangeLog | 1 + nuttx/Documentation/NuttX.html | 15 +++++++++++---- nuttx/Documentation/NuttxPortingGuide.html | 10 ++++++++-- nuttx/configs/README.txt | 5 +++++ nuttx/configs/z8encore000zco/include/board.h | 2 +- nuttx/configs/z8encore000zco/ostest/defconfig | 4 ++-- nuttx/configs/z8f64200100kit/README.txt | 10 +++++----- nuttx/configs/z8f64200100kit/include/board.h | 2 +- nuttx/configs/z8f64200100kit/ostest/Make.defs | 4 ++-- nuttx/configs/z8f64200100kit/ostest/defconfig | 6 +++--- .../configs/z8f64200100kit/ostest/ostest.linkcmd | 2 +- nuttx/configs/z8f64200100kit/ostest/setenv.sh | 2 +- nuttx/configs/z8f64200100kit/src/Makefile | 2 +- nuttx/configs/z8f64200100kit/src/z8_leds.c | 2 +- nuttx/configs/z8f64200100kit/src/z8_lowinit.c | 2 +- 15 files changed, 44 insertions(+), 25 deletions(-) diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index fcfa2d2da..8c577d55c 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -350,3 +350,4 @@ 0.3.10 2008-xx-xx Gregory Nutt * Add support for the ZiLOG EZ80Acclaim microcontrooler (EZ80F91 chip). + * Add configuration for the ZiLOG z8f64200100kit development kit, Z8F6423 part. diff --git a/nuttx/Documentation/NuttX.html b/nuttx/Documentation/NuttX.html index 18f8bbbdb..511aa8d8b 100644 --- a/nuttx/Documentation/NuttX.html +++ b/nuttx/Documentation/NuttX.html @@ -8,7 +8,7 @@

NuttX RTOS

-

Last Updated: March 9, 2008

+

Last Updated: March 10, 2008

@@ -464,7 +464,7 @@ These unreleased changes are listed here.

- nuttx-0.3.8 is a minor feature enhancement release. + nuttx-0.3.9 is a minor feature enhancement release. This release includes support for the ZiLOG Z8Encore! microcontroller. Also included is the initial framework for support for the Z80, XTRS platform. @@ -616,8 +616,14 @@

Zilog Z8Encore! Microncontroller. - This port use the Zilog z8encore000zco development kit, Z8F6403 part, and the Zilog - ZDS-II Windows command line tools. + This port uses the either: +

+ +

+ and the Zilog ZDS-II Windows command line tools. The development environment is Cygwin under WinXP.

@@ -981,6 +987,7 @@ buildroot-0.1.0 2007-03-09 <spudmonkey@racsa.co.cr> nuttx-0.3.10 2008-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> * Add support for the ZiLOG EZ80Acclaim microcontrooler (EZ80F91 chip). + * Add configuration for the ZiLOG z8f64200100kit development kit, Z8F6423 part. pascal-0.1.3 2008-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html index ba4de942a..cce8daa7d 100644 --- a/nuttx/Documentation/NuttxPortingGuide.html +++ b/nuttx/Documentation/NuttxPortingGuide.html @@ -447,8 +447,8 @@

  • arch/z80/include/z8 and arch/z80/src/z8: - The Z8Encore! port use the Zilog z8encore000zco - development kit, Z8F6403 part, and the Zilog ZDS-II Windows command line + The Z8Encore! port uses either the ZiLOG z8encore000zco development kit, Z8F6403 part, + or the z8f64200100kit development kit, Z8F6423 part with the Zilog ZDS-II Windows command line tools. The development environment is Cygwin under WinXP. This port is in progress and will be released in a future NuttX release.
  • @@ -656,6 +656,12 @@ tools. The development environment is Cygwin under WinXP. +
  • configs/z8encore000zco + z8Encore! Microcontroller. This port use the Zilog z8f64200100kit + development kit, Z8F6423 part, and the Zilog ZDS-II Windows command line + tools. The development environment is Cygwin under WinXP. +
  • +
  • configs/z80sim: z80 Microcontroller. This port uses a Z80 instruction set simulator. That simulator can be found in the NuttX CVS diff --git a/nuttx/configs/README.txt b/nuttx/configs/README.txt index 3f5f563fb..9d1e5bae3 100644 --- a/nuttx/configs/README.txt +++ b/nuttx/configs/README.txt @@ -348,6 +348,11 @@ configs/z8encore000zco development kit, Z8F6403 part, and the Zilog ZDS-II Windows command line tools. The development environment is Cygwin under WinXP. +configs/z8f64200100kit + z8Encore! Microcontroller. This port use the Zilog z8f64200100kit + development kit, Z8F6423 part, and the Zilog ZDS-II Windows command line + tools. The development environment is Cygwin under WinXP. + configs/z80sim z80 Microcontroller. This port uses a Z80 instruction set simulator. That simulator can be found in the NuttX CVS at diff --git a/nuttx/configs/z8encore000zco/include/board.h b/nuttx/configs/z8encore000zco/include/board.h index 64632bee4..dca9ca7d8 100644 --- a/nuttx/configs/z8encore000zco/include/board.h +++ b/nuttx/configs/z8encore000zco/include/board.h @@ -1,5 +1,5 @@ /**************************************************************************** - * arch/z8encore000zco/iclude/board.h + * arch/z8encore000zco/include/board.h * * Copyright (C) 2008 Gregory Nutt. All rights reserved. * Author: Gregory Nutt diff --git a/nuttx/configs/z8encore000zco/ostest/defconfig b/nuttx/configs/z8encore000zco/ostest/defconfig index 0725f16ec..8a8083b30 100644 --- a/nuttx/configs/z8encore000zco/ostest/defconfig +++ b/nuttx/configs/z8encore000zco/ostest/defconfig @@ -38,7 +38,7 @@ # CONFIG_ARCH - identifies the arch subdirectory and, hence, the # processor architecture. # CONFIG_ARCH_name - for use in C code. This identifies the particular -# processor architecture (CONFIG_ARCH_Z16). +# processor architecture (CONFIG_ARCH_Z8). # CONFIG_ARCH_CHIP - Identifies the specific chip or SoC that implements the # architecture. # CONFIG_ARCH_CHIP_chip - for use in C code. This identifies the @@ -71,7 +71,7 @@ CONFIG_ENDIAN_BIG=y CONFIG_DRAM_SIZE=65536 CONFIG_ARCH_LEDS=n # -# Z16F specific device driver settings +# eZ8 specific device driver settings # # CONFIG_UARTn_SERIAL_CONSOLE - selects the UARTn for the # console and ttyS0 (default is the UART0). diff --git a/nuttx/configs/z8f64200100kit/README.txt b/nuttx/configs/z8f64200100kit/README.txt index 92f5b5598..afe647565 100644 --- a/nuttx/configs/z8f64200100kit/README.txt +++ b/nuttx/configs/z8f64200100kit/README.txt @@ -30,22 +30,22 @@ ZDS-II Compiler Versions Other Versions If you use any version of ZDS-II other than 4.10.1 or if you install ZDS-II at any location other than the default location, you will have to modify - two files: (1) configs/z8f4200100kit/*/setenv.sh and (2) - configs/z8f4200100kit/*/Make.defs. + two files: (1) configs/z8f64200100kit/*/setenv.sh and (2) + configs/z8f64200100kit/*/Make.defs. Configuration Subdirectories ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - src/ and include/ - These directories contain common logic for all z8f4200100kit + These directories contain common logic for all z8f64200100kit configurations. -Variations on the basic z8f4200100kit configuration are maintained +Variations on the basic z8f64200100kit configuration are maintained in subdirectories. To configure any specific configuration, do the following steps: cd /tools - ./configure.sh z8f4200100kit/ + ./configure.sh z8f64200100kit/ cd make diff --git a/nuttx/configs/z8f64200100kit/include/board.h b/nuttx/configs/z8f64200100kit/include/board.h index 8a326ab13..0b87c7c8b 100644 --- a/nuttx/configs/z8f64200100kit/include/board.h +++ b/nuttx/configs/z8f64200100kit/include/board.h @@ -1,5 +1,5 @@ /**************************************************************************** - * arch/z8f4200100kit/include/board.h + * arch/z8f64200100kit/include/board.h * * Copyright (C) 2008 Gregory Nutt. All rights reserved. * Author: Gregory Nutt diff --git a/nuttx/configs/z8f64200100kit/ostest/Make.defs b/nuttx/configs/z8f64200100kit/ostest/Make.defs index 9c0e6ac11..8e2c0fa1e 100644 --- a/nuttx/configs/z8f64200100kit/ostest/Make.defs +++ b/nuttx/configs/z8f64200100kit/ostest/Make.defs @@ -1,5 +1,5 @@ ############################################################################ -# configs/z8f4200100kit/ostest/Make.defs +# configs/z8f64200100kit/ostest/Make.defs # # Copyright (C) 2008 Gregory Nutt. All rights reserved. # Author: Gregory Nutt @@ -133,7 +133,7 @@ ARFLAGS = -quiet -warn # Linker definitions -LINKCMDTEMPLATE = $(TOPDIR)/configs/z8f4200100kit/ostest/ostest.linkcmd +LINKCMDTEMPLATE = $(TOPDIR)/configs/z8f64200100kit/ostest/ostest.linkcmd # Tool names/pathes diff --git a/nuttx/configs/z8f64200100kit/ostest/defconfig b/nuttx/configs/z8f64200100kit/ostest/defconfig index fb0ce85d0..c7ed5aa40 100644 --- a/nuttx/configs/z8f64200100kit/ostest/defconfig +++ b/nuttx/configs/z8f64200100kit/ostest/defconfig @@ -1,5 +1,5 @@ ############################################################################ -# configs/z8f4200100kit/ostest/defconfig +# configs/z8f64200100kit/ostest/defconfig # # Copyright (C) 2008 Gregory Nutt. All rights reserved. # Author: Gregory Nutt @@ -64,8 +64,8 @@ CONFIG_ARCH_CHIP_Z8F640X=n CONFIG_ARCH_CHIP_Z8F6403=n CONFIG_ARCH_CHIP_Z8F642X=y CONFIG_ARCH_CHIP_Z8F6423=y -CONFIG_ARCH_BOARD=z8f4200100kit -CONFIG_ARCH_BOARD_Z8F4200100KIT=y +CONFIG_ARCH_BOARD=z8f64200100kit +CONFIG_ARCH_BOARD_Z8F64200100KIT=y CONFIG_BOARD_LOOPSPERMSEC=1250 CONFIG_ENDIAN_BIG=y CONFIG_DRAM_SIZE=65536 diff --git a/nuttx/configs/z8f64200100kit/ostest/ostest.linkcmd b/nuttx/configs/z8f64200100kit/ostest/ostest.linkcmd index bf84789d5..dde246220 100755 --- a/nuttx/configs/z8f64200100kit/ostest/ostest.linkcmd +++ b/nuttx/configs/z8f64200100kit/ostest/ostest.linkcmd @@ -1,5 +1,5 @@ /****************************************************************************/ -/* configs/z8f4200100kit/ostest/ostest.linkcmd */ +/* configs/z8f64200100kit/ostest/ostest.linkcmd */ /* */ /* Copyright (C) 2008 Gregory Nutt. All rights reserved. */ /* Author: Gregory Nutt */ diff --git a/nuttx/configs/z8f64200100kit/ostest/setenv.sh b/nuttx/configs/z8f64200100kit/ostest/setenv.sh index eded14489..1c4e29504 100755 --- a/nuttx/configs/z8f64200100kit/ostest/setenv.sh +++ b/nuttx/configs/z8f64200100kit/ostest/setenv.sh @@ -1,5 +1,5 @@ #!/bin/bash -# configs/z8f4200100kit/ostest/setenv.sh +# configs/z8f64200100kit/ostest/setenv.sh # # Copyright (C) 2008 Gregory Nutt. All rights reserved. # Author: Gregory Nutt diff --git a/nuttx/configs/z8f64200100kit/src/Makefile b/nuttx/configs/z8f64200100kit/src/Makefile index 177705b45..cb7c22108 100644 --- a/nuttx/configs/z8f64200100kit/src/Makefile +++ b/nuttx/configs/z8f64200100kit/src/Makefile @@ -1,5 +1,5 @@ ############################################################################ -# configs/z8f4200100kit/Makefile +# configs/z8f64200100kit/Makefile # # Copyright (C) 2008 Gregory Nutt. All rights reserved. # Author: Gregory Nutt diff --git a/nuttx/configs/z8f64200100kit/src/z8_leds.c b/nuttx/configs/z8f64200100kit/src/z8_leds.c index d1cdd935a..9b7e9cd88 100644 --- a/nuttx/configs/z8f64200100kit/src/z8_leds.c +++ b/nuttx/configs/z8f64200100kit/src/z8_leds.c @@ -1,5 +1,5 @@ /**************************************************************************** - * configs/z8f4200100kit/src/z8_leds.c + * configs/z8f64200100kit/src/z8_leds.c * * Copyright (C) 2008 Gregory Nutt. All rights reserved. * Author: Gregory Nutt diff --git a/nuttx/configs/z8f64200100kit/src/z8_lowinit.c b/nuttx/configs/z8f64200100kit/src/z8_lowinit.c index c2faefd3f..3cafe63b3 100644 --- a/nuttx/configs/z8f64200100kit/src/z8_lowinit.c +++ b/nuttx/configs/z8f64200100kit/src/z8_lowinit.c @@ -1,5 +1,5 @@ /*************************************************************************** - * configs/z8f4200100kit/src/z8_lowinit.c + * configs/z8f64200100kit/src/z8_lowinit.c * * Copyright (C) 2008 Gregory Nutt. All rights reserved. * Author: Gregory Nutt