2008-12-07 23:44:56 +08:00
|
|
|
README.txt
|
|
|
|
^^^^^^^^^^
|
|
|
|
|
|
|
|
ZDS-II Compiler Versions
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2009-02-25 09:53:38 +08:00
|
|
|
Different configurations have been build for this board using ZDS-11
|
2012-11-12 23:22:27 +08:00
|
|
|
Versions 4.11.0, 4.11.1, and 5.1.1 You have to check the files */Make.defs
|
2009-02-25 09:53:38 +08:00
|
|
|
to see how the build is configured: Check the definitions of
|
|
|
|
ZDSVERSION (if present) and ZDSINSTALLDIR.
|
|
|
|
|
|
|
|
NOTE: Different versions of the ZDS-II compiler may also require
|
|
|
|
different versions of .linkcmd and .zdsproj files as well.
|
|
|
|
|
2020-02-20 09:28:11 +08:00
|
|
|
Version 5.3.3
|
|
|
|
|
|
|
|
As of this writing, this is the latest version available.
|
|
|
|
|
2009-02-25 09:53:38 +08:00
|
|
|
Version 4.11.0
|
2008-12-07 23:44:56 +08:00
|
|
|
|
2020-02-20 09:28:11 +08:00
|
|
|
The 5.3.3 version of the ZDS-II tools is the default configured for
|
2012-11-12 23:22:27 +08:00
|
|
|
all ez80 boards. However, it is the older version 4.11.0 that this code
|
|
|
|
has been verified against.
|
2014-03-05 07:09:15 +08:00
|
|
|
|
2008-12-07 23:44:56 +08:00
|
|
|
Although it compiles without error, the 4.11.0 compiler generates
|
|
|
|
bad code on one of the files, mm/mm_initialize.c. Below is a simple work-
|
|
|
|
around.
|
|
|
|
|
|
|
|
--- mm/mm_initialize.c.SAVE 2008-02-13 08:06:46.833857700 -0600
|
|
|
|
+++ mm/mm_initialize.c 2008-02-13 08:07:26.367608900 -0600
|
|
|
|
@@ -94,8 +94,11 @@
|
|
|
|
{
|
|
|
|
int i;
|
2014-03-05 07:09:15 +08:00
|
|
|
|
2008-12-07 23:44:56 +08:00
|
|
|
+#if 0 /* DO NOT CHECK IN */
|
|
|
|
CHECK_ALLOCNODE_SIZE;
|
|
|
|
CHECK_FREENODE_SIZE;
|
|
|
|
+#endif
|
2014-03-05 07:09:15 +08:00
|
|
|
|
2008-12-07 23:44:56 +08:00
|
|
|
/* Set up global variables */
|
|
|
|
|
2009-03-15 05:00:56 +08:00
|
|
|
UPDATE: I don't know if 4.11.1 has this same problem (I bet not since
|
|
|
|
I submitted the bug to ZiLOG), but I have permanently worked around the
|
2012-11-12 23:22:27 +08:00
|
|
|
above problem for all ZiLOG compilers.
|
2009-03-15 05:00:56 +08:00
|
|
|
|
2011-06-23 00:46:08 +08:00
|
|
|
Version 5.1.1
|
|
|
|
|
|
|
|
On June 22, 2011 I verified that these configurations build successfully
|
2012-11-12 23:22:27 +08:00
|
|
|
with the 5.1.1 ZDS-II version. On November 12, 2012, all of the configurations
|
|
|
|
were converted to use 5.1.1, but have not been verified on a running target.
|
2011-06-23 00:46:08 +08:00
|
|
|
|
2012-11-12 23:22:27 +08:00
|
|
|
The above kludge for 4.11.0 is not required with 5.1.1.
|
2011-06-23 00:46:08 +08:00
|
|
|
|
2012-11-12 23:22:27 +08:00
|
|
|
Paths were also updated that are specific to a 32-bit toolchain running on
|
|
|
|
a 64 bit windows platform. Change to a different toolchain, you will need
|
2017-04-27 00:12:13 +08:00
|
|
|
to modify the versioning in Make.defs; if you want to build on a different
|
2017-05-12 03:35:56 +08:00
|
|
|
platform, you will need to change the path the ZDS binaries in that
|
2017-04-27 00:12:13 +08:00
|
|
|
files as well as in your PATH environment variable.
|
2014-03-05 07:09:15 +08:00
|
|
|
|
2016-02-01 03:09:20 +08:00
|
|
|
Version 5.2.1
|
|
|
|
|
|
|
|
On January 31, 2016, I tried ZDS-II version 5.2.1. I believe that I have
|
|
|
|
all of the changes in place to support that version. At compile time,
|
|
|
|
however, I encountered compiler internal errors. I did not pursue that
|
|
|
|
build any further.
|
|
|
|
|
2019-06-03 08:35:32 +08:00
|
|
|
Version 5.3.0
|
|
|
|
|
2019-12-12 21:41:51 +08:00
|
|
|
I verified compilation using 5.30 on June 2, 2019. To use this version,
|
2019-06-10 23:49:11 +08:00
|
|
|
I had to make spurious modification to the implementation of gmtimer() to
|
|
|
|
work around an internal compiler error. I have still not verified that
|
|
|
|
are no errors in the compiled code.
|
2019-06-04 04:45:00 +08:00
|
|
|
|
2008-12-07 23:44:56 +08:00
|
|
|
Other Versions
|
2020-02-21 04:34:44 +08:00
|
|
|
If you use any version of ZDS-II other than 5.1.1, 5.2.1, or 5.3.0/3 or
|
2019-06-03 08:35:32 +08:00
|
|
|
if you install ZDS-II at any location other than the default location,
|
2019-06-05 01:12:17 +08:00
|
|
|
you will have to modify three files: (1) arch/arm/z80/src/ez80/Kconfig,
|
2020-02-21 04:34:44 +08:00
|
|
|
(2) boards/z80/ez80/ez80f910200zco/scripts/Make.defs and, perhaps, (3)
|
2019-06-03 08:35:32 +08:00
|
|
|
arch/z80/src/ez80/Toolchain.defs.
|
2008-12-07 23:44:56 +08:00
|
|
|
|
2014-03-05 07:09:15 +08:00
|
|
|
Configurations
|
|
|
|
^^^^^^^^^^^^^^
|
2008-12-07 23:44:56 +08:00
|
|
|
|
2014-03-05 07:09:15 +08:00
|
|
|
Common Configuration Notes
|
|
|
|
--------------------------
|
2008-12-07 23:44:56 +08:00
|
|
|
|
2014-03-05 07:09:15 +08:00
|
|
|
1. src/ and include/
|
2008-12-07 23:44:56 +08:00
|
|
|
|
2014-03-05 07:09:15 +08:00
|
|
|
These directories contain common logic for all ez80f910200zco
|
|
|
|
configurations.
|
2008-12-07 23:44:56 +08:00
|
|
|
|
2014-03-05 07:09:15 +08:00
|
|
|
2. Variations on the basic ez80f910200zco configuration are maintained
|
|
|
|
in subdirectories. To configure any specific configuration, do the
|
|
|
|
following steps:
|
2009-05-24 07:53:03 +08:00
|
|
|
|
2019-08-06 06:53:39 +08:00
|
|
|
tools/configure.sh ez80f910200zco:<sub-directory>
|
2014-03-05 07:09:15 +08:00
|
|
|
make
|
2014-03-04 03:10:11 +08:00
|
|
|
|
2014-03-05 07:09:15 +08:00
|
|
|
Where <sub-directory> is the specific board configuration that you
|
|
|
|
wish to build. The available board-specific configurations are
|
|
|
|
summarized in the following paragraph.
|
2014-03-04 03:10:11 +08:00
|
|
|
|
2014-03-05 07:09:15 +08:00
|
|
|
Use configure.bat instead of configure.sh if you are building in a
|
|
|
|
native Windows environment.
|
2014-03-04 03:10:11 +08:00
|
|
|
|
2014-03-05 07:09:15 +08:00
|
|
|
3. This configuration uses the mconf-based configuration tool. To
|
|
|
|
change this configurations using that tool, you should:
|
2014-03-04 03:10:11 +08:00
|
|
|
|
2014-03-05 07:09:15 +08:00
|
|
|
a. Build and install the kconfig-mconf tool. See nuttx/README.txt
|
2015-06-28 22:08:57 +08:00
|
|
|
see additional README.txt files in the NuttX tools repository.
|
2012-11-27 01:07:34 +08:00
|
|
|
|
2014-03-05 07:09:15 +08:00
|
|
|
b. Execute 'make menuconfig' in nuttx/ in order to start the
|
|
|
|
reconfiguration process.
|
2014-03-05 03:54:29 +08:00
|
|
|
|
2014-03-05 07:09:15 +08:00
|
|
|
Configuration Subdirectories
|
|
|
|
----------------------------
|
2014-03-05 03:54:29 +08:00
|
|
|
|
2014-03-05 07:09:15 +08:00
|
|
|
dhcpd:
|
2020-02-23 16:50:23 +08:00
|
|
|
This builds the DHCP server using the examples/dhcpd application
|
2014-03-05 07:09:15 +08:00
|
|
|
(for execution from FLASH.) See apps/examples/README.txt for information
|
|
|
|
about the dhcpd example.
|
2014-03-05 03:54:29 +08:00
|
|
|
|
2014-03-05 07:09:15 +08:00
|
|
|
httpd:
|
2014-07-04 07:31:17 +08:00
|
|
|
This builds the uIP web server example using the examples/webserver application
|
2014-03-05 07:09:15 +08:00
|
|
|
(for execution from FLASH). See apps/examples/README.txt for information
|
|
|
|
about httpd.
|
2014-03-05 03:54:29 +08:00
|
|
|
|
2014-03-05 07:09:15 +08:00
|
|
|
nsh:
|
2014-03-04 01:45:04 +08:00
|
|
|
This configuration builds the NuttShell (NSH). That code can be
|
2009-03-02 02:07:36 +08:00
|
|
|
found in examples/nsh. For more information see: examples/nsh/README.txt
|
|
|
|
and Documentation/NuttShell.html.
|
|
|
|
|
2014-03-05 07:09:15 +08:00
|
|
|
nettest:
|
2009-03-02 02:07:36 +08:00
|
|
|
This configuration is used for testing the eZ80F91 EMAC driver. It
|
|
|
|
builds examples/nettest. See examples/README.txt for more information
|
|
|
|
about nettest.
|
|
|
|
|
2014-03-05 07:09:15 +08:00
|
|
|
poll:
|
2009-03-15 05:00:56 +08:00
|
|
|
This configuration is also used for testing the eZ80F91 EMAC driver. It
|
|
|
|
builds examples/poll. See examples/README.txt for more information
|
|
|
|
about the poll test.
|
|
|
|
|
2008-12-07 23:44:56 +08:00
|
|
|
Check out any README.txt files in these <sub-directory>s.
|