Adding support for the z16f
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@520 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
f14e8056ce
commit
93dd5f44cb
@ -291,3 +291,6 @@
|
|||||||
* Add support for Pascal P-Code interpreter
|
* Add support for Pascal P-Code interpreter
|
||||||
|
|
||||||
0.3.7 2008-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
|
0.3.7 2008-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
|
|
||||||
|
* Began adding support for the Zilog Z16F using the Zilog
|
||||||
|
Z16F2800100ZCOG Development Kit.
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<tr align="center" bgcolor="#e4e4e4">
|
<tr align="center" bgcolor="#e4e4e4">
|
||||||
<td>
|
<td>
|
||||||
<h1><big><font color="#3c34ec"><i>NuttX RTOS</i></font></big></h1>
|
<h1><big><font color="#3c34ec"><i>NuttX RTOS</i></font></big></h1>
|
||||||
<p>Last Updated: January 6, 2008</p>
|
<p>Last Updated: January 8, 2008</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@ -574,7 +574,28 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td valign="top"><img src="favicon.ico"></td>
|
<td valign="top"><img src="favicon.ico"></td>
|
||||||
<td bgcolor="#5eaee1">
|
<td bgcolor="#5eaee1">
|
||||||
<b>Z80</b>
|
<b>Zilog Z16F</b>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><br></td>
|
||||||
|
<td>
|
||||||
|
<p>
|
||||||
|
<b>Zilog z16f Microncontroller</b>.
|
||||||
|
This port use the Zilog z16f2800100zcog development kit and the Zilog
|
||||||
|
ZDS-II Windows command line tools.
|
||||||
|
The development envirnoment is Cygwin under WinXP.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<b>STATUS:</b>
|
||||||
|
This is a work in progress.
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td valign="top"><img src="favicon.ico"></td>
|
||||||
|
<td bgcolor="#5eaee1">
|
||||||
|
<b>Zilog Z80</b>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -583,7 +604,7 @@
|
|||||||
<p>
|
<p>
|
||||||
<b>Z80 Instruction Set Simulator</b>.
|
<b>Z80 Instruction Set Simulator</b>.
|
||||||
This port uses the <a href="http://sdcc.sourceforge.net/">SDCC</a> toolchain
|
This port uses the <a href="http://sdcc.sourceforge.net/">SDCC</a> toolchain
|
||||||
under Linux or Cygwin (verfied using version 2.6.0).
|
under Linux or Cygwin (verified using version 2.6.0).
|
||||||
This port has been verified using only a Z80 instruction simulator.
|
This port has been verified using only a Z80 instruction simulator.
|
||||||
That simulator can be found in the NuttX CVS
|
That simulator can be found in the NuttX CVS
|
||||||
<a href="http://nuttx.cvs.sourceforge.net/nuttx/misc/sims/z80sim/">here</a>.
|
<a href="http://nuttx.cvs.sourceforge.net/nuttx/misc/sims/z80sim/">here</a>.
|
||||||
@ -750,6 +771,9 @@ Other memory:
|
|||||||
|
|
||||||
<pre><ul>
|
<pre><ul>
|
||||||
0.3.7 2007-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
|
0.3.7 2007-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
|
|
||||||
|
* Began adding support for the Zilog Z16F using the Zilog
|
||||||
|
Z16F2800100ZCOG Development Kit.
|
||||||
</pre></ul>
|
</pre></ul>
|
||||||
|
|
||||||
<table width ="100%">
|
<table width ="100%">
|
||||||
@ -809,7 +833,7 @@ Other memory:
|
|||||||
<li>TI is a tradename of Texas Instruments Incorporated.</li>
|
<li>TI is a tradename of Texas Instruments Incorporated.</li>
|
||||||
<li>UNIX is a registered trademark of The Open Group.</li>
|
<li>UNIX is a registered trademark of The Open Group.</li>
|
||||||
<li>VxWorks is a registered trademark of Wind River Systems, Incorporated.</li>
|
<li>VxWorks is a registered trademark of Wind River Systems, Incorporated.</li>
|
||||||
<li>Z80 is a registered trademark of Zilog, Inc.</li>
|
<li>ZDS, ZNEO, Z16F, Z80, and Zilog are a registered trademark of Zilog, Inc.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>
|
<p>
|
||||||
NOTE: NuttX is <i>not</i> licensed to use the POSIX trademark. NuttX uses the POSIX
|
NOTE: NuttX is <i>not</i> licensed to use the POSIX trademark. NuttX uses the POSIX
|
||||||
|
@ -414,15 +414,22 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li><code>arch/m68322</code>
|
<li><code>arch/m68322</code>
|
||||||
A work in progress.</li>
|
A work in progress.
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li><code>arch/pjrc-8051</code>:
|
<li><code>arch/pjrc-8051</code>:
|
||||||
8051 Microcontroller. This port is not quite ready for prime time.</li>
|
8051 Microcontroller. This port is not quite ready for prime time.
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li><code>arch/z16f</code>:
|
||||||
|
Zilog z16f Microcontroller.
|
||||||
|
This port uses the Zilog z16f2800100zcog Development Kit.
|
||||||
|
This is a work in progress.
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li><code>arch/z80</code>:
|
<li><code>arch/z80</code>:
|
||||||
z80 Microcontroller. This port has been verified using only a z80 instruction simulator.</li>
|
Zilog z80 Microcontroller.
|
||||||
|
This port has been verified using only a z80 instruction simulator.
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
@ -592,6 +599,12 @@
|
|||||||
This port is not quite ready for prime time.
|
This port is not quite ready for prime time.
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
<li><code>configs/z16f2800100zcog</code>
|
||||||
|
z16f Microncontroller.
|
||||||
|
This port use the Zilog z16f2800100zcog development kit and the
|
||||||
|
Zilog ZDS-II Windows command line tools.
|
||||||
|
The development environment is Cygwin under WinXP.
|
||||||
|
|
||||||
<li><code>configs/z80sim</code>:
|
<li><code>configs/z80sim</code>:
|
||||||
z80 Microcontroller. This port uses a Z80 instruction set simulator.
|
z80 Microcontroller. This port uses a Z80 instruction set simulator.
|
||||||
That simulator can be found in the NuttX CVS
|
That simulator can be found in the NuttX CVS
|
||||||
|
2
Makefile
2
Makefile
@ -33,7 +33,7 @@
|
|||||||
#
|
#
|
||||||
############################################################
|
############################################################
|
||||||
|
|
||||||
TOPDIR = ${shell pwd}
|
TOPDIR := ${shell pwd | sed -e 's/ /\\ /g'}
|
||||||
-include ${TOPDIR}/.config
|
-include ${TOPDIR}/.config
|
||||||
-include ${TOPDIR}/Make.defs
|
-include ${TOPDIR}/Make.defs
|
||||||
|
|
||||||
|
@ -159,8 +159,12 @@ arch/m68322
|
|||||||
arch/pjrc-8051
|
arch/pjrc-8051
|
||||||
8051 Microcontroller. This port is not quite ready for prime time.
|
8051 Microcontroller. This port is not quite ready for prime time.
|
||||||
|
|
||||||
|
arch/z16
|
||||||
|
ZiLog z16f Microcontroller.
|
||||||
|
STATUS: A work in progress
|
||||||
|
|
||||||
arch/z80
|
arch/z80
|
||||||
z80 Microcontroller.
|
ZiLog z80 Microcontroller.
|
||||||
STATUS: Functional with no known defects. There are still several
|
STATUS: Functional with no known defects. There are still several
|
||||||
OS features that have not yet been tested (e.g., networking).
|
OS features that have not yet been tested (e.g., networking).
|
||||||
|
|
||||||
|
@ -320,6 +320,11 @@ configs/pjrc-8051
|
|||||||
8051 Microcontroller. This port uses the PJRC 87C52 development system
|
8051 Microcontroller. This port uses the PJRC 87C52 development system
|
||||||
and the SDCC toolchain. This port is not quite ready for prime time.
|
and the SDCC toolchain. This port is not quite ready for prime time.
|
||||||
|
|
||||||
|
configs/z16f2800100zcog
|
||||||
|
z16f Microncontroller. This port use the Zilog z16f2800100zcog
|
||||||
|
development kit and the Zilog ZDS-II Windows command line tools. The
|
||||||
|
development envirnoment is Cygwin under WinXP.
|
||||||
|
|
||||||
configs/z80zim
|
configs/z80zim
|
||||||
z80 Microcontroller. This port uses a Z80 instruction set simulator.
|
z80 Microcontroller. This port uses a Z80 instruction set simulator.
|
||||||
That simulator can be found in the NuttX CVS at
|
That simulator can be found in the NuttX CVS at
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# setenv.sh
|
# c5471evm/setenv.sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2007 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2007, 2008 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
|
||||||
@ -14,7 +14,7 @@
|
|||||||
# notice, this list of conditions and the following disclaimer in
|
# notice, this list of conditions and the following disclaimer in
|
||||||
# the documentation and/or other materials provided with the
|
# the documentation and/or other materials provided with the
|
||||||
# distribution.
|
# distribution.
|
||||||
# 3. Neither the name Gregory Nutt nor the names of its contributors may be
|
# 3. Neither the name NuttX nor the names of its contributors may be
|
||||||
# used to endorse or promote products derived from this software
|
# used to endorse or promote products derived from this software
|
||||||
# without specific prior written permission.
|
# without specific prior written permission.
|
||||||
#
|
#
|
||||||
@ -32,7 +32,7 @@
|
|||||||
# POSSIBILITY OF SUCH DAMAGE.
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
#
|
#
|
||||||
|
|
||||||
if [ "$(basename $0)" = "setenv" ] ; 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
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# setenv.sh
|
# m68322evb/setenv.sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2007 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2007, 2008 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
|
||||||
@ -14,7 +14,7 @@
|
|||||||
# notice, this list of conditions and the following disclaimer in
|
# notice, this list of conditions and the following disclaimer in
|
||||||
# the documentation and/or other materials provided with the
|
# the documentation and/or other materials provided with the
|
||||||
# distribution.
|
# distribution.
|
||||||
# 3. Neither the name Gregory Nutt nor the names of its contributors may be
|
# 3. Neither the name NuttX nor the names of its contributors may be
|
||||||
# used to endorse or promote products derived from this software
|
# used to endorse or promote products derived from this software
|
||||||
# without specific prior written permission.
|
# without specific prior written permission.
|
||||||
#
|
#
|
||||||
@ -32,7 +32,7 @@
|
|||||||
# POSSIBILITY OF SUCH DAMAGE.
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
#
|
#
|
||||||
|
|
||||||
if [ "$(basename $0)" = "setenv" ] ; 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
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# setenv.sh
|
# mcu123-lpc2148/setenv.sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2007 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2007, 2008 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
|
||||||
@ -14,7 +14,7 @@
|
|||||||
# notice, this list of conditions and the following disclaimer in
|
# notice, this list of conditions and the following disclaimer in
|
||||||
# the documentation and/or other materials provided with the
|
# the documentation and/or other materials provided with the
|
||||||
# distribution.
|
# distribution.
|
||||||
# 3. Neither the name Gregory Nutt nor the names of its contributors may be
|
# 3. Neither the name NuttX nor the names of its contributors may be
|
||||||
# used to endorse or promote products derived from this software
|
# used to endorse or promote products derived from this software
|
||||||
# without specific prior written permission.
|
# without specific prior written permission.
|
||||||
#
|
#
|
||||||
@ -32,7 +32,7 @@
|
|||||||
# POSSIBILITY OF SUCH DAMAGE.
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
#
|
#
|
||||||
|
|
||||||
if [ "$(basename $0)" = "setenv" ] ; 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
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# setenv.sh
|
# ntosd-dm320/setenv.sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2007 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2007, 2008 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
|
||||||
@ -14,7 +14,7 @@
|
|||||||
# notice, this list of conditions and the following disclaimer in
|
# notice, this list of conditions and the following disclaimer in
|
||||||
# the documentation and/or other materials provided with the
|
# the documentation and/or other materials provided with the
|
||||||
# distribution.
|
# distribution.
|
||||||
# 3. Neither the name Gregory Nutt nor the names of its contributors may be
|
# 3. Neither the name NuttX nor the names of its contributors may be
|
||||||
# used to endorse or promote products derived from this software
|
# used to endorse or promote products derived from this software
|
||||||
# without specific prior written permission.
|
# without specific prior written permission.
|
||||||
#
|
#
|
||||||
@ -32,7 +32,7 @@
|
|||||||
# POSSIBILITY OF SUCH DAMAGE.
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
#
|
#
|
||||||
|
|
||||||
if [ "$(basename $0)" = "setenv" ] ; 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
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# setenv.sh
|
# pjrc-8051/setenv.sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2007 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2007, 2008 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
|
||||||
@ -14,7 +14,7 @@
|
|||||||
# notice, this list of conditions and the following disclaimer in
|
# notice, this list of conditions and the following disclaimer in
|
||||||
# the documentation and/or other materials provided with the
|
# the documentation and/or other materials provided with the
|
||||||
# distribution.
|
# distribution.
|
||||||
# 3. Neither the name Gregory Nutt nor the names of its contributors may be
|
# 3. Neither the name NuttX nor the names of its contributors may be
|
||||||
# used to endorse or promote products derived from this software
|
# used to endorse or promote products derived from this software
|
||||||
# without specific prior written permission.
|
# without specific prior written permission.
|
||||||
#
|
#
|
||||||
@ -32,7 +32,7 @@
|
|||||||
# POSSIBILITY OF SUCH DAMAGE.
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
#
|
#
|
||||||
|
|
||||||
if [ "$(basename $0)" = "setenv" ] ; 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
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# setenv.sh
|
# sim/setenv.sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2007 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2007, 2008 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
|
||||||
@ -14,7 +14,7 @@
|
|||||||
# notice, this list of conditions and the following disclaimer in
|
# notice, this list of conditions and the following disclaimer in
|
||||||
# the documentation and/or other materials provided with the
|
# the documentation and/or other materials provided with the
|
||||||
# distribution.
|
# distribution.
|
||||||
# 3. Neither the name Gregory Nutt nor the names of its contributors may be
|
# 3. Neither the name NuttX nor the names of its contributors may be
|
||||||
# used to endorse or promote products derived from this software
|
# used to endorse or promote products derived from this software
|
||||||
# without specific prior written permission.
|
# without specific prior written permission.
|
||||||
#
|
#
|
||||||
@ -32,7 +32,7 @@
|
|||||||
# POSSIBILITY OF SUCH DAMAGE.
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
#
|
#
|
||||||
|
|
||||||
if [ "$(basename $0)" = "setenv" ] ; 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
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
############################################################
|
############################################################
|
||||||
# configs/z80/defconfig
|
# configs/z80/defconfig
|
||||||
#
|
#
|
||||||
# Copyright (C) 2007 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2007, 2008 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
|
||||||
@ -14,7 +14,7 @@
|
|||||||
# notice, this list of conditions and the following disclaimer in
|
# notice, this list of conditions and the following disclaimer in
|
||||||
# the documentation and/or other materials provided with the
|
# the documentation and/or other materials provided with the
|
||||||
# distribution.
|
# distribution.
|
||||||
# 3. Neither the name Gregory Nutt nor the names of its contributors may be
|
# 3. Neither the name NuttX nor the names of its contributors may be
|
||||||
# used to endorse or promote products derived from this software
|
# used to endorse or promote products derived from this software
|
||||||
# without specific prior written permission.
|
# without specific prior written permission.
|
||||||
#
|
#
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# setenv.sh
|
# z80sim/setenv.sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2007 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2007, 2008 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
|
||||||
@ -14,7 +14,7 @@
|
|||||||
# notice, this list of conditions and the following disclaimer in
|
# notice, this list of conditions and the following disclaimer in
|
||||||
# the documentation and/or other materials provided with the
|
# the documentation and/or other materials provided with the
|
||||||
# distribution.
|
# distribution.
|
||||||
# 3. Neither the name Gregory Nutt nor the names of its contributors may be
|
# 3. Neither the name NuttX nor the names of its contributors may be
|
||||||
# used to endorse or promote products derived from this software
|
# used to endorse or promote products derived from this software
|
||||||
# without specific prior written permission.
|
# without specific prior written permission.
|
||||||
#
|
#
|
||||||
@ -32,7 +32,7 @@
|
|||||||
# POSSIBILITY OF SUCH DAMAGE.
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
#
|
#
|
||||||
|
|
||||||
if [ "$(basename $0)" = "setenv" ] ; 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
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/************************************************************
|
/****************************************************************************
|
||||||
* compiler.h
|
* include/nuttx/compiler.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2007, 2008 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
|
||||||
@ -14,7 +14,7 @@
|
|||||||
* notice, this list of conditions and the following disclaimer in
|
* notice, this list of conditions and the following disclaimer in
|
||||||
* the documentation and/or other materials provided with the
|
* the documentation and/or other materials provided with the
|
||||||
* distribution.
|
* distribution.
|
||||||
* 3. Neither the name Gregory Nutt nor the names of its contributors may be
|
* 3. Neither the name NuttX nor the names of its contributors may be
|
||||||
* used to endorse or promote products derived from this software
|
* used to endorse or promote products derived from this software
|
||||||
* without specific prior written permission.
|
* without specific prior written permission.
|
||||||
*
|
*
|
||||||
@ -31,20 +31,20 @@
|
|||||||
* 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.
|
||||||
*
|
*
|
||||||
************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __COMPILER_H
|
#ifndef __COMPILER_H
|
||||||
#define __COMPILER_H
|
#define __COMPILER_H
|
||||||
|
|
||||||
/************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/************************************************************
|
/****************************************************************************
|
||||||
* Definitions
|
* Definitions
|
||||||
************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* GCC-specific definitions *********************************/
|
/* GCC-specific definitions *************************************************/
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
|
|
||||||
@ -114,7 +114,7 @@
|
|||||||
|
|
||||||
# define CONFIG_CAN_PASS_STRUCTS 1
|
# define CONFIG_CAN_PASS_STRUCTS 1
|
||||||
|
|
||||||
/* SDCC-specific definitions ********************************/
|
/* SDCC-specific definitions ************************************************/
|
||||||
|
|
||||||
#elif defined(SDCC)
|
#elif defined(SDCC)
|
||||||
|
|
||||||
@ -196,7 +196,69 @@
|
|||||||
|
|
||||||
# undef CONFIG_CAN_PASS_STRUCTS
|
# undef CONFIG_CAN_PASS_STRUCTS
|
||||||
|
|
||||||
/* Unknown compiler *****************************************/
|
/* ZiLog-specific definitions ***********************************************/
|
||||||
|
|
||||||
|
#elif defined(__ZILOG__)
|
||||||
|
|
||||||
|
/* At present, only the ZiLog ZNeo compiler is recognized */
|
||||||
|
|
||||||
|
# ifndef __ZNEO__
|
||||||
|
# warning "Unrecognized ZiLog compiler"
|
||||||
|
# endif
|
||||||
|
|
||||||
|
/* The ZiLog compiler does not support weak symbols */
|
||||||
|
|
||||||
|
# undef CONFIG_HAVE_WEAKFUNCTIONS
|
||||||
|
# define weak_alias(name, aliasname)
|
||||||
|
# define weak_function
|
||||||
|
# define weak_const_function
|
||||||
|
|
||||||
|
/* The ZiLog compiler does not support the noreturn or packed attributes */
|
||||||
|
|
||||||
|
# define noreturn_function
|
||||||
|
# define packed_struct
|
||||||
|
|
||||||
|
/* The ZiLog compiler does not support the reentrant attribute */
|
||||||
|
|
||||||
|
# define reentrant_function
|
||||||
|
|
||||||
|
/* Addressing */
|
||||||
|
|
||||||
|
# define FAR _Far
|
||||||
|
# define NEAR _Near
|
||||||
|
# define DSEG _Far
|
||||||
|
# define CODE _Near
|
||||||
|
|
||||||
|
/* Select the large, 32-bit addressing model */
|
||||||
|
|
||||||
|
# undef CONFIG_SMALL_MEMORY
|
||||||
|
|
||||||
|
/* Long and int are the same size */
|
||||||
|
|
||||||
|
# undef CONFIG_LONG_IS_NOT_INT
|
||||||
|
|
||||||
|
/* FAR pointers and int are the same size */
|
||||||
|
|
||||||
|
# undef CONFIG_PTR_IS_NOT_INT
|
||||||
|
|
||||||
|
/* The ZiLog compiler does not support inline functions */
|
||||||
|
|
||||||
|
# undef CONFIG_HAVE_INLINE
|
||||||
|
# define inline
|
||||||
|
|
||||||
|
/* The Zilog compiler supports both types double and long long,
|
||||||
|
* but the size is 32-bits (same as long and single precision)
|
||||||
|
* so it is safer to say that they are not supported.
|
||||||
|
*/
|
||||||
|
|
||||||
|
# undef CONFIG_HAVE_DOUBLE
|
||||||
|
# undef CONFIG_HAVE_LONG_LONG
|
||||||
|
|
||||||
|
/* Structures and unions can be assigned and passed as values */
|
||||||
|
|
||||||
|
# define CONFIG_CAN_PASS_STRUCTS 1
|
||||||
|
|
||||||
|
/* Unknown compiler *********************************************************/
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
@ -224,13 +286,13 @@
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/************************************************************
|
/****************************************************************************
|
||||||
* Global Function Prototypes
|
* Global Function Prototypes
|
||||||
************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/************************************************************
|
/****************************************************************************
|
||||||
* Global Function Prototypes
|
* Global Function Prototypes
|
||||||
************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
#define EXTERN extern "C"
|
#define EXTERN extern "C"
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
BOARD=$1
|
BOARD=$1
|
||||||
WD=`pwd`
|
WD=`pwd`
|
||||||
TOPDIR=${WD}/..
|
TOPDIR="${WD}/.."
|
||||||
|
|
||||||
function show_usage ()
|
function show_usage ()
|
||||||
{
|
{
|
||||||
@ -49,7 +49,7 @@ if [ "${BOARD}X" = "X" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
BOARDDIR=${TOPDIR}/configs/${BOARD}
|
BOARDDIR=${TOPDIR}/configs/${BOARD}
|
||||||
if [ ! -d ${BOARDDIR} ]; then
|
if [ ! -d "${BOARDDIR}" ]; then
|
||||||
echo "Directory ${BOARDDIR} does not exist. Options are:"
|
echo "Directory ${BOARDDIR} does not exist. Options are:"
|
||||||
echo ""
|
echo ""
|
||||||
echo `cd ${TOPDIR}/configs ; ls -1 | grep -v CVS | grep -v README.txt`
|
echo `cd ${TOPDIR}/configs ; ls -1 | grep -v CVS | grep -v README.txt`
|
||||||
@ -57,25 +57,26 @@ if [ ! -d ${BOARDDIR} ]; then
|
|||||||
show_usage
|
show_usage
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -r ${BOARDDIR}/Make.defs ]; then
|
if [ ! -r "${BOARDDIR}/Make.defs" ]; then
|
||||||
echo "File ${BOARDDIR}/Make.defs does not exist"
|
echo "File ${BOARDDIR}/Make.defs does not exist"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -r ${BOARDDIR}/setenv.sh ]; then
|
if [ ! -r "${BOARDDIR}/setenv.sh" ]; then
|
||||||
echo "File ${BOARDDIR}/setenv.sh does not exist"
|
echo "File ${BOARDDIR}/setenv.sh does not exist"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -r ${BOARDDIR}/defconfig ]; then
|
if [ ! -r "${BOARDDIR}/defconfig" ]; then
|
||||||
echo "File ${BOARDDIR}/defconfig does not exist"
|
echo "File ${BOARDDIR}/defconfig does not exist"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cp -f ${BOARDDIR}/Make.defs ${TOPDIR}/. || \
|
cp -f "${BOARDDIR}/Make.defs" "${TOPDIR}/." || \
|
||||||
{ echo "Failed to copy ${BOARDDIR}/Make.defs" ; exit 1 ; }
|
{ echo "Failed to copy ${BOARDDIR}/Make.defs" ; exit 1 ; }
|
||||||
cp -f ${BOARDDIR}/setenv.sh ${TOPDIR}/. || \
|
cp -f "${BOARDDIR}/setenv.sh" "${TOPDIR}/." || \
|
||||||
{ echo "Failed to copy ${BOARDDIR}/setenv.sh" ; exit 1 ; }
|
{ echo "Failed to copy ${BOARDDIR}/setenv.sh" ; exit 1 ; }
|
||||||
cp -f ${BOARDDIR}/defconfig ${TOPDIR}/.config || \
|
chmod 755 "${TOPDIR}/setenv.sh"
|
||||||
|
cp -f "${BOARDDIR}/defconfig" "${TOPDIR}/.config" || \
|
||||||
{ echo "Failed to copy ${BOARDDIR}/defconfig" ; exit 1 ; }
|
{ echo "Failed to copy ${BOARDDIR}/defconfig" ; exit 1 ; }
|
||||||
|
|
||||||
|
34
tools/mknulldeps.sh
Executable file
34
tools/mknulldeps.sh
Executable file
@ -0,0 +1,34 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# tools/mknulldeps.sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2008 Gregory Nutt. All rights reserved.
|
||||||
|
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
|
#
|
||||||
|
# Redistribution and use in source and binary forms, with or without
|
||||||
|
# modification, are permitted provided that the following conditions
|
||||||
|
# are met:
|
||||||
|
#
|
||||||
|
# 1. Redistributions of source code must retain the above copyright
|
||||||
|
# notice, this list of conditions and the following disclaimer.
|
||||||
|
# 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
# notice, this list of conditions and the following disclaimer in
|
||||||
|
# the documentation and/or other materials provided with the
|
||||||
|
# distribution.
|
||||||
|
# 3. Neither the name NuttX nor the names of its contributors may be
|
||||||
|
# used to endorse or promote products derived from this software
|
||||||
|
# without specific prior written permission.
|
||||||
|
#
|
||||||
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||||
|
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||||
|
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||||
|
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||||
|
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||||
|
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||||
|
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
#
|
||||||
|
echo "# The selected toolchain does not support dependency generation"
|
Loading…
Reference in New Issue
Block a user