summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-05-15 23:13:04 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-05-15 23:13:04 +0000
commite92569e289d8f3a557fc5f34e881e21100586483 (patch)
treeaf3cf4a250a7a9756b0464ad964dddf2c41135d7
parente38429346bc5a1f74d7618221ece01daefce3136 (diff)
Prep for 6.3 release
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3615 7fd9a85b-ad96-42d3-883c-3090e2eb8679
-rwxr-xr-xapps/ChangeLog.txt4
-rw-r--r--nuttx/ChangeLog8
-rw-r--r--nuttx/Documentation/NuttX.html292
-rw-r--r--nuttx/ReleaseNotes21
-rw-r--r--nuttx/lib/stdio/lib_fputs.c3
5 files changed, 208 insertions, 120 deletions
diff --git a/apps/ChangeLog.txt b/apps/ChangeLog.txt
index 2bb1ca8282..a174885428 100755
--- a/apps/ChangeLog.txt
+++ b/apps/ChangeLog.txt
@@ -31,7 +31,7 @@
* apps/examples/nxffs: Add a test a a configuration that will be used to
verify NXFFS.
-6.3 2011-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
+6.3 2011-05-15 Gregory Nutt <spudmonkey@racsa.co.cr>
* apps/interpreter: Add a directory to hold interpreters. The Pascal add-
on module now installs and builds under this directory.
@@ -47,3 +47,5 @@
multi-processor platforms. See http://rgmp.sourceforge.net/wiki/index.php/Main_Page
for further information about RGMP. NOTE: This is an empty example
on initial check-in.
+
+6.4 2011-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog
index 4144af00d2..dce9ecdaef 100644
--- a/nuttx/ChangeLog
+++ b/nuttx/ChangeLog
@@ -1723,11 +1723,11 @@
* fs/nxffs: After a couple of weeks of testing and bug fixes, NXFSS appears
stable and functional.
-6.3 2011-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
+6.3 2011-05-15 Gregory Nutt <spudmonkey@racsa.co.cr>
* Remove clock_getutc(). It is replaces with clock_gettime(CLOCK_ACTIVETIME).
Add other RTC related changes provided by Uros Platise.
- * arch/arm/src/stm32/stm32_flash.c: Add support for access to on-chp STM32
+ * arch/arm/src/stm32/stm32_flash.c: Add support for access to on-chip STM32
FLASH; beginning of integration with NXFFS (Uros Platise).
* arch/mips: Added directory structure for PIC32 support
* configs/pcblogic-pic32mx: Add directory structure for PCB Logic PIC32MX board
@@ -1755,7 +1755,9 @@
* lib/stdio: All output stream logic was modified to support CONFIG_STDIO_LINEBUFFER.
If standard C buffered I/O is enabled (CONFIG_STDIO_BUFFER_SIZE > 0), then this
option may be added to force automatic, line-oriented flushing the output buffer
- for putc(), fputc(), putchar(), puts(), fputs(), printf() fprintf(), and vfprintf().
+ for putc(), fputc(), putchar(), puts(), fputs(), printf(), fprintf(), and vfprintf().
When a newline is encountered in the output string, the output buffer will be
flushed. This (slightly) increases the NuttX footprint but supports the kind of
behavior that people expect for printf.
+
+6.4 2011-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
diff --git a/nuttx/Documentation/NuttX.html b/nuttx/Documentation/NuttX.html
index dad9c11729..2f92040dfd 100644
--- a/nuttx/Documentation/NuttX.html
+++ b/nuttx/Documentation/NuttX.html
@@ -8,7 +8,7 @@
<tr align="center" bgcolor="#e4e4e4">
<td>
<h1><big><font color="#3c34ec"><i>NuttX RTOS</i></font></big></h1>
- <p>Last Updated: May 14, 2011</p>
+ <p>Last Updated: May 15, 2011</p>
</td>
</tr>
</table>
@@ -829,16 +829,34 @@
</tr>
</table>
-<p><b>nuttx-6.2 Release Notes</b>:
-
+<p><b>nuttx-6.3 Release Notes</b>:
<p>
- The 69<sup>th</sup> release of NuttX, Version 6.2, was made on May 6, 2011 and is available for download from the
+ The 70<sup>th</sup> release of NuttX, Version 6.3, was made on May 15, 2011 and is available for download from the
<a href="http://sourceforge.net/projects/nuttx/files/">SourceForge</a> website.
The change log associated with the release is available <a href="#currentrelease">here</a>.
Unreleased changes after this release are available in SVN.
These unreleased changes are also listed <a href="#pendingchanges">here</a>.
</p>
<p>
+ The release of NuttX-6.3 follows only a nines days after the release of version 6.2.
+ This special back-to-back release was made so that the current released version of
+ NuttX will correspond to the initial release from the RGMP project.
+</p>
+<p>
+ This release adds architecture support and build configuration for RGMP.
+ RGMP is a project for running GPOS and RTOS simultaneously on multi-processor platforms.
+ See the <a href="http://rgmp.sourceforge.net/wiki/index.php/Main_Page">RGMP Wiki</a> for further information about RGMP.
+</p>
+<p>
+ This release also includes support for STM32 FLASH, build improvements, and initial, incomplete support for the MicroChip PIC32MX MCU.
+ Bug fixes are included for some build problems, USB host class driver error handling, NX graphics color mapping, and problems with C standard I/O buffer flushing.
+ See the ChangeLog for further details.
+</p>
+<p>
+ Release notes for version 6.2 are retained because they are still relevant.
+</p>
+<p><b>nuttx-6.2 Release Notes</b>:
+<p>
The 6.2 NuttX release includes several new features:
</p>
<ul>
@@ -1425,6 +1443,83 @@
<tr>
<td valign="top"><img height="20" width="20" src="favicon.ico"></td>
<td bgcolor="#5eaee1">
+ <b>Atmel AVR32</b>
+ </td>
+</tr>
+<tr>
+ <td><br></td>
+ <td>
+ <p>
+ <b>AV32DEV1</b>.
+ This port uses the www.mcuzone.com AVRDEV1 board based on the Atmel AT32UC3B0256 MCU.
+ This port requires a special GNU avr32 toolchain available from atmel.com website.
+ This is a windows native toolchain and so can be used only under Cygwin on Windows.
+ </p>
+ <ul>
+ <p>
+ <b>STATUS:</b>
+ This port is has completed all basic development, but there is more that needs to be done.
+ All code is complete for the basic NuttX port including header files for all AT32UC3* peripherals.
+ The untested AVR32 code was present in the 5.12 release of NuttX.
+ Since then, the basic RTOS port has solidified:
+ <ul>
+ <li>
+ The port successfully passes the NuttX OS test (apps/examples/ostest).
+ </li>
+ <li>
+ A NuttShell (NSH) configuration is in place (see the <a href="http://www.nuttx.org/NuttShell.html">NSH User Guide</a>).
+ Testing of that configuration has been postponed (because it got bumped by the Olimex LPC1766-STK port).
+ Current Status: I think I have a hardware problem with my serial port setup.
+ There is a good chance that the NSH port is complete and functional, but I am not yet able to demonstrate that.
+ At present, I get nothing coming in the serial RXD line (probably because the pins are configured wrong or I have the MAX232 connected wrong).
+ </li>
+ </ul>
+ The basic, port (including the verified apps/examples/ostest configuration) was be released in NuttX-5.13.
+ A complete port will include drivers for additional AVR32 UC3 devices -- like SPI and USB --- and will be available in a later release,
+ time permitting.
+ </p>
+ </ul>
+ </td>
+</tr>
+<tr>
+ <td valign="top"><img height="20" width="20" src="favicon.ico"></td>
+ <td bgcolor="#5eaee1">
+ <b>Freescale M68HSC12</b>
+ </td>
+</tr>
+<tr>
+ <td><br></td>
+ <td>
+ <p>
+ <b>MC9S12NE64</b>.
+ Support for the MC9S12NE64 MCU and two boards are included:
+ </p>
+ <ul>
+ <li>
+ The Freescale DEMO9S12NE64 Evaluation Board, and
+ </li>
+ <li>
+ The Future Electronics Group NE64 /PoE Badge board.
+ </li>
+ </ul>
+ <p>
+ Both use a GNU arm-elf toolchain* under Linux or Cygwin.
+ The NuttX <a href="http://sourceforge.net/projects/nuttx/files/buildroot/">buildroot</a> provides a properly patched GCC 3.4.4 toolchain that is highly optimized for the m9s12x family.
+ </p>
+ <ul>
+ <p>
+ <b>STATUS:</b>
+ Coding is complete for the MC9S12NE64 and for the NE64 Badge board.
+ However, testing has not yet begun due to issues with BDMs, Code Warrior, and
+ the paging in the build process.
+ Progress is slow, but I hope to see a fully verified MC9S12NE64 port in the near future.
+ </p>
+ </ul>
+ </td>
+</tr>
+<tr>
+ <td valign="top"><img height="20" width="20" src="favicon.ico"></td>
+ <td bgcolor="#5eaee1">
<b>Intel 8052 Microcontroller</b>
</td>
</tr>
@@ -1451,7 +1546,7 @@
<tr>
<td valign="top"><img height="20" width="20" src="favicon.ico"></td>
<td bgcolor="#5eaee1">
- <b>Intel 80486 (i486) Microprocessor</b>
+ <b>Intel 80x86</b>
</td>
</tr>
<tr>
@@ -1474,37 +1569,28 @@
</td>
</tr>
<tr>
- <td valign="top"><img height="20" width="20" src="favicon.ico"></td>
- <td bgcolor="#5eaee1">
- <b>Frescale M68HSC12</b>
- </td>
+ <td><br></td>
+ <td><hr></td>
</tr>
<tr>
<td><br></td>
<td>
<p>
- <b>MC9S12NE64</b>.
- Support for the MC9S12NE64 MCU and two boards are included:
+ <b>RGMP</b>.
+ RGMP stands for RTOS and GPOS on Multi-Processor.
+ RGMP is a project for running GPOS and RTOS simultaneously on multi-processor platforms
+ You can port your favorite RTOS to RGMP together with an unmodified Linux to form a hybrid operating system.
+ This makes your application able to use both RTOS and GPOS features.
</p>
- <ul>
- <li>
- The Freescale DEMO9S12NE64 Evaluation Board, and
- </li>
- <li>
- The Future Electronics Group NE64 /PoE Badge board.
- </li>
- </ul>
<p>
- Both use a GNU arm-elf toolchain* under Linux or Cygwin.
- The NuttX <a href="http://sourceforge.net/projects/nuttx/files/buildroot/">buildroot</a> provides a properly patched GCC 3.4.4 toolchain that is highly optimized for the m9s12x family.
+ See the <a href="http://rgmp.sourceforge.net/wiki/index.php/Main_Page">RGMP Wiki</a> for further information about RGMP.
</p>
<ul>
<p>
<b>STATUS:</b>
- Coding is complete for the MC9S12NE64 and for the NE64 Badge board.
- However, testing has not yet begun due to issues with BDMs, Code Warrior, and
- the paging in the build process.
- Progress is slow, but I hope to see a fully verified MC9S12NE64 port in the near future.
+ This initial port of NuttX to RGMP was provided in NuttX-6.3.
+ This initial RGP port provides only minimal driver support and does not use the native NuttX interrupt system.
+ This is a great, stable starting point for anyone interest in working with NuttX under RGMP!
</p>
</ul>
</td>
@@ -1512,40 +1598,28 @@
<tr>
<td valign="top"><img height="20" width="20" src="favicon.ico"></td>
<td bgcolor="#5eaee1">
- <b>Atmel AVR32</b>
+ <b>MicroChip PIC32 (MIPS)</b>
</td>
</tr>
<tr>
<td><br></td>
<td>
<p>
- <b>AV32DEV1</b>.
- This port uses the www.mcuzone.com AVRDEV1 board based on the Atmel AT32UC3B0256 MCU.
- This port requires a special GNU avr32 toolchain available from atmel.com website.
- This is a windows native toolchain and so can be used only under Cygwin on Windows.
+ <b>PIC32MX460F512L</b>.
+ A port of NuttX to the PIC32MX460F512L is underway.
+ This port uses the PIC32MX board from PCB Logic Design Co.
+ The board is a very simple -- little more than a carrier for the PIC32 MCU plus voltage regulation, debug interface, and an OTG connector.
+ </p>
+ <p>
+ <b>Development Environment:</b>
+ This port uses the <i>LITE</i> version of the PIC32MX toolchain available
+ for download from the <a href="http://www.microchip.com">MicroChip</a> website.
</p>
<ul>
<p>
<b>STATUS:</b>
- This port is has completed all basic development, but there is more that needs to be done.
- All code is complete for the basic NuttX port including header files for all AT32UC3* peripherals.
- The untested AVR32 code was present in the 5.12 release of NuttX.
- Since then, the basic RTOS port has solidified:
- <ul>
- <li>
- The port successfully passes the NuttX OS test (apps/examples/ostest).
- </li>
- <li>
- A NuttShell (NSH) configuration is in place (see the <a href="http://www.nuttx.org/NuttShell.html">NSH User Guide</a>).
- Testing of that configuration has been postponed (because it got bumped by the Olimex LPC1766-STK port).
- Current Status: I think I have a hardware problem with my serial port setup.
- There is a good chance that the NSH port is complete and functional, but I am not yet able to demonstrate that.
- At present, I get nothing coming in the serial RXD line (probably because the pins are configured wrong or I have the MAX232 connected wrong).
- </li>
- </ul>
- The basic, port (including the verified apps/examples/ostest configuration) was be released in NuttX-5.13.
- A complete port will include drivers for additional AVR32 UC3 devices -- like SPI and USB --- and will be available in a later release,
- time permitting.
+ This port is in its very earliest stages -- most just header file development.
+ Stay tuned for future releases including verified PIC32 support.
</p>
</ul>
</td>
@@ -1751,26 +1825,12 @@ BFD_ASSERT (*plt_offset != (bfd_vma) -1);
<ul>
</td>
</tr>
-<tr>
- <td valign="top"><img height="20" width="20" src="favicon.ico"></td>
- <td bgcolor="#5eaee1">
- <b>Other ports</b>
- </td>
-</tr>
-<tr>
- <td><br></td>
- <td>
- <p>
- There are partial ports for the TI TMS320DM270 and for MIPS.
- </p>
- </td>
-</tr>
</table></center>
<blockquote>* A highly modified <a href="http://buildroot.uclibc.org/">buildroot</a>
is available that may be used to build a NuttX-compatible ELF toolchain under
-Linux or Cygwin. Configurations are available in that buildroot to support ARM,
-m68k, m68hc11, m68hc12, and SuperH ports.</blockquote>
+Linux or Cygwin. Configurations are available in that buildroot to support ARM, Cortex-M3,
+avr, m68k, m68hc11, m68hc12, m9s12, blackfin, m32c, h8, and SuperH ports.</blockquote>
<table width ="100%">
<tr bgcolor="#e4e4e4">
@@ -2142,56 +2202,11 @@ nuttx-6.2 2011-05-06 Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
* fs/nxffs: After a couple of weeks of testing and bug fixes, NXFSS appears
stable and functional.
-apps-6.2 2011-05-06 Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
-
- * apps/examples/nxffs: Add a test a a configuration that will be used to
- verify NXFFS.
-
-pascal-2.0 2009-12-21 Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
-
- * Updated to use standard C99 types in stdint.h and
- stdbool.h. This change was necessary for compatibility
- with NuttX-5.0 (any beyond).
-
-buildroot-1.10 2011-05-06 &lt;spudmonkey@racsa.co.cr&gt;
-
- * Add patch submitted by Dimiter Georgiev to work around problems in building
- GDB 6.8 with versions of Cygwin &gt; 1.7.
- * configs/i486-defconfig-4.3.3 - Builds an i486 cross development toolchain
- using gcc 4.3.3. Why wouldyou want such a thing? On Linux, of course,
- such a thing is not needed because you can use the installed GCC to build
- i486 ELF binaries. But that will not work under Cygwin! The Cygwin
- toolchain (and probably MinGW), build DOS MZ format executables (i.e.,
- .exe files). That is probably not usable for most NuttX targets.
- Instead, you should use this i486-elf-gcc to generate true ELF binaries
- under Cygwin.
- * Makefile - Alter copy arguments to avoid permissions problems when
- copying NuttX header files.
- * toolchain/nxflat/nxflat.mk and Makefile - Fix include paths.
- * toolchain/gcc/3.3.6 - Added a patch to fixed compilation error on Ubuntu
- 9.10.
- * toolchain/nxflat/Makefile - Correct static library link order.
- * configs/arm920t-defconfig-4.3.3 - Enable support for NXFLAT tools.
- * toolchain/binutils/2.21 and toolchain/gcc/4.5.2 - Add support for GCC
- 4.5.2 with binutils 2.21.
- * configs/arm920t-eabi-defconfig-4.5.2 - Add a configuration to build a
- GCC 4.5.2 EABI ARM toolchain for the ARM920t.
-</pre></ul>
-
-<table width ="100%">
- <tr bgcolor="#e4e4e4">
- <td>
- <a name="pendingchanges">Unreleased Changes</a>
- </td>
- </tr>
-</table>
-
-<ul><pre>
-nuttx-6.3 2011-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
+nuttx-6.3 2011-05-15 Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
* Remove clock_getutc(). It is replaces with clock_gettime(CLOCK_ACTIVETIME).
Add other RTC related changes provided by Uros Platise.
- * arch/arm/src/stm32/stm32_flash.c: Add support for access to on-chp STM32
+ * arch/arm/src/stm32/stm32_flash.c: Add support for access to on-chip STM32
FLASH; beginning of integration with NXFFS (Uros Platise).
* arch/mips: Added directory structure for PIC32 support
* configs/pcblogic-pic32mx: Add directory structure for PCB Logic PIC32MX board
@@ -2219,12 +2234,17 @@ nuttx-6.3 2011-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
* lib/stdio: All output stream logic was modified to support CONFIG_STDIO_LINEBUFFER.
If standard C buffered I/O is enabled (CONFIG_STDIO_BUFFER_SIZE > 0), then this
option may be added to force automatic, line-oriented flushing the output buffer
- for putc(), fputc(), putchar(), puts(), fputs(), printf() fprintf(), and vfprintf().
+ for putc(), fputc(), putchar(), puts(), fputs(), printf(), fprintf(), and vfprintf().
When a newline is encountered in the output string, the output buffer will be
flushed. This (slightly) increases the NuttX footprint but supports the kind of
behavior that people expect for printf.
-apps-6.3 2011-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
+apps-6.2 2011-05-06 Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
+
+ * apps/examples/nxffs: Add a test a a configuration that will be used to
+ verify NXFFS.
+
+apps-6.3 2011-05-15 Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
* apps/interpreter: Add a directory to hold interpreters. The Pascal add-
on module now installs and builds under this directory.
@@ -2241,6 +2261,50 @@ apps-6.3 2011-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
for further information about RGMP. NOTE: This is an empty example
on initial check-in.
+pascal-2.0 2009-12-21 Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
+
+ * Updated to use standard C99 types in stdint.h and
+ stdbool.h. This change was necessary for compatibility
+ with NuttX-5.0 (any beyond).
+
+buildroot-1.10 2011-05-06 &lt;spudmonkey@racsa.co.cr&gt;
+
+ * Add patch submitted by Dimiter Georgiev to work around problems in building
+ GDB 6.8 with versions of Cygwin &gt; 1.7.
+ * configs/i486-defconfig-4.3.3 - Builds an i486 cross development toolchain
+ using gcc 4.3.3. Why wouldyou want such a thing? On Linux, of course,
+ such a thing is not needed because you can use the installed GCC to build
+ i486 ELF binaries. But that will not work under Cygwin! The Cygwin
+ toolchain (and probably MinGW), build DOS MZ format executables (i.e.,
+ .exe files). That is probably not usable for most NuttX targets.
+ Instead, you should use this i486-elf-gcc to generate true ELF binaries
+ under Cygwin.
+ * Makefile - Alter copy arguments to avoid permissions problems when
+ copying NuttX header files.
+ * toolchain/nxflat/nxflat.mk and Makefile - Fix include paths.
+ * toolchain/gcc/3.3.6 - Added a patch to fixed compilation error on Ubuntu
+ 9.10.
+ * toolchain/nxflat/Makefile - Correct static library link order.
+ * configs/arm920t-defconfig-4.3.3 - Enable support for NXFLAT tools.
+ * toolchain/binutils/2.21 and toolchain/gcc/4.5.2 - Add support for GCC
+ 4.5.2 with binutils 2.21.
+ * configs/arm920t-eabi-defconfig-4.5.2 - Add a configuration to build a
+ GCC 4.5.2 EABI ARM toolchain for the ARM920t.
+</pre></ul>
+
+<table width ="100%">
+ <tr bgcolor="#e4e4e4">
+ <td>
+ <a name="pendingchanges">Unreleased Changes</a>
+ </td>
+ </tr>
+</table>
+
+<ul><pre>
+nuttx-6.4 2011-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
+
+apps-6.4 2011-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
+
pascal-3.0 2011-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
* nuttx/: The Pascal add-on module now installs and builds under the
diff --git a/nuttx/ReleaseNotes b/nuttx/ReleaseNotes
index 8080297a75..5631ef194e 100644
--- a/nuttx/ReleaseNotes
+++ b/nuttx/ReleaseNotes
@@ -1852,3 +1852,24 @@ In addition to these new feature, several important bugfixes are included
in this release correcting problems with dup2(), LPC17xx GPIO interrupts,
LPC17xx UART2/3, the FAT file system, build issues, and strrch(). See the
ChangeLog for more details.
+
+nuttx-6.3
+^^^^^^^^^
+
+The 70th release of NuttX follows only a nines days after the release of
+version 6.2. It was released on May 15, 2011. This special back-to-back
+release was made so that the current released version of NuttX will
+correspond to the initial release from the RGMP project.
+
+This release adds architecture support and build configuration for RGMP.
+RGMP is a project for running GPOS and RTOS simultaneously on multi-
+processor platforms. See http://rgmp.sourceforge.net/wiki/index.php/Main_Page
+for further information about RGMP.
+
+This release also includes support for STM32 FLASH, build improvements,
+and initial, incomplete support for the MicroChip PIC32MX MCU. Bug fixes
+are included for some build problems, USB host class driver error handling,
+NX graphics color mapping, and problems with C standard I/O buffer flushing.
+See the ChangeLog for further details.
+
+
diff --git a/nuttx/lib/stdio/lib_fputs.c b/nuttx/lib/stdio/lib_fputs.c
index 57efba5dc3..39d52493d7 100644
--- a/nuttx/lib/stdio/lib_fputs.c
+++ b/nuttx/lib/stdio/lib_fputs.c
@@ -138,7 +138,6 @@ int fputs(FAR const char *s, FAR FILE *stream)
{
int ntowrite;
int nput;
- int ret;
/* Make sure that a string was provided. */
@@ -163,7 +162,7 @@ int fputs(FAR const char *s, FAR FILE *stream)
nput = lib_fwrite(s, ntowrite, stream);
if (nput < 0)
{
- return EOF
+ return EOF;
}
return nput;
}