summaryrefslogtreecommitdiff
path: root/nuttx/configs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-01-09 22:53:52 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-01-09 22:53:52 +0000
commit27bf9aa3312963e45f4721661ac1911d08ffc70a (patch)
tree701cdfce10e34e97b3d3d09e2f8148f9c648fb2b /nuttx/configs
parenta2c6c96d13de37908120dcae297530665836f8e8 (diff)
downloadpx4-nuttx-27bf9aa3312963e45f4721661ac1911d08ffc70a.tar.gz
px4-nuttx-27bf9aa3312963e45f4721661ac1911d08ffc70a.tar.bz2
px4-nuttx-27bf9aa3312963e45f4721661ac1911d08ffc70a.zip
Compiles with ZDS-II
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@540 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs')
-rw-r--r--nuttx/configs/z16f2800100zcog/Make.defs2
-rw-r--r--nuttx/configs/z16f2800100zcog/README.txt13
-rwxr-xr-xnuttx/configs/z16f2800100zcog/setenv.sh21
3 files changed, 27 insertions, 9 deletions
diff --git a/nuttx/configs/z16f2800100zcog/Make.defs b/nuttx/configs/z16f2800100zcog/Make.defs
index 3b11c96d0..7e1984384 100644
--- a/nuttx/configs/z16f2800100zcog/Make.defs
+++ b/nuttx/configs/z16f2800100zcog/Make.defs
@@ -37,7 +37,7 @@ include ${TOPDIR}/.config
# These are the directories where the ZNeo-II toolchain is installed
-ZDSINSTALLDIR := C:/Program\ Files/ZiLOG/ZDSII_ZNEO_4.10.2
+ZDSINSTALLDIR := C:/Program\ Files/ZiLOG/ZDSII_ZNEO_4.11.0
ZDSBINDIR := $(ZDSINSTALLDIR)/bin
ZDSSTDINCDIR := $(ZDSINSTALLDIR)/include/std
ZDSZILOGINCDIR := $(ZDSINSTALLDIR)/include/zilog
diff --git a/nuttx/configs/z16f2800100zcog/README.txt b/nuttx/configs/z16f2800100zcog/README.txt
new file mode 100644
index 000000000..7466d1ccb
--- /dev/null
+++ b/nuttx/configs/z16f2800100zcog/README.txt
@@ -0,0 +1,13 @@
+README.txt
+^^^^^^^^^^
+
+The ZDS-II version 4.10.2 will not compiler NuttX. It reports "internal
+errors" on some of the files. Upgreads to ZDS-II are available for download
+from the Zilog website: http://www.zilog.com/software/zds2.asp
+
+Thusfar, I have encountered no insolvable problems with the newer 4.11.0
+version of the toolchain.
+
+If you use any version of ZDS-II other than 4.11.0, you will have to modify
+two files: (1) configs/z16f2800100zcog/setenv.sh and (2) configs/z16f2800100zcog/Make.defs.
+
diff --git a/nuttx/configs/z16f2800100zcog/setenv.sh b/nuttx/configs/z16f2800100zcog/setenv.sh
index 5c6728ba2..4a9bf1d3b 100755
--- a/nuttx/configs/z16f2800100zcog/setenv.sh
+++ b/nuttx/configs/z16f2800100zcog/setenv.sh
@@ -31,16 +31,21 @@
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
-
+# Check how we were executed
+#
if [ "$(basename $0)" = "setenv.sh" ] ; then
echo "You must source this script, not run it!" 1>&2
exit 1
fi
-if [ -z "${PATH_ORIG}" ]; then export PATH_ORIG="${PATH}"; fi
-
-WD=`pwd`
-ZDSINSTALLDIR="C:/Program\ Files/ZiLOG/ZDSII_ZNEO_4.10.2"
-export PATH="${ZDSINSTALLDIR}/bin:/sbin:/usr/sbin:${PATH_ORIG}"
-
-echo "PATH : ${PATH}"
+#
+# The ZDS-II toolchain lies outside of the Cygwin "sandbox" and
+# 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.
+# Version 4.11.0 installed in the default location is assumed here.
+#
+ZDSBINDIR="C:/Program\ Files/ZiLOG/ZDSII_ZNEO_4.11.0/bin"
+alias zneoasm="${ZDSBINDIR}/zneoasm.exe"
+alias zneocc="${ZDSBINDIR}/zneocc.exe"
+alias zneolib="${ZDSBINDIR}/zneolib.exe"
+alias zneolink="${ZDSBINDIR}/zneolink.exe" \ No newline at end of file