You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/04/11 20:19:57 UTC

[incubator-nuttx] 03/03: Update README.txt files for boards using SDCC

This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 8b87baa7143948a63acc994d7ad1522cfb93e291
Author: Gregory Nutt <gn...@nuttx.org>
AuthorDate: Sat Apr 11 13:13:15 2020 -0600

    Update README.txt files for boards using SDCC
    
    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 c [...]
---
 boards/z80/z180/p112/README.txt  | 8 ++++++++
 boards/z80/z80/z80sim/README.txt | 9 +++++++++
 2 files changed, 17 insertions(+)

diff --git a/boards/z80/z180/p112/README.txt b/boards/z80/z180/p112/README.txt
index 7a32cc6..3bdb596 100644
--- a/boards/z80/z180/p112/README.txt
+++ b/boards/z80/z180/p112/README.txt
@@ -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
diff --git a/boards/z80/z80/z80sim/README.txt b/boards/z80/z80/z80sim/README.txt
index c2a47d0..9a6610d 100644
--- a/boards/z80/z80/z80sim/README.txt
+++ b/boards/z80/z80/z80sim/README.txt
@@ -6,6 +6,7 @@ This port uses an instruction set simulator called z80sim.
 
 The SDCC toolchain is available from http://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
 ^^^^^^^^
@@ -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://sdcc.sourceforge.net/).
 Source and pre-built SDCC binaries can be downloaded from the SDCC SourceForge
 site: http://sourceforge.net/projects/sdcc/files/ .  Pre-built binaries are