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:
parent
07fa2b5735
commit
abdb339910
|
@ -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
|
||||
|
|
|
@ -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
|
||||
# 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"
|
Loading…
Reference in New Issue