Update ZNEO to use ZDS-II 4.11.1

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2956 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2010-10-01 01:07:04 +00:00
parent 73d21f8508
commit 9057e33f39
5 changed files with 23 additions and 14 deletions

View File

@ -1,6 +1,8 @@
README.txt README.txt
^^^^^^^^^^ ^^^^^^^^^^
This is the README file for the NuttX port to the ZiLog ZNEO MCU.
ZDS-II Compiler Versions ZDS-II Compiler Versions
^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^
@ -23,10 +25,17 @@ ZDS-II Compiler Versions
- The Pascal add-on interpreter includes a large switch statement and - The Pascal add-on interpreter includes a large switch statement and
exposes another compiler problem. This is reported as incident 81459. exposes another compiler problem. This is reported as incident 81459.
If you use any version of ZDS-II other than 4.11.0 or if you install ZDS-II 4.11.1
As of this writing (30 September 2010), the latest release of ZDS-II for the
ZNEO is 4.11.1. It is unknown if this release includes fixes for incidents
81400 and 81459 or not. It is unknown if the code will run without -reduceopt
either. (Basically, it compiles with 4.11.1, but is untested with that version).
If you use any version of ZDS-II other than 4.11.1 or if you install ZDS-II
at any location other than the default location, you will have to modify at any location other than the default location, you will have to modify
two files: (1) configs/z16f2800100zcog/*/setenv.sh and (2) two files: (1) configs/z16f2800100zcog/*/setenv.sh and (2)
configs/z16f2800100zcog/*/Make.defs. configs/z16f2800100zcog/*/Make.defs. Simply edit these two files, changing
4.11.1 to whatever.
Configuration Subdirectories Configuration Subdirectories
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -41,7 +50,7 @@ following steps:
cd <nuttx-top-directory>/tools cd <nuttx-top-directory>/tools
./configure.sh z16f2800100zcog/<sub-directory> ./configure.sh z16f2800100zcog/<sub-directory>
cd <nuttx-top-directgory> cd <nuttx-top-directory>
make make
Where <sub-directory> is the specific board configuration that you Where <sub-directory> is the specific board configuration that you

View File

@ -1,7 +1,7 @@
############################################################################ ############################################################################
# configs/z16f2800100zcog/ostest/Make.defs # configs/z16f2800100zcog/ostest/Make.defs
# #
# Copyright (C) 2008 Gregory Nutt. All rights reserved. # Copyright (C) 2008, 2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr> # Author: Gregory Nutt <spudmonkey@racsa.co.cr>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -37,7 +37,7 @@ include ${TOPDIR}/.config
# These are the directories where the ZNeo-II toolchain is installed # These are the directories where the ZNeo-II toolchain is installed
ZDSINSTALLDIR := C:/Program\ Files/ZiLOG/ZDSII_ZNEO_4.11.0 ZDSINSTALLDIR := C:/Program\ Files/ZiLOG/ZDSII_ZNEO_4.11.1
ZDSBINDIR := $(ZDSINSTALLDIR)/bin ZDSBINDIR := $(ZDSINSTALLDIR)/bin
ZDSSTDINCDIR := $(ZDSINSTALLDIR)/include/std ZDSSTDINCDIR := $(ZDSINSTALLDIR)/include/std
ZDSZILOGINCDIR := $(ZDSINSTALLDIR)/include/zilog ZDSZILOGINCDIR := $(ZDSINSTALLDIR)/include/zilog

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# configs/z16f2800100zcog/ostest/setenv.sh # configs/z16f2800100zcog/ostest/setenv.sh
# #
# Copyright (C) 2008 Gregory Nutt. All rights reserved. # Copyright (C) 2008, 2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr> # Author: Gregory Nutt <spudmonkey@racsa.co.cr>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -42,9 +42,9 @@ fi
# The ZDS-II toolchain lies outside of the Cygwin "sandbox" and # The ZDS-II toolchain lies outside of the Cygwin "sandbox" and
# attempts to set the PATH variable do not have the desired effect. # attempts to set the PATH variable do not have the desired effect.
# Instead, alias are provided for all of the ZDS-II command line tools. # Instead, alias are provided for all of the ZDS-II command line tools.
# Version 4.11.0 installed in the default location is assumed here. # Version 4.11.1 installed in the default location is assumed here.
# #
ZDSBINDIR="C:/Program\ Files/ZiLOG/ZDSII_ZNEO_4.11.0/bin" ZDSBINDIR="C:/Program\ Files/ZiLOG/ZDSII_ZNEO_4.11.1/bin"
alias zneoasm="${ZDSBINDIR}/zneoasm.exe" alias zneoasm="${ZDSBINDIR}/zneoasm.exe"
alias zneocc="${ZDSBINDIR}/zneocc.exe" alias zneocc="${ZDSBINDIR}/zneocc.exe"
alias zneolib="${ZDSBINDIR}/zneolib.exe" alias zneolib="${ZDSBINDIR}/zneolib.exe"

View File

@ -1,7 +1,7 @@
############################################################################ ############################################################################
# configs/z16f2800100zcog/pashello/Make.defs # configs/z16f2800100zcog/pashello/Make.defs
# #
# Copyright (C) 2008 Gregory Nutt. All rights reserved. # Copyright (C) 2008, 2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr> # Author: Gregory Nutt <spudmonkey@racsa.co.cr>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -37,7 +37,7 @@ include ${TOPDIR}/.config
# These are the directories where the ZNeo-II toolchain is installed # These are the directories where the ZNeo-II toolchain is installed
ZDSINSTALLDIR := C:/Program\ Files/ZiLOG/ZDSII_ZNEO_4.11.0 ZDSINSTALLDIR := C:/Program\ Files/ZiLOG/ZDSII_ZNEO_4.11.1
ZDSBINDIR := $(ZDSINSTALLDIR)/bin ZDSBINDIR := $(ZDSINSTALLDIR)/bin
ZDSSTDINCDIR := $(ZDSINSTALLDIR)/include/std ZDSSTDINCDIR := $(ZDSINSTALLDIR)/include/std
ZDSZILOGINCDIR := $(ZDSINSTALLDIR)/include/zilog ZDSZILOGINCDIR := $(ZDSINSTALLDIR)/include/zilog

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# z16f2800100zcog/setenv.sh # z16f2800100zcog/setenv.sh
# #
# Copyright (C) 2008 Gregory Nutt. All rights reserved. # Copyright (C) 2008, 2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr> # Author: Gregory Nutt <spudmonkey@racsa.co.cr>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -42,10 +42,10 @@ fi
# The ZDS-II toolchain lies outside of the Cygwin "sandbox" and # The ZDS-II toolchain lies outside of the Cygwin "sandbox" and
# attempts to set the PATH variable do not have the desired effect. # attempts to set the PATH variable do not have the desired effect.
# Instead, alias are provided for all of the ZDS-II command line tools. # Instead, alias are provided for all of the ZDS-II command line tools.
# Version 4.11.0 installed in the default location is assumed here. # Version 4.11.1 installed in the default location is assumed here.
# #
ZDSBINDIR="C:/Program\ Files/ZiLOG/ZDSII_ZNEO_4.11.0/bin" ZDSBINDIR="C:/Program\ Files/ZiLOG/ZDSII_ZNEO_4.11.1/bin"
alias zneoasm="${ZDSBINDIR}/zneoasm.exe" alias zneoasm="${ZDSBINDIR}/zneoasm.exe"
alias zneocc="${ZDSBINDIR}/zneocc.exe" alias zneocc="${ZDSBINDIR}/zneocc.exe"
alias zneolib="${ZDSBINDIR}/zneolib.exe" alias zneolib="${ZDSBINDIR}/zneolib.exe"
alias zneolink="${ZDSBINDIR}/zneolink.exe" alias zneolink="${ZDSBINDIR}/zneolink.exe"