9
0
Fork 0

Prep for 6.21 release

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5052 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo 2012-08-25 16:40:31 +00:00
parent 49e2d1084d
commit 1007973152
6 changed files with 676 additions and 212 deletions

View File

@ -248,7 +248,7 @@
being set to the priority of the parent thread; losing its configured being set to the priority of the parent thread; losing its configured
priority. Reported by Mike Smith. priority. Reported by Mike Smith.
6.21 2012-xx-xx Gregory Nutt <gnutt@nuttx.org> 6.21 2012-08-25 Gregory Nutt <gnutt@nuttx.org>
* apps/include/: Stylistic clean-up of all header files. * apps/include/: Stylistic clean-up of all header files.
* apps/modbus and apps/include/modbus: A port of freemodbus-v1.5.0 * apps/modbus and apps/include/modbus: A port of freemodbus-v1.5.0
@ -259,9 +259,9 @@
* apps/modbus: Add CONFIG_MB_TERMIOS. If the driver doesn't support * apps/modbus: Add CONFIG_MB_TERMIOS. If the driver doesn't support
termios ioctls, then don't bother trying to configure the baud, parity termios ioctls, then don't bother trying to configure the baud, parity
etc. etc.
* apps/nslib: If waitpid() is supported, then NSH not catches the * apps/nshlib: If waitpid() is supported, then NSH now catches the
return value from spawned applications (provided by Mike Smith) return value from spawned applications (provided by Mike Smith)
* apps/nslib: Lock the schedule while starting built-in applications * apps/nshlib: Lock the scheduler while starting built-in applications
in order to eliminate race conditions (also from Mike Smith). in order to eliminate race conditions (also from Mike Smith).
* apps/examples/adc, pwm, and qencoder: Add support for testing * apps/examples/adc, pwm, and qencoder: Add support for testing
devices with multiple ADC, PWM, and QE devices. devices with multiple ADC, PWM, and QE devices.
@ -272,9 +272,11 @@
properties of mounted file systems. properties of mounted file systems.
* apps/nshlib/nsh_parse.c: Extend help command options. 'help' with * apps/nshlib/nsh_parse.c: Extend help command options. 'help' with
no arguments outputs a short list of commands. With -v lists all no arguments outputs a short list of commands. With -v lists all
command line details. And command name can be added to just get command line details. A command name can be added to just get
help on one command. help on one command.
* system/readline.c: If character input/output is interrupted by a * system/readline.c: If character input/output is interrupted by a
signal, then readline() will try the read/write again. signal, then readline() will try the read/write again.
* apps/*/Make.defs: Numerous fixes needed to use the automated * apps/*/Make.defs: Numerous fixes needed to use the automated
configuration (from Richard Cochran). configuration (from Richard Cochran).
6.22 2012-xx-xx Gregory Nutt <gnutt@nuttx.org>

View File

@ -2280,7 +2280,7 @@
the particular condition that revealed the bug occurred. My impression is the particular condition that revealed the bug occurred. My impression is
that this latter bugfix also fixes some STM32 USB performance problems. that this latter bugfix also fixes some STM32 USB performance problems.
* configs/hymini-stm32v: A configuration for the HY-Mini STM32v board contributed * configs/hymini-stm32v: A configuration for the HY-Mini STM32v board contributed
by Laurent Latil. Theses changes also include support for the STM32F103VCT6. by Laurent Latil. These changes also include support for the STM32F103VCT6.
* arch/configs/stm3240g-eval/src/up_pwm.c: Add hooks needed to use the new * arch/configs/stm3240g-eval/src/up_pwm.c: Add hooks needed to use the new
apps/examples/pwm test of the STM32 PWM driver. apps/examples/pwm test of the STM32 PWM driver.
* drivers/mtd/mp25x.c: Add ability to use different SPI modes and different * drivers/mtd/mp25x.c: Add ability to use different SPI modes and different
@ -2977,7 +2977,7 @@
* configs/lpc4330-xplorer/nsh: Add an NSH configuration for the LPC4330 * configs/lpc4330-xplorer/nsh: Add an NSH configuration for the LPC4330
Xplorer board. Xplorer board.
6.21 2012-xx-xx Gregory Nutt <gnutt@nuttx.org> 6.21 2012-08-25 Gregory Nutt <gnutt@nuttx.org>
* configs/lpc4330-xplorer/up_nsh.c: Add support for a basic SPIFI block * configs/lpc4330-xplorer/up_nsh.c: Add support for a basic SPIFI block
driver for use by NSH. Does not work! Crashes on first SPIFI write. driver for use by NSH. Does not work! Crashes on first SPIFI write.
@ -3024,7 +3024,7 @@
but the driver still does not work. but the driver still does not work.
* arch/arm/src/stm32 and arch/arm/include/stm32: Make name of RTC ALARM interrupt * arch/arm/src/stm32 and arch/arm/include/stm32: Make name of RTC ALARM interrupt
common on STM32 F1,2,4 common on STM32 F1,2,4
* arch/arm/src/stm32 and arch/arm/include/stm32: Add add support for the * arch/arm/src/stm32 and arch/arm/include/stm32: Add support for the
STM32F100x "Value Line" devices. This includes changes to stm32F10xx_rcc.c that STM32F100x "Value Line" devices. This includes changes to stm32F10xx_rcc.c that
add the ability to run the chip off the internal oscillator. There is no open add the ability to run the chip off the internal oscillator. There is no open
board configuration for this part yet (the STM32VLDiscovery would be a candidate). board configuration for this part yet (the STM32VLDiscovery would be a candidate).
@ -3050,7 +3050,7 @@
* include/termios.h and lib/termios/*: Redesigned yet again (this is getting * include/termios.h and lib/termios/*: Redesigned yet again (this is getting
painful. NuttX now supports the BOTHER baud setting just as Linux does. termios painful. NuttX now supports the BOTHER baud setting just as Linux does. termios
Bxxx definitions are again encoded; cf[set|get][o|i]speed now deal with only the Bxxx definitions are again encoded; cf[set|get][o|i]speed now deal with only the
encoded values. If the encode baud is set to BOTHER, then the values in the (non- encoded values. If the encoded baud is set to BOTHER, then the values in the (non-
standard) c_ispeed and c_ospeed baud values may be accessed directly. standard) c_ispeed and c_ospeed baud values may be accessed directly.
* arch/arm/src/stm32/stm32_serial.c: Add minimal termios support for the STM32 * arch/arm/src/stm32/stm32_serial.c: Add minimal termios support for the STM32
(BOTHER style baud settings only). Contributed by Mike Smith. (BOTHER style baud settings only). Contributed by Mike Smith.
@ -3063,8 +3063,7 @@
* arch/arm/src/stm32/stm32_sdio.c and chip/stm32f20xx_pinmap.h: STM32 F2 SDIO * arch/arm/src/stm32/stm32_sdio.c and chip/stm32f20xx_pinmap.h: STM32 F2 SDIO
fixes from Gary Teravskis and Scott Rondestvedt. fixes from Gary Teravskis and Scott Rondestvedt.
* include/termios.h and lib/termios/*: Replace cfsetispeed and cfsetospeed with * include/termios.h and lib/termios/*: Replace cfsetispeed and cfsetospeed with
cfsetspeed (with definitions for the input/outputs in termios.h). Same for cfsetspeed (with definitions for the input/outputs in termios.h).
cfgetispeed and cfgetospeed.
* configs/stm32f4discovery/src and configs/stm32f4discovery/pm: Add a power * configs/stm32f4discovery/src and configs/stm32f4discovery/pm: Add a power
management configuration for the STM32F4Discovery and supporting logic. This management configuration for the STM32F4Discovery and supporting logic. This
check-in also includes some fixes for the F4 RTC alarm logic. check-in also includes some fixes for the F4 RTC alarm logic.
@ -3090,10 +3089,10 @@
* arch/mips/src/pic32mx/pic32mx-gpio.c: Now supports the PIC32MX1/2 ANSEL * arch/mips/src/pic32mx/pic32mx-gpio.c: Now supports the PIC32MX1/2 ANSEL
IOPORT register. IOPORT register.
* lib/string/lib_memchr.c: Add support for memchr() (contributed by Mike Smith) * lib/string/lib_memchr.c: Add support for memchr() (contributed by Mike Smith)
* lib/string/lib_memccpy.c: Add support for memcpy() * lib/string/lib_memccpy.c: Add support for memccpy()
* arch/arm/src/lpc17xx/lpc17_serial.c: Now supports ioctl commands to change * arch/arm/src/lpc17xx/lpc17_serial.c: Now supports ioctl commands to change
the baud using tcsetattr() (contributed by Chris Taglia). the baud using tcsetattr() (contributed by Chris Taglia).
* arch/*/src/*_serial.c: Fix ioctl method return values. Theses methods * arch/*/src/*_serial.c: Fix ioctl method return values. These methods
should return a negated errno value; they should not set the errno should return a negated errno value; they should not set the errno
variable. variable.
* sched/on_exit.c, sched/task_exithook.c, and include/nuttx/sched.c: Add * sched/on_exit.c, sched/task_exithook.c, and include/nuttx/sched.c: Add
@ -3118,7 +3117,7 @@
* arch/arm/src/stm32/stm32*_rcc.c and .h: If CONFIG_PM is defined, add a * arch/arm/src/stm32/stm32*_rcc.c and .h: If CONFIG_PM is defined, add a
function called stm32_clockenable() that can be used by PM logic to re-start function called stm32_clockenable() that can be used by PM logic to re-start
the PLL after re-awakening from deep sleep modes. the PLL after re-awakening from deep sleep modes.
* fs/fs_foreachinode.c and fs/fs_foreachmountpoint.c: All logic to traverse * fs/fs_foreachinode.c and fs/fs_foreachmountpoint.c: Add logic to traverse
inodes and mountpoints in the NuttX pseudo-file system. inodes and mountpoints in the NuttX pseudo-file system.
* fs/fat/fs_fat32.c: Max. filename length reported by statfs() was wrong * fs/fat/fs_fat32.c: Max. filename length reported by statfs() was wrong
if FAT long file names were enabled. if FAT long file names were enabled.
@ -3137,7 +3136,7 @@
LPC31xx has the same USB IP, but will require some additional initialization LPC31xx has the same USB IP, but will require some additional initialization
(and lots of testing) before it can be used with the LPC43xx. (and lots of testing) before it can be used with the LPC43xx.
* nuttx/Documentation/NuttShell.html: Added a section covering ways to * nuttx/Documentation/NuttShell.html: Added a section covering ways to
customize the behavior or NSH. customize the behavior of NSH.
* arch/arm/src/stm32/chip/stm32f1*_pinmap.h: STM32 CAN TX/RX pins reversed; * arch/arm/src/stm32/chip/stm32f1*_pinmap.h: STM32 CAN TX/RX pins reversed;
inconsistent conditional compilation. Reported by Max Holtzberg. inconsistent conditional compilation. Reported by Max Holtzberg.
* arch/arm/*/stm32: Add support for STM32 F107 "Connectivity Line" * arch/arm/*/stm32: Add support for STM32 F107 "Connectivity Line"
@ -3166,14 +3165,16 @@
for all 8-bit AVR platforms (Thanks Richard Cochran). for all 8-bit AVR platforms (Thanks Richard Cochran).
* lib/stdio/lib_*stream.c: Revised to handle new error return values from * lib/stdio/lib_*stream.c: Revised to handle new error return values from
serial.c. serial.c.
* arch/arm/src/stm32/stm32_spi.c: SPI driver can now survice re- * arch/arm/src/stm32/stm32_spi.c: SPI driver can now service re-
initialization (Mike Smith). initialization (Mike Smith).
* tools/mkconfig.c: If CONFIG_DRAM_END is not specified, this tool * tools/mkconfig.c: If CONFIG_DRAM_END is not specified, this tool
will provide default definition of (CONFIG_DRAM_START + CONFIG_DRAM_SIZE) will provide default definition of (CONFIG_DRAM_START + CONFIG_DRAM_SIZE)
* arch/arm/src/stm32/stm32_otgfshost.c: Renamed from stm32_usbhost.c. * arch/arm/src/stm32/stm32_otgfshost.c: Renamed from stm32_usbhost.c.
This is nearly code complete and, with any luck, will be available This is nearly code complete and, with any luck, will be available
in NuttX-6.22. in NuttX-6.21.
* configs/*/defconfig: Update all defconfig files to remove syntax * configs/*/defconfig: Update all defconfig files to remove syntax
that is incompatible with the mconf configuration tool. that is incompatible with the mconf configuration tool.
* arch/arm/src/stm32/stm32_otgfshost.c: This driver now appears to be * arch/arm/src/stm32/stm32_otgfshost.c: This driver now appears to be
functional (although more testing is necesary). functional (although more testing is necesary).
6.22 2012-xx-xx Gregory Nutt <gnutt@nuttx.org>

View File

@ -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: August 10, 2012</p> <p>Last Updated: August 25, 2012</p>
</td> </td>
</tr> </tr>
</table> </table>
@ -407,6 +407,13 @@
</li> </li>
</p> </p>
</tr> </tr>
<tr>
<td><br></td>
<td>
<p>
<li>Generic system logging (SYSLOG) support.</li>
</p>
</tr>
<tr> <tr>
<td><br></td> <td><br></td>
<td> <td>
@ -967,106 +974,261 @@
</tr> </tr>
</table> </table>
<h2>NuttX-6.20 Release Notes</h2> <h2>NuttX-6.21 Release Notes</h2>
<p> <p>
The 87<sup>th</sup> release of NuttX, Version 6.20, was made on July 12, 2012, and is available for download from the The 88<sup>th</sup> release of NuttX, Version 6.21, was made on August 25, 2012, and is available for download from the
<a href="http://sourceforge.net/projects/nuttx/files/">SourceForge</a> website. <a href="http://sourceforge.net/projects/nuttx/files/">SourceForge</a> website.
Note that the release consists of two tarballs: <code>nuttx-6.20.tar.gz</code> and <code>apps-6.20.tar.gz</code>. Note that the release consists of two tarballs: <code>nuttx-6.21.tar.gz</code> and <code>apps-6.21.tar.gz</code>.
Both may be needed (see the top-level <code>nuttx/README.txt</code> file for build information) Both may be needed (see the top-level <code>nuttx/README.txt</code> file for build information)
The change log associated with the release is available <a href="#currentrelease">here</a>. The change log associated with the release is available <a href="#currentrelease">here</a>.
Unreleased changes after this release are available in SVN. Unreleased changes after this release are available in SVN.
These unreleased changes are also listed <a href="#pendingchanges">here</a>. These unreleased changes are also listed <a href="#pendingchanges">here</a>.
</p> </p>
<p> <p>
This release corresponds with SVN release number: r4937 This release corresponds with SVN release number: r5052
</p> </p>
<p> <p>
<b>Additional new features and extended functionality</b> <b>Additional new features and extended functionality</b>
</p> </p>
<ul> <ul>
<li><b>Power Management</b> <li><b>Core</b>
<p> <ul>
An evolving power management example is being created by Diego Sanchez. <li>
This effort currently involves on the STM32 F1 but clearly demonstrates the NuttX power management system which will automatically drive the system to lower power usage states due to lack of use. Add support for multiple registered <code>atexit()</code> functions.
</li>
<li>
Syslog extended:
Now any character driver may be used for the debug logging device.
Mountpoint traversal logic.
</li>
</ul>
</li> </li>
<li><b>Drivers</b> <li><b>Common Drivers</b>
<p> <ul>
Added a driver for the SST 25 SPI-based FLASH parts. <li>
</li> Added support for the TI PGA112-7 amplifier/multiplexor.
<li><b>PIC32</b> </li>
<p> </ul>
Added support for the PIC32MX1 and PIC32MX2 families.
Added support for the microchipOpen and Pinguino toolchains.
</li> </li>
<li><b>NXP LPC43XX</b> <li><b>NXP LPC43XX</b>
<p> <ul>
Added support for the entire LPC43xx family <li>
Added clock ramp-up logic to run at 204 MHz.
</li>
</ul>
</li> </li>
<li><b>PIC32 boards</b> <li><b>NXP LPC43XX Drivers</b>
<p> <ul>
Added support for the DTX1-4000L &quot;Mirtoo&quot; module/ <li>
See the <a href="http://www.dimitech.com/">Dimitech</a> website for further information. SPIFI block driver
(PIC32MX2). </li>
<li>
RS-485 support
</li>
<li>
Minimal termios support
</li>
<li>
Framework for USB0 device controller driver.
</li>
</ul>
</li> </li>
<li><b>NXP LPC43XX Boards</b> <li><b>NXP LPC17XX Drivers</b>
<p> <ul>
Added support for <a href="http://www.ngxtech.com/">NGX Technologies</a> LPC4330-Xplorer board. <li>
Minimal termios support
</li>
</ul>
</li> </li>
<li><b>NXP LPC17XX Boards</b> <li><b>STM32</b>
<p> <ul>
Added support for <a href="http://www.micromint.com/">Micromint</a> Lincoln60 board (LPC1769). <li>
</li> Support for STM32 F1 &quot;Value Line&quot; (contributed by Mike Smith).
<li><b>LM3S Boards</b> </li>
<p> <li>
Add a configuration to support the TI/Stellaris EKK-LM3S3B96 development board. Add support for STM32 F107 &quot;Connectivity Line&quot; (contributed by Max Holtzberg).
Contributed by Jose Pablo Rojas V. </li>
</li> <li>
<li><b>Library</b> Clock restart logic needed for recovery from low power modes.
<p> </li>
NuttX now supports platform-specific stdarg.h header files. </ul>
</li>
</ul>
<p><b>Work in progress</b>.
This release includes some partially completed work that is still not ready for prime time.
</p>
<ul>
<li><b>Automated Configuration</b>
<p>
Automated configuration based on the <code>kconfig-frontends</code> tool is being incorporated into the build system.
The configuration is still not complete enough for general use in this release.
</p>
</li> </li>
<li><b>STM32 Drivers</b> <li><b>STM32 Drivers</b>
<p> <ul>
Added files that will (eventually) hold an STM32 OTG FS host driver. This is still a work in progress. <li>
</p> RTC alarm support. Usable for wakeup from sleep mode.
</li>
<li>
Minimal serial termios support.
</li>
<li>
USB OTG FS host driver (alpha).
</li>
</ul>
</li>
<li><b>STM32 Boards</b>
<ul>
<li>
Add power management hooks for the STM32F4Discovery
</li>
<li>
Add support for the Olimex STM32-P107 (contributed by Max Holtzberg)
</li>
</ul>
</li>
<li><b>PIC32</b>
<ul>
<li>
Add support for the Pinguino MIPS toolchain
</li>
</ul>
</li>
<li><b>PIC32 Drivers</b>
<ul>
<li>
GPIO driver now supports F1 analog regiaters (ANSEL)
</li>
</ul>
</li>
<li><b>PIC32 Boards</b>
<ul>
<li>
Add support for the PGA117 on the Mirtoo module
</li>
</ul>
</li>
<li><b>Calypso</b>
<ul>
<li>
Add support for the SSD1783 LCD on the Compal E99
</li>
</ul>
</li>
<li><b>Library</b>
<ul>
<li>
<code>cfsetispeed()</code>, <code>cfsetospeed()</code>, <code>tcflush()</code>, <code>memchr()</code>, and <code>memccpy()</code>.
</li>
</ul>
</li>
<li><b>Applications</b>
<ul>
<li>
Port of freemodbus-v1.5.0.
</li>
<li>
Add support for testing devices with multiple ADC, PWM, and QE devices.
</li>
<li>
NSH <code>mount</code> command (with no arguments) will now show mounted volumes.
</li>
<li>
Added new NSH <code>df</code> command to show file system usage.
</li>
<li>
Extended NSH 'help' support.
</li>
<li>
NSH now catches the return value from spawned applications (provided by Mike Smith).
</li>
</ul>
</li>
<li><b>Build System</b>
<ul>
<li>
<code>mkconfig</code> will not define <code>CONFIG_DRAM_END</code>.
</li>
<li>
A lot of progress has been made on the automated NuttX configuration logic (Thanks go to Richard Cochran).
</li>
</ul>
</li>
<li><b>Documentation</b>
<ul>
<li>
Document ways to customize the behavior of NSH
</li>
</ul>
</li> </li>
</ul> </ul>
<p><b>Bugfixes</b> (see the change log for details):</p> <p><b>Bugfixes</b> (see the change log for details):</p>
<ul> <ul>
<li><b>PIC32</b> <li><b>Serial drivers (all)</b>
<p> <ul>
GPIO output configuration (critical bug) <li>
</p> Fix <code>ioctl()</code> return value.
</li>
<li>
Common &quot;upper half&quot; serial driver will now return with <code>EINTR</code> if a serial wait is interrupted by a signal.
</li>
</ul>
</li>
<li><b>FAT</b>
<ul>
<li>
Fix statfs() file name length
</li>
</ul>
</li>
<li><b>NXP LPC43xx</b>
<ul>
<li>
Clock configuration
</li>
</ul>
</li> </li>
<li><b>STM32</b> <li><b>STM32</b>
<p> <ul>
Typos in pin mapping files. <li>
</p> Pinmap fixes
</li>
<li>
SPI driver re-initialization
</li>
</ul>
</li> </li>
<li><b>LM3S</b> <li><b>STM32 Boards</b>
<p> <ul>
Fixed an optimization related but that caused slow start-up times if optimization was disabled. <li>
</p> Correct and lower SDIO frequency for F2 and f4 boards
</li>
</ul>
</li>
<li><b>AVR</b>
<ul>
<li>
C++ build issues
</li>
</ul>
</li>
<li><b>Power Management (PM)</b>
<ul>
<li>
Fix a place where interrupts were not be re-enabled
</li>
</ul>
</li>
<li><b>Applications</b>
<ul>
<li>
Fix NSH application start-up race condition
</li>
</ul>
</li> </li>
<li><b>Library</b> <li><b>Library</b>
<p> <ul>
Fixed signed extension but in all <code>limit.h</code> files(reported by Lorenz Meier). <li>
Fixed inet_ntoa compilation failure on with SDCC. Fieldwidth and justification for <code>%s</code> format.
</p> </li>
<li>
Fixed several issues with presenting floating point numbers.
</li>
<li>
NULL definition for C++
</li>
</ul>
</li> </li>
</ul> </ul>
<p> <p>
@ -1909,23 +2071,34 @@
This port uses the STMicro STM3240G-EVAL board featuring the STM32F407IGH6 MCU. This port uses the STMicro STM3240G-EVAL board featuring the STM32F407IGH6 MCU.
Refer to the <a href="http://www.st.com/internet/evalboard/product/252216.jsp">STMicro web site</a> for further information about this board. Refer to the <a href="http://www.st.com/internet/evalboard/product/252216.jsp">STMicro web site</a> for further information about this board.
</p> </p>
<ul> <p>
<p> <b>STATUS:</b>
<b>STATUS:</b> <ul>
As of this writing, the basic port is complete and first appeared in NuttX-6.12. <li><b>NuttX-6.12</b>
The port passes the NuttX OS test and includes a validated configuration for the NuttShell (NSH, see the The basic port is complete and first appeared in NuttX-6.12.
<a href="http://www.nuttx.org/NuttShell.html">NSH User Guide</a>) as well as several other configurations. The initial port passes the NuttX OS test and includes a validated configuration for the NuttShell (NSH, see the
Additional drivers and configurations were added in NuttX 6.13-6.16. <a href="http://www.nuttx.org/NuttShell.html">NSH User Guide</a>) as well as several other configurations.
Drivers include an Ethernet driver, ADC driver, DAC driver, PWM driver, CAN driver, F4 RTC driver, Quadrature Encoder, DMA, SDIO with DMA </li>
(these should all be compatible with the STM32 F2 family and many should also be compatible with the STM32 F1 family as well). <li><b>NuttX-6.13-6.16</b>
The NuttX6.16 release also includes and logic for saving/restoring F4 FPU registers in context switches. Additional drivers and configurations were added in NuttX 6.13-6.16.
Networking intensions include support for Telnet NSH sessions and new configurations for DHPCD and the networking test (nettest). Drivers include an Ethernet driver, ADC driver, DAC driver, PWM driver, CAN driver, F4 RTC driver, Quadrature Encoder, DMA, SDIO with DMA
A more complete port would include support for SDIO and USB OTG which are not available in NuttX 6.13. (these should all be compatible with the STM32 F2 family and many should also be compatible with the STM32 F1 family as well).
The USB OTG device controller driver, and LCD driver and a function I2C driver were added in NuttX 6.17. </li>
STM32 IWDG and WWDG watchdog timer drivers were added in NuttX 6.18 (should be compatible with F1 and F2). <li><b>NuttX-6.16</b>
An LCD driver and a touchscreen driver for the STM3240G-EVAL based on the STMPE811 I/O expander were also added in NuttX 6.18. The NuttX 6.16 release also includes and logic for saving/restoring F4 FPU registers in context switches.
Networking intensions include support for Telnet NSH sessions and new configurations for DHPCD and the networking test (nettest).
</li>
<li><b>NuttX-6.17</b>
The USB OTG device controller driver, and LCD driver and a function I2C driver were added in NuttX 6.17.
</li>
<li><b>NuttX-6.18</b>
STM32 IWDG and WWDG watchdog timer drivers were added in NuttX 6.18 (should be compatible with F1 and F2).
An LCD driver and a touchscreen driver for the STM3240G-EVAL based on the STMPE811 I/O expander were also added in NuttX 6.18.
</li>
<li><b>NuttX-6.21</b>
A USB OTG host controller driver was added in NuttX 6.21.
</li>
</p> </p>
</ul>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -1944,6 +2117,7 @@
<p> <p>
<b>STATUS:</b> <b>STATUS:</b>
The basic port for the STM32F4-Discovery was contributed by Mike Smith and was first released in NuttX-6.14. The basic port for the STM32F4-Discovery was contributed by Mike Smith and was first released in NuttX-6.14.
Drivers listed for the STM3240G-EVAL may be usable on this plaform as well.
</p> </p>
</ul> </ul>
</td> </td>
@ -1960,36 +2134,44 @@
This NuttX port is for the LPC4330-Xplorer board from NGX Technologies featuring the NXP LPC4330FET100 MCU. This NuttX port is for the LPC4330-Xplorer board from NGX Technologies featuring the NXP LPC4330FET100 MCU.
See the <a href="http://shop.ngxtechnologies.com/product_info.php?cPath=21_37&products_id=104">NXG website</a> for further information about this board. See the <a href="http://shop.ngxtechnologies.com/product_info.php?cPath=21_37&products_id=104">NXG website</a> for further information about this board.
</p> </p>
<p>
<b>STATUS:</b>
</p>
<ul> <ul>
<p> <li>
<b>STATUS:</b> <p><b>NuttX-6.20</b>
The basic port is complete. The basic port is complete.
The OS test configuration and the basic NSH configurations are present and fully verified. The OS test configuration and the basic NSH configurations are present and fully verified.
This includes verified support for: SYSTICK system time, pin and GPIO configuration, and a serial console. This includes verified support for: SYSTICK system time, pin and GPIO configuration, and a serial console.
</p> </p>
<p> <p>
Several drivers have been copied from the related LPC17xx port but require integration into the LPC43xx: ADC, DAC, GPDMA, I2C, SPI, and SSP. Several drivers have been copied from the related LPC17xx port but require integration into the LPC43xx: ADC, DAC, GPDMA, I2C, SPI, and SSP.
The registers for these blocks are the same in both the LPC43xx and the LPC17xx and they should integrate into the LPC43xx very easily by simply adapting the clocking and pin configuration logic. The registers for these blocks are the same in both the LPC43xx and the LPC17xx and they should integrate into the LPC43xx very easily by simply adapting the clocking and pin configuration logic.
</p> </p>
<p> <p>
Other LPC17xx drivers were not brought into the LPC43xx port because these peripherals have been completely redesigned: CAN, Ethernet, USB device, and USB host. Other LPC17xx drivers were not brought into the LPC43xx port because these peripherals have been completely redesigned: CAN, Ethernet, USB device, and USB host.
</p> </p>
<p> <p>
So then there is no support for the following LPC43xx peripherals: SD/MMC, EMC, USB0,USB1, Ethernet, LCD, SCT, Timers 0-3, MCPWM, QEI, Alarm timer, WWDT, RTC, Event monitor, and CAN. So then there is no support for the following LPC43xx peripherals: SD/MMC, EMC, USB0,USB1, Ethernet, LCD, SCT, Timers 0-3, MCPWM, QEI, Alarm timer, WWDT, RTC, Event monitor, and CAN.
</p> </p>
<p> <p>
Some of these can be leveraged from other MCUs that appear to support the same peripheral IP: Some of these can be leveraged from other MCUs that appear to support the same peripheral IP:
<ul> <ul>
<li> <li>
The LPC43xx USB0 peripheral appears to be the same as the USB OTG peripheral for the LPC31xx. The LPC43xx USB0 peripheral appears to be the same as the USB OTG peripheral for the LPC31xx.
The LPC31xx USB0 device-side driver has been copied from the LPC31xx port but also integration into the LPC43xx (clocking and pin configuration). The LPC31xx USB0 device-side driver has been copied from the LPC31xx port but also integration into the LPC43xx (clocking and pin configuration).
It should be possible to complete poriting of this LPC31xx driver with a small porting effort. It should be possible to complete poriting of this LPC31xx driver with a small porting effort.
</li> </li>
<li> <li>
The Ethernet block looks to be based on the same IP as the STM32 Ethernet and, as a result, it should be possible to leverage the NuttX STM32 Ethernet driver with a little more effort. The Ethernet block looks to be based on the same IP as the STM32 Ethernet and, as a result, it should be possible to leverage the NuttX STM32 Ethernet driver with a little more effort.
</li> </li>
</ul> </ul>
</p> </p>
</li>
<li>
<p><b>NuttX-6.21</b>
Added support for a SPIFI block driver and for RS-485 option to the serial driver.
</li>
</ul> </ul>
</td> </td>
</tr> </tr>
@ -2443,9 +2625,17 @@
<td> <td>
<p> <p>
<b>Development Environment:</b> <b>Development Environment:</b>
These ports uses the <i>LITE</i> version of the PIC32MX toolchain available These ports uses either:
for download from the <a href="http://www.microchip.com">MicroChip</a> website.
</p> </p>
<ol>
<li>
The <i>LITE</i> version of the PIC32MX toolchain available
for download from the <a href="http://www.microchip.com">MicroChip</a> website, or
</li>
<li>
The Pinguino MIPS ELF toolchain avaiable from the Pinquino <a href="http://code.google.com/p/pinguino32/downloads/list">website</a>.
</li>
</ol>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -3011,86 +3201,236 @@ Other memory:
</table> </table>
<ul><pre> <ul><pre>
nuttx-6.20 2012-07-12 Gregory Nutt &lt;gnutt@nuttx.org&gt; nuttx-6.21 2012-08-25 Gregory Nutt &lt;gnutt@nuttx.org&gt;
* configs/stm3210e-eval/src and arch/arm/src/stm32/: Add beginnings of * configs/lpc4330-xplorer/up_nsh.c: Add support for a basic SPIFI block
power management support for the STM32 and the STM3210E-EVAL board, in driver for use by NSH. Does not work! Crashes on first SPIFI write.
particular. * configs/lpc4330-xplorer/*/defconfig: Calibrate delay loops (this is
* Documentation/NfsHowTo.html: Add a How-To document for the new NFS based on the current &quot;slow&quot; 72MHz M4 clock and will need to be
client feature. re-calibrated when this is increased).
* arch/mips/include/pic32mx and arch/mips/src/pic32mx: Add support for the * configs/stm3220g-eval/include/board.h and configs/stm3240g-eval/include/board.h:
PIC32MX1 and PIC32MX2 families. The SDIOCLK frequency in the F2 and F4 derives for PLL48CLK and not HCLK
* configs/mirtoo: Add a board configuration to support the DTX1-4000L so that the SDIOCLK input frequency should always be 48MHz.
&quot;Mirtoo&quot; module from http://www.dimitech.com/ * sched/os_internal.h, sched_setupidlefiles.c, sched_setuptaskfiles.c, and
* tools/pic32mx: All of the duplicate directories containing the same sched_setupidlefiles.c: Detangle some conditional compilation. Allow for
same PIC32 tools were move to this single location. a perverse configuration that has socket descriptors and streams but no file
* configs/mirtoo: The basic Mirtoo port is now functional. descriptors (sure, why not?).
* configs/mirtoo/ostest: Added support for the microchipOpen toolchain * sched/: Stylistic clean-up of all files. Some of these files are pretty old
(see http://sourceforge.net/projects/microchipopen/). and do not follow current NuttX coding standards in detail.
* configs/mirtoo/nsh: Added a NuttShell (NSH) configuration for * fs/: More stylistic file clean-up.
the Mirtoo module. * mm/: More stylistic file clean-up.
* configs/mirtoo/scripts: Move all Mirtoo linker scripts to a common * drivers/ and drivers/serial/: More stylistic file clean-up.
directory. * arch/arm/src/lpc43xx/lpc43_clockconfig.c: Fix PLL1 bit manipulation logic.
* arch/mips/src/pic32mx/pic32mx-gpio.c: All digital inputs were being Critical bugfix! This would often cause the LPC43xx to fail to boot.
configured as outputs. This is a *critical* bug fix and needs to be * arch/arm/src/lpc43xx/lpc43_rgu.c: The soft reset logic called from the
incorporated by any PIC32 users. beginning of __start seems cause problems. A magic delay seems to improve
* drivers/mtd/sst25.c: Added a driver for the SST 25 SPI-based FLASH the logic some. But I suspect that real fix is to get rid of all of the
parts. soft reset logic. This would also be a critical bugfix if I believed
* configs/mirtoo/src/up_nsh.c: The Mirtoo NSH configuration can now that it really fixed all of the issues.
mount the SST 25 devices so that it can be used for a FAT file system. * arch/arm/src/lpc43xx/chip/lpc43_cgu.h: Fix a bit mask in the PLL1
There are are, however, some NSH memory usage issues if this configuration control register. Critical bugfix.
enabled now. Some tuning is still needed. * arch/arm/src/lpc43xx/lpc43_clockconfig.c and configs/lpc4330-xplorer/include/board.h:
* configs/mirtoo/nxffs: Add an alternative NSH configure for the Mirtoo Implement PLL1 ramp-up logic; Now the LPC43xx is running at 204MHz.
module for testing the on-module SST 25 chip using the NXFFS file system. * configs/lpc4330-xplorer/*/defconfig: Re-calibrated delay loops using
* arch/arm/src/lpc43xx and arch/arm/include/lpc43xx: The NXP LPC43xx port the 204MHz clock. The LPC43xx ripping rips! This calibration was performed
is slowly evolving in these directories. with symbols enabled and all optimization disabled. It will need to be
* configs/stm3210e-eval/pm: Add a new configuration for testing STM32 power better recalibrated again down the road.
management. * arch/arm/src/stm32/stm32_exti.c: Renamed to rch/arm/src/stm32/stm32_exti_gpio.c
* configs/stm3210e-eval/scripts: Moved all of the duplicate ST3210-EVAL to make a little room in the file name space.
linker scripts into one set of linker scripts at this location. * arch/arm/src/stm32/stm32_exti_alarm.c: Add initial logic to attached the
* configs/stm3210e-eval/src/up_buttons.c, up_lcd.c, and up_pm.c: New logic RTC alarm EXTI interrupt. This is work be performed mostly by Diego Sanchez.
for testing STM32 power management. * include/: More stylistic file clean-up.
* configs/lincoln60: Add a configuration to support the Micromint Lincoln60 * arch/arm/src/lpc43xx/lpc43_spifi.c, lpc43_spifi.h, and chip/lpc43_spifi.h: Add
board. logic to configure and initialize the SPIFI device (does not yet work).
* configs/ekk-lm3s3b96: Add a configuration to support the TI/Stellaris * configs/lpc4330-xplorer/include/board.h: Reduce SPI SCLK value.
EKK-LM3S3B96 development board. Contributed by Jose Pablo Rojas V. * arch/arm/src/lpc43xx/lpc43_spifi.c, lpc43_spifi.h, and chip/lpc43_spifi.h:
* arch/arm/src/lpc43xx/chip: Created header files for *all* (really) Logic completely redesigned. It now creates an MTD driver to access SPIFI...
lpc43xx registers and all bit-fields. but the driver still does not work.
* configs/lpc4330-xplorer: Added a configuration for the NXP LPC43XX * arch/arm/src/stm32 and arch/arm/include/stm32: Make name of RTC ALARM interrupt
Xplorer board. This is just to facilitate testing of the LPC43xx common on STM32 F1,2,4
port but will, with any luck, become proper board support for that * arch/arm/src/stm32 and arch/arm/include/stm32: Add support for the
board. STM32F100x &quot;Value Line&quot; devices. This includes changes to stm32F10xx_rcc.c that
* arch/arm/src/lm3s/lm3s_syscontrol.c: Fix an optimization related problem add the ability to run the chip off the internal oscillator. There is no open
by adding a volatile qualifier to a timing loop. Oddly, the consequence board configuration for this part yet (the STM32VLDiscovery would be a candidate).
of the bug is that when debug was off, the LM3S platform too a long time Contributed by Mike Smith.
to boot. It now boots rapidly whether debug is on or off. * arch/arm/src/stm32: Fixed typos in conditional compilation in the CAN and DMA
* arch/*/include/limits.h: Change all values in all limits.h for all and some pin configuration. This would have caused problems for STM32 F107xx.
architectures to signed decimal; the hex values were not sign extending Typos noted by Mike Smith.
appropriate in most uses (reported by Lorenz Meier). * arch/arm/src/lpc43xx/lpc43_serial.c: Add support for certain RS-485 features
* arch/arm/src/stm32/chip/stm32f103/7vc_pinmap: Fix typographical error in * lib/termios/lib_cfsetispeed.c, lib_cfsetospeed.c, lib_tcflush.c: Add
two pinmap definition files. simple implementations of cfsetispeed(), cfsetospeed(), and tcflush().
* lib/net/lib_inetntoa.c: Fix typographical error that cause compilation * include/sys/str_tty.h, lib/lib_setspeed.c, lib_getspeed.c, and lib_resetspeed.c:
failure on platforms that do not support passing of structures as Add APIs to support setting non-standard BAUD values not supported by POSIX
parameters. termios. These are non-standard interfaces but have a precedence: There are
* arch/arm/*/lpc43xx and configs/lpc4330-xplorer and code complete and similar interfaces in AIX.
ready for testing. Hopefully, verified LPC43xx support will appear * include/sys/str_tty.h, lib/lib_setspeed.c, lib_getspeed.c, and lib_resetspeed.c:
in NuttX-6.20. Sigh... removed. We don't need any more almost standard interfaces! (SVN
* include/nuttx/stdarg.h: If CONFIG_ARCH_STDARG_H=y is defined, the top-level revision 4968 if you want the short-lived code).
makefile will copy the generic (GCC-only) stdarg.h header file from * include/termios.h and lib/termios/*: Open the existing, standard termios
include/nuttx/stdarg.h to include/stdarg.h. So for the architectures interfaces to permit some non-standard baud settings. The new termios definitions
that cannot use their GCC toolchain's stdarg.h file, they can use this still supports the POSIX standard except that it does not strictly enforce
alternative by defining CONFIG_ARCH_STDARG_H=y. If CONFIG_ARCH_STDARG_H, baud rate settings, permitting some non-portable, but useful baud rate settings
is not defined, then the redirecting stdarg.h header file will stay (this is what the short-lived AIX-like interfaces would have accomplished as well).
out-of-the-way in include/nuttx/. * include/termios.h and lib/termios/*: Redesigned yet again (this is getting
* configs/lpc4330-xplorer/nsh: Add an NSH configuration for the LPC4330 painful. NuttX now supports the BOTHER baud setting just as Linux does. termios
Xplorer board. Bxxx definitions are again encoded; cf[set|get][o|i]speed now deal with only the
encoded values. If the encoded baud is set to BOTHER, then the values in the (non-
standard) c_ispeed and c_ospeed baud values may be accessed directly.
* arch/arm/src/stm32/stm32_serial.c: Add minimal termios support for the STM32
(BOTHER style baud settings only). Contributed by Mike Smith.
* configs/lpc4343-xplorer/src: Clean up SPIFI-library based build to that it
actually works.
* arch/arm/src/lpc43xx/lpc43_spifi.c: Add support for verification to writes.
Add debug option to dump buffers. Several bugfixes... almost works.
* include/termios.h, lib/termios/*, and arch/arm/src/stm32/stm32_serial.c: :
BOTHER is gone again.
* arch/arm/src/stm32/stm32_sdio.c and chip/stm32f20xx_pinmap.h: STM32 F2 SDIO
fixes from Gary Teravskis and Scott Rondestvedt.
* include/termios.h and lib/termios/*: Replace cfsetispeed and cfsetospeed with
cfsetspeed (with definitions for the input/outputs in termios.h).
* configs/stm32f4discovery/src and configs/stm32f4discovery/pm: Add a power
management configuration for the STM32F4Discovery and supporting logic. This
check-in also includes some fixes for the F4 RTC alarm logic.
* drivers/input/pga11x.c and include/nuttx/input/pga11x.h: Add support for the
TI PGA112/3/6/7 amplifier/multiplexer parts.
* configs/mirtoo/README.txt, nsh/defconfig, and nxffs/defconfig: Add support
for the PGA117 on the Mirtoo module.
* drivers/analog/pga11x.c and include/nuttx/analog/pga11x.h: These belong in
the analog subdirectories, not input.
* configs/compal_e99/src/ssd1783.c and /ssd1783.h: Drivers for the SSD1783
LCD found in the Motorola C155 telephone. The driver is specific to the C155
because it uses the uwire transport. Contributed by Denis Carilki and
Alan Carvalho de Assis.
* drivers/power/pm_changestate.c. Correct a case where interrupts were not
being re-enabled. Found by Diego Sanchez.
* configs/mirtoo/nxffs/defconfig: This Mirtoo NXFFS configuration now uses the
open Pinguino toolchain by default. This is necessary because the free C32
toolchain does not support any optimization and the unoptimized NXFFS image
hits the PIC32MX2 FLASH size (128K). There is plenty of room to grow using
the Pinguino toolchain with -O2 optimization.
* configs/mirtoo/src/up_adc.c. This is just a stub for now, but this is
where Mirtoo ADC logic will eventually need to go.
* arch/mips/src/pic32mx/pic32mx-gpio.c: Now supports the PIC32MX1/2 ANSEL
IOPORT register.
* lib/string/lib_memchr.c: Add support for memchr() (contributed by Mike Smith)
* lib/string/lib_memccpy.c: Add support for memccpy()
* arch/arm/src/lpc17xx/lpc17_serial.c: Now supports ioctl commands to change
the baud using tcsetattr() (contributed by Chris Taglia).
* arch/*/src/*_serial.c: Fix ioctl method return values. These methods
should return a negated errno value; they should not set the errno
variable.
* sched/on_exit.c, sched/task_exithook.c, and include/nuttx/sched.c: Add
support for multiple registered on_exit() functions if CONFIG_SCHED_ONEXIT_MAX
is defined.
* drivers/syslog/ramlog.c: Move the RAM SYSLOG device into drivers/syslog
so that it will be in the same directory as some new SYSLOGing devices
in the works.
* include/nuttx/syslog.h and drivers/syslog/ramlog.c: The SYSLOG putc function
now has a common name that is independent of the device that provides the
SYSLOG.
* include/nuttx/syslog.h and drivers/syslog/syslog.c: This is a new, generic
SYSLOG device that can redirect debug output to any character device or file.
So you can log debug output to a file or you can put the console on /dev/ttyS0
and the debug output on /dev/ttyS1.
* arch/arm/src/lpc43xxl/lpc43_spifi.c: Correct an addressing error in the LPC43
SPIFI MTD driver
* drivers/syslog/syslog.c and fs/fs_syslog.c: Moved the generic syslog logic
from drivers/syslog to fs/ where is belongs. Especially after realizing that
the syslog logic is going to have to some internal FS operations in order
to realize a totally thread-independent SYSLOG interface.
* arch/arm/src/stm32/stm32*_rcc.c and .h: If CONFIG_PM is defined, add a
function called stm32_clockenable() that can be used by PM logic to re-start
the PLL after re-awakening from deep sleep modes.
* fs/fs_foreachinode.c and fs/fs_foreachmountpoint.c: Add logic to traverse
inodes and mountpoints in the NuttX pseudo-file system.
* fs/fat/fs_fat32.c: Max. filename length reported by statfs() was wrong
if FAT long file names were enabled.
* lib/stdio/lib_libvsprintf.c: Fieldwidth and justification were not
supported for the %s format. As a result, %s, %12s, and %-12s all
produced the same output.
* lib/stdio/lib_libdtoa.c: Fix several issues with presenting floating
point numbers (conversions are fine, but presentation was bad). This
is a critical bug fix if you use printf or sprintf to deal with floating
point numbers.
* lib/stdio/lib_libdtoa.c and lib_libvsprintf.c: Correct some floating
point options.
* arch/arm/lpc43xx/lpc32_usb0dev.c: Add framework for development of
an USB0, device-side driver for the LPC43XX. The initial check-in,
however, is simply for the LPC31xx driver with name changes. The
LPC31xx has the same USB IP, but will require some additional initialization
(and lots of testing) before it can be used with the LPC43xx.
* nuttx/Documentation/NuttShell.html: Added a section covering ways to
customize the behavior of NSH.
* arch/arm/src/stm32/chip/stm32f1*_pinmap.h: STM32 CAN TX/RX pins reversed;
inconsistent conditional compilation. Reported by Max Holtzberg.
* arch/arm/*/stm32: Add support for STM32 F107 &quot;Connectivity Line&quot;
Ethernet (contributed by Max Holtzberg).
* configs/olimex-stm32-p107: Add board support for the Olimiex STM32-P107
board (contributed by Max Holtzberg).
* arch/arm/src/stm32/stm32f2xx_dma.c, stm32f4xx_dma.c, stm32_serial.c, and
stm32_spic.c: DMA priority was getting zeroed by STM32 F2/F4 DMA drivers
so that all DMAs ran at the lowest priority.
* configs/stm3240g-eval/include/board.h and configs/stm3220: Drop SD card
frequency from 24 to 16 MHz. Apparently 24 MHz is too fast for the board.
This (plus the change to the STM32 DMA (above) fixes SDIO DMA on the
STM3240G-EVAL (and probably STM3220G-EVAL -- untested).
* arch/arm/src/stm32/stm32f2xx_dma.c and stm32f4xx_dma.c: Backed out the
DMA priority change just above. The reduced SD card frequency was
necessary and sufficient to resolve the problem.
* drivers/serial/serial.c: open, read, write, and poll methods may now
abort return EINTR (or a short transfer size) if a signal is received
while waiting to receive or send serial data. This behavior is required
by POSIX.
* include/sys/types.h: Define NULL to be (0) if __cplusplus is defined.
(contributed by Mike Smith)
* include/ctype.h: Remove a stray semi-colon in a definitions (Thanks
Mike Smith).
* configs/.../Make.defs. Fix C++ include path set-up in Make.defs file
for all 8-bit AVR platforms (Thanks Richard Cochran).
* lib/stdio/lib_*stream.c: Revised to handle new error return values from
serial.c.
* arch/arm/src/stm32/stm32_spi.c: SPI driver can now service re-
initialization (Mike Smith).
* tools/mkconfig.c: If CONFIG_DRAM_END is not specified, this tool
will provide default definition of (CONFIG_DRAM_START + CONFIG_DRAM_SIZE)
* arch/arm/src/stm32/stm32_otgfshost.c: Renamed from stm32_usbhost.c.
This is nearly code complete and, with any luck, will be available
in NuttX-6.21.
* configs/*/defconfig: Update all defconfig files to remove syntax
that is incompatible with the mconf configuration tool.
* arch/arm/src/stm32/stm32_otgfshost.c: This driver now appears to be
functional (although more testing is necesary).
apps-6.19 2012-07-12 Gregory Nutt &lt;gnutt@nuttx.org&gt; apps-6.21 2012-08-25 Gregory Nutt &lt;gnutt@nuttx.org&gt;
* namedapp/exec_namedapp.c - Correct an error when round robin scheduling * apps/include/: Stylistic clean-up of all header files.
is enabled. The priority of the new, named application was erroneously * apps/modbus and apps/include/modbus: A port of freemodbus-v1.5.0
being set to the priority of the parent thread; losing its configured has been added to the NuttX apps/ source tree.
priority. Reported by Mike Smith. * apps/examples/modbus: A port of the freemodbus-v1.5.0 &quot;demo&quot;
program that will be used to verify the FreeModBus port
* apps/modbus: Don't use strerror(). It is just too big.
* apps/modbus: Add CONFIG_MB_TERMIOS. If the driver doesn't support
termios ioctls, then don't bother trying to configure the baud, parity
etc.
* apps/nshlib: If waitpid() is supported, then NSH now catches the
return value from spawned applications (provided by Mike Smith)
* apps/nshlib: Lock the scheduler while starting built-in applications
in order to eliminate race conditions (also from Mike Smith).
* apps/examples/adc, pwm, and qencoder: Add support for testing
devices with multiple ADC, PWM, and QE devices.
* apps/nshlib/nsh_mntcmds.c: Separated mount-related commands out of
nsh_fscmds.c. Extended to the mount command so that if no arguments
are provided, then the current mountpoints are enumerated.
* apps/nshlib/nsh_mntcmds.c: Add an NSH df command to list the
properties of mounted file systems.
* apps/nshlib/nsh_parse.c: Extend help command options. 'help' with
no arguments outputs a short list of commands. With -v lists all
command line details. A command name can be added to just get
help on one command.
* system/readline.c: If character input/output is interrupted by a
signal, then readline() will try the read/write again.
* apps/*/Make.defs: Numerous fixes needed to use the automated
configuration (from Richard Cochran).
NxWidgets-1.2 2012-06-15 Gregory Nutt &lt;gnutt@nuttx.org&gt; NxWidgets-1.2 2012-06-15 Gregory Nutt &lt;gnutt@nuttx.org&gt;

View File

@ -2999,3 +2999,67 @@ Bugfixes (see the change log for details) :
on Z80. on Z80.
As well as other, less critical bugs (see the ChangeLog for details) As well as other, less critical bugs (see the ChangeLog for details)
NuttX-6.21
^^^^^^^^^^
The 88th release of NuttX, Version 6.21, was made on August 25, 2012,
and is available for download from the SourceForge website. Note
that release consists of two tarballs: nuttx-6.21.tar.gz and
apps-6.21.tar.gz. Both may be needed (see the top-level nuttx/README.txt
file for build information).
This release corresponds with SVN release number: r5052
Additional new features and extended functionality:
* Core: Add support for multiple registered atexit() functions. Syslog
extended: Now any character driver may be used for the debug logging
device. Mountpoint traversal logic.
* Drivers: Added support for the TI PGA112-7 amplifier/multiplexor.
* LPC43xx: Added clock ramp-up logic to run at 204 MHz
* LPC43xx Drivers: SPIFI block driver, RS-485 support, Minimal termios
support. Framework for USB0 device controller driver.
* LPC17xx Drivers: Minimal termios support
* STM32: Support for STM32 F1 "Value Line" (contributed by Mike Smith).
Add support for STM32 F107 "Connectivity Line" (contributed by Max
Holtzberg).
Clock restart logic needed for recovery from low power modes.
* STM32 Drivers: RTC alarm support. Usable for wakeup from sleep mode,
Minimal serial termios support. USB OTG FS host driver (alpha).
* STM32 Boards: Add power management hooks for the STM32F4Discovery,
Add support for the Olimex STM32-P107 (contributed by Max Holtzberg).
* PIC32: Add support for the Pinguino MIPS toolchain.
* PIC32 Drivers: GPIO driver now supports F1 analog regiaters (ANSEL).
* PIC32 Boards: Add support for the PGA117 on the Mirtoo module.
* Calypso: Add support for the SSD1783 LCD on the Compal E99.
* Library: cfsetispeed(), cfsetospeed(), tcflush(), memchr(), and
memccpy().
* Applications: Port of freemodbus-v1.5.0. Add support for testing
devices with multiple ADC, PWM, and QE devices.
NSH: NSH 'mount' command (with no arguments) will now show mounted
volumes. Add new NSH 'df' command. Extended 'help' support. NSH
now catches the return value from spawned applications (provided
by Mike Smith).
* Build System: mkconfig will not define CONFIG_DRAM_END. A lot of
progress has been made on the automated NuttX configuration logic
(Thanks go to Richard Cochran).
* Documentation: Document ways to customize the behavior of NSH.
Bugfixes (see the change log for details) :
* Serial drivers (all): Fix ioctl return value. Common "upper half"
serial driver will now return with EINTR if a serial wait is
interrupted by a signal.
* FAT: Fix statfs() file name length.
* LPC43xx: Clock configuration.
* STM32: Pinmap fixes, SPI driver re-initialization
* STM32 Boards: Correct and lower SDIO frequency for F2 and f4 boards.
* AVR: C++ build issues.
* PM: Fix a place where interrupts were not be re-enabled.
* Applications: NSH application start-up race conditions.
* Library: Fieldwidth and justification for %s format. Fixed several
issues with presenting floating point numbers. NULL definition
for C++
As well as other, less critical bugs (see the ChangeLog for details)

View File

@ -1910,3 +1910,56 @@ config STM32_MII_MCO1
bool bool
default y if !STM32_MII_MCO2 default y if !STM32_MII_MCO2
depends on STM32_MII depends on STM32_MII
menu "USB Host Configuration"
config STM32_OTGFS_RXFIFO_SIZE
int "Rx Packet Size"
default 128
depends on USBHOST && STM32_OTGFS
---help---
Size of the RX FIFO in 32-bit words. Default 128 (512 bytes)
config STM32_OTGFS_NPTXFIFO_SIZE
int "Non-periodic Tx FIFO Size"
default 96
depends on USBHOST && STM32_OTGFS
---help---
Size of the non-periodic Tx FIFO in 32-bit words. Default 96 (384 bytes)
config STM32_OTGFS_PTXFIFO_SIZE
int "Periodic Tx FIFO size"
default 128
depends on USBHOST && STM32_OTGFS
---help---
Size of the periodic Tx FIFO in 32-bit words. Default 96 (384 bytes)
config STM32_OTGFS_DESCSIZE
int "Descriptor Size"
default 128
depends on USBHOST && STM32_OTGFS
---help---
Maximum size to allocate for descriptor memory descriptor. Default: 128
config STM32_OTGFS_SOFINTR
bool "Enable SOF interrupts"
default n
depends on USBHOST && STM32_OTGFS
---help---
Enable SOF interrupts. Why would you ever want to do that?
config STM32_USBHOST_REGDEBUG
bool "Register-Level Debug"
default n
depends on USBHOST && STM32_OTGFS
---help---
Enable very low-level register access debug. Depends on CONFIG_DEBUG.
config STM32_USBHOST_PKTDUMP
bool "Packet Dump Debug"
default n
depends on USBHOST && STM32_OTGFS
---help---
Dump all incoming and outgoing USB packets. Depends on CONFIG_DEBUG.
endmenu

View File

@ -191,7 +191,11 @@ enum stm32_chreason_e
CHREASON_FRMOR /* Frame overrun */ CHREASON_FRMOR /* Frame overrun */
}; };
/* This structure retains the state of one host channel */ /* This structure retains the state of one host channel. NOTE: Since there
* is only one channel operation active at a time, some of the fields in
* in the structure could be moved in struct stm32_ubhost_s to achieve
* some memory savings.
*/
struct stm32_chan_s struct stm32_chan_s
{ {