Skip to content

Commit

Permalink
Update README.txt files for boards using SDCC
Browse files Browse the repository at this point in the history
Modified boards/z80/z180/p112/README.txt and boards/z80/z80/z80sim/README.txt:

IMPORTANT NOTE as of 2020-4-11:  Support for CONFIG_CAN_PASS_STRUCTS was removed in NuttX-9.1.  This was necessary to enforce some POSIX interface compliance but also means that ALL older SDCC versions will no long build with NuttX.  I have been told that the newest SDCC compilers can indeed pass structure and union parameters and return values.  If that is correct, then perhaps the newer SDCC compilers will be used.  Otherwise, it will be necessary to use some other, more compliant compiler.
  • Loading branch information
gregory-nutt authored and Ouss4 committed Apr 11, 2020
1 parent 72104c1 commit 8b87baa
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
8 changes: 8 additions & 0 deletions boards/z80/z180/p112/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,14 @@ the Z85230 ESCC channel A.
Status
======

2020-4-11: Support for CONFIG_CAN_PASS_STRUCTS was removed in NuttX-9.1.
This was necessary to enforce some POSIX interface compliance but also
means that ALL older SDCC versions will no long build with NuttX. I have
been told that the newest SDCC compilers can indeed pass structure and
union parameters and return values. If that is correct, then perhaps
the newer SDCC compilers will be used. Otherwise, it will be necessary
to use some other, more compliant compiler.

2014-8-22: After some time idling away, I tried rebuilding with Windows 8,
the latest MinGW and the latest SDCC. I fixed a few things but there a
still a few issues. The last "show stopper" before I gave up for now was
Expand Down
9 changes: 9 additions & 0 deletions boards/z80/z80/z80sim/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ This port uses an instruction set simulator called z80sim.

The SDCC toolchain is available from http:https://sdcc.sourceforge.net/. All
testing has been performed using version 2.6.0 of the SDCC toolchain.
IMPORTANT: See notes in the SDCC section.

Contents
^^^^^^^^
Expand Down Expand Up @@ -138,6 +139,14 @@ or custom built for Cygwin (see below).
SDCC
^^^^

IMPORTANT NOTE as of 2020-4-11: Support for CONFIG_CAN_PASS_STRUCTS was
removed in NuttX-9.1. This was necessary to enforce some POSIX interface
compliance but also means that ALL older SDCC versions will no long build
with NuttX. I have been told that the newest SDCC compilers can indeed
pass structure and union parameters and return values. If that is correct,
then perhaps the newer SDCC compilers will be used. Otherwise, it will be
necessary to use some other, more compliant compiler.

These z80 configurations all use the SDCC toolchain (http:https://sdcc.sourceforge.net/).
Source and pre-built SDCC binaries can be downloaded from the SDCC SourceForge
site: http:https://sourceforge.net/projects/sdcc/files/ . Pre-built binaries are
Expand Down

0 comments on commit 8b87baa

Please sign in to comment.