mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:22:32 +08:00
Compiles with ZDS-II
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@540 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -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.10.2
|
ZDSINSTALLDIR := C:/Program\ Files/ZiLOG/ZDSII_ZNEO_4.11.0
|
||||||
ZDSBINDIR := $(ZDSINSTALLDIR)/bin
|
ZDSBINDIR := $(ZDSINSTALLDIR)/bin
|
||||||
ZDSSTDINCDIR := $(ZDSINSTALLDIR)/include/std
|
ZDSSTDINCDIR := $(ZDSINSTALLDIR)/include/std
|
||||||
ZDSZILOGINCDIR := $(ZDSINSTALLDIR)/include/zilog
|
ZDSZILOGINCDIR := $(ZDSINSTALLDIR)/include/zilog
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|
||||||
@@ -31,16 +31,21 @@
|
|||||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
# POSSIBILITY OF SUCH DAMAGE.
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
#
|
#
|
||||||
|
# Check how we were executed
|
||||||
|
#
|
||||||
if [ "$(basename $0)" = "setenv.sh" ] ; then
|
if [ "$(basename $0)" = "setenv.sh" ] ; then
|
||||||
echo "You must source this script, not run it!" 1>&2
|
echo "You must source this script, not run it!" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "${PATH_ORIG}" ]; then export PATH_ORIG="${PATH}"; fi
|
#
|
||||||
|
# The ZDS-II toolchain lies outside of the Cygwin "sandbox" and
|
||||||
WD=`pwd`
|
# attempts to set the PATH variable do not have the desired effect.
|
||||||
ZDSINSTALLDIR="C:/Program\ Files/ZiLOG/ZDSII_ZNEO_4.10.2"
|
# Instead, alias are provided for all of the ZDS-II command line tools.
|
||||||
export PATH="${ZDSINSTALLDIR}/bin:/sbin:/usr/sbin:${PATH_ORIG}"
|
# Version 4.11.0 installed in the default location is assumed here.
|
||||||
|
#
|
||||||
echo "PATH : ${PATH}"
|
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"
|
||||||
Reference in New Issue
Block a user