From 990820d579eda71b8bef10b8f00c419799a2898d 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: svn://svn.code.sf.net/p/nuttx/code/trunk@732 42af7a65-404d-4744-a932-0658087f49c3 --- ChangeLog | 1 + Documentation/NuttX.html | 15 +++++++++++---- Documentation/NuttxPortingGuide.html | 10 ++++++++-- configs/README.txt | 5 +++++ configs/z8encore000zco/include/board.h | 2 +- configs/z8encore000zco/ostest/defconfig | 4 ++-- configs/z8f64200100kit/README.txt | 10 +++++----- configs/z8f64200100kit/include/board.h | 2 +- configs/z8f64200100kit/ostest/Make.defs | 4 ++-- configs/z8f64200100kit/ostest/defconfig | 6 +++--- configs/z8f64200100kit/ostest/ostest.linkcmd | 2 +- configs/z8f64200100kit/ostest/setenv.sh | 2 +- configs/z8f64200100kit/src/Makefile | 2 +- configs/z8f64200100kit/src/z8_leds.c | 2 +- configs/z8f64200100kit/src/z8_lowinit.c | 2 +- 15 files changed, 44 insertions(+), 25 deletions(-) diff --git a/ChangeLog b/ChangeLog index fcfa2d2da8..8c577d55c9 100644 --- a/ChangeLog +++ b/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/Documentation/NuttX.html b/Documentation/NuttX.html index 18f8bbbdbf..511aa8d8bb 100644 --- a/Documentation/NuttX.html +++ b/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/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index ba4de942ab..cce8daa7d3 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/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/configs/README.txt b/configs/README.txt index 3f5f563fb9..9d1e5bae34 100644 --- a/configs/README.txt +++ b/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/configs/z8encore000zco/include/board.h b/configs/z8encore000zco/include/board.h index 64632bee4f..dca9ca7d8c 100644 --- a/configs/z8encore000zco/include/board.h +++ b/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/configs/z8encore000zco/ostest/defconfig b/configs/z8encore000zco/ostest/defconfig index 0725f16ec6..8a8083b30d 100644 --- a/configs/z8encore000zco/ostest/defconfig +++ b/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/configs/z8f64200100kit/README.txt b/configs/z8f64200100kit/README.txt index 92f5b5598a..afe6475653 100644 --- a/configs/z8f64200100kit/README.txt +++ b/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/configs/z8f64200100kit/include/board.h b/configs/z8f64200100kit/include/board.h index 8a326ab13b..0b87c7c8b9 100644 --- a/configs/z8f64200100kit/include/board.h +++ b/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/configs/z8f64200100kit/ostest/Make.defs b/configs/z8f64200100kit/ostest/Make.defs index 9c0e6ac11d..8e2c0fa1ee 100644 --- a/configs/z8f64200100kit/ostest/Make.defs +++ b/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/configs/z8f64200100kit/ostest/defconfig b/configs/z8f64200100kit/ostest/defconfig index fb0ce85d08..c7ed5aa404 100644 --- a/configs/z8f64200100kit/ostest/defconfig +++ b/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/configs/z8f64200100kit/ostest/ostest.linkcmd b/configs/z8f64200100kit/ostest/ostest.linkcmd index bf84789d50..dde2462209 100755 --- a/configs/z8f64200100kit/ostest/ostest.linkcmd +++ b/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/configs/z8f64200100kit/ostest/setenv.sh b/configs/z8f64200100kit/ostest/setenv.sh index eded144899..1c4e29504e 100755 --- a/configs/z8f64200100kit/ostest/setenv.sh +++ b/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/configs/z8f64200100kit/src/Makefile b/configs/z8f64200100kit/src/Makefile index 177705b452..cb7c221083 100644 --- a/configs/z8f64200100kit/src/Makefile +++ b/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/configs/z8f64200100kit/src/z8_leds.c b/configs/z8f64200100kit/src/z8_leds.c index d1cdd935ad..9b7e9cd885 100644 --- a/configs/z8f64200100kit/src/z8_leds.c +++ b/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/configs/z8f64200100kit/src/z8_lowinit.c b/configs/z8f64200100kit/src/z8_lowinit.c index c2faefd3f8..3cafe63b3e 100644 --- a/configs/z8f64200100kit/src/z8_lowinit.c +++ b/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