Skip to content
ReleaseNotes 140 KiB
Newer Older
patacongo's avatar
patacongo committed
    * Library:  Fixed signed extension but in all limit.h files
      (reported by Lorenz Meier).  inet_ntoa compilation failure
      on Z80.

As well as other, less critical bugs (see the ChangeLog for details)
patacongo's avatar
patacongo committed

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)
patacongo's avatar
patacongo committed

NuttX-6.22
^^^^^^^^^^

The 89th release of NuttX, Version 6.22, was made on September 29, 2012,
and is available for download from the SourceForge website.  Note
that release consists of two tarballs:  nuttx-6.22.tar.gz and
apps-6.22.tar.gz.  Both may be needed (see the top-level nuttx/README.txt
file for build information).

This release corresponds with SVN release number: r5206

Note that all SVN information has been stripped from the tarballs.  If you
need the SVN configuration, you should check out directly from SVN.  Revision
r5206 should equivalent to release 6.22 of NuttX 6.22:

    svn checkout -r5206 svn://svn.code.sf.net/p/nuttx/code/trunk nuttx-code

Or

    svn checkout -r5206 http://svn.code.sf.net/p/nuttx/code/trunk nuttx-code

Additional new features and extended functionality:

    * RTOS: Application entry point is no longer user_start, but can be
      configured using CONFIG_USER_ENTRYPOINT.  NuttX now supports two work
      queues:  A lower priority work queue (for extended processing) and a
      higher priority work queue (for quick, high priority operations).

    * Memory Management: Added a new granule-based allocated that can be
      used to manage, aligned and quantized DMA memory.

    * File System: Add hooks to allocate I/O memory with and external
      allocated (need if required by DMA).

    * Networking: ENC28J60 driver is (finally) verified.

    * Drivers: Add hooks USB device drivers to allocate I/O memory with and
      external allocated (need if required by DMA).  Driver for the Windbond
      SPI FLASH family (W25x16, W25x32, W25x64, and others).  ADS7843E driver
      extended for TSC2046 and XPT2046 and verified.

    * ARMv7-M: Added logic to reset the MCU using the NVIC.

    * STM32: Add support for STM32F103VET6.

    * STM32 Drivers: Add logic to re-initialize UARTs a second time to
      enable DMA (Mike Smith).  I2C driver error recovery (Mike Smith).

    * STM32 boards: Support for USB host added add to several configurations
      (or at least explained in README files).  Support for the Shenzhou
      STM32F107 board (see www.armjishu.com).  Support for M3 Wildfire
      STM32F103 board (v2 and v3).

    * Build System:  Kconfig string de-quoting logic.  Remove comments from
      defconfig files (Kate).  Add tool to create NuttX-style symbol tables.
      Numerous changes to configuration logic as needed for the new mconf-based
      configuration (much of this from Richard Cochran).  Refactor common
      Make.defs logic into tools/Config.mk (Richard Cochran).

    * Library: Configurable terse output from strerror(). Added perror() (Kate).
      Add %n format to sscanf() (Kate).

    * Applications: Numerous changes and extensions to the old uIP web server
      (from Kate and Max Holtzberg, see the ChangeLog for specific extensions).
      UDP network discovery utility (Max Holtzberg).  Embeddable Lightweight
      XML-RPC Server (http://www.drdobbs.com/web-development/an-embeddable-lightweight-xml-rpc-server/184405364, Max Holtzberg).

Bugfixes (see the change log for details).  Some of these are very important
(marked *critical*):

    * RTOS: Fixes to priority inheritance logic (*critical*).  waitpid()
      critical section.  Assertion in work_cancel() (Mike Smith).  mmap() (Kate).

    * FAT File System: Improper Boolean expression caused un-necessary writes
      and performance issues (*critical*, Ronen Vainish).

    * Networking: Remove an un-necessary delay from recvfrom().  This greatly
      improves network performance (*critical*, Max Holtzberg).

    * Graphics: NX parameter checking errors.

    * Drivers: Fix double release of memory in SDIO-based, MMC/SD driver
      (Ronen Vainish).

    * LPC17xx:  Ethernet driver fixes needed for certain PHYs (Kate).

    * AVR: Fix build error (Richard Cochran).

    * STM32: USB OTG FS host driver NAKing an retries.  Power management
      compilation errors (Diego Sanchez).  Missing SPI3 remap logic.

    * STM32 Drivers: Fix for Ethernet errata for STM32F107 (*critical*).
      Ethernet buffer alignment check.  Add "kludge" to Ethernet driver to
      handle DM9161 PHY which (at least on the Shenzhou board), sometimes
      does not come up correctly.

    * Applications: THTTPD (Kate).  NSH ping when IP address is on a different
      network (Darcy Gong).

    * Library: fread(), fflush(), fdopen(): Fix error handling logic (Ronen
      Vainish). Fix some field-width handling issues in sscanf()

As well as other, less critical bugs (see the ChangeLog for details)
patacongo's avatar
patacongo committed

NuttX-6.23
^^^^^^^^^^

The 90th release of NuttX, Version 6.23, was made on November 5, 2012,
and is available for download from the SourceForge website.  Note
that release consists of two tarballs:  nuttx-6.23.tar.gz and
apps-6.23.tar.gz.  Both may be needed (see the top-level nuttx/README.txt
file for build information).

This release corresponds with SVN release number: r5313

Note that all SVN information has been stripped from the tarballs.  If you
patacongo's avatar
patacongo committed
need the SVN configuration, you should check out directly from SVN.  Revision
r5313 should equivalent to release 6.23 of NuttX 6.23:
patacongo's avatar
patacongo committed

    svn checkout -r5313 svn://svn.code.sf.net/p/nuttx/code/trunk nuttx-code

Or

    svn checkout -r5313 http://svn.code.sf.net/p/nuttx/code/trunk nuttx-code

Additional new features and extended functionality:

    * RTOS:  If both atexit() and on_exit() are enabled, use on_exit() to
      implement atexit().  Updates for RGMP 4.0.

    * Binfmt:  Add support for loading and executing ELF binary modules from
      a file system.

    * Drivers:  Maxim MAX11802 touchscreen controller (Petteri Aimonen)

    * STM32 Driver:  Implementation of /dev/random using the STM32 Random Number
      Generator (RNG).

    * STM32 Boards:  ADC support for the Shenzhou IV board.  Relay support for
      the Shenzhou IV board.

    * C Library:  Support is now included for the add-on uClibc++ C++
      standard library support.  This includes support for iostreams, strings,
      STL, RTTI, exceptions -- the complete C++ environment.  (uClibc++ is
      provided as a separate add-on package due to licensing issues).

      Optimized generic and ARM-specific memcpy() function.  Optimized
      memset() function.

      Add support for ferror(), feof(), and clearerror().   Add support for
      __cxa_atexit().
 
      Math Library:  Port of the math library from Rhombus OS by Nick Johnson
      (Darcy Gong).

    * Applications: New NSH commands:  ifup, ifdown, urlencode, urldecode,
      base64enc, bas64dec, md5 (Darcy Gong).  Add support for NSH telnet login
      (Darcy Gong).  Enancements to NSH ping command to support pinging hosts
      with very long round-trip times.  Extensions to the ifconfig command 
      Darcy Gong),
      
      Many extensions to the webclient/wget and DNS resolver logic from Darcy
      Gong.  JSON, Base64, URL encoding, and MD5 libraries contributed by Darcy
      Gong.

      New examples: ELF loader, JSON, wgetjson, cxxtest, relays.

Bugfixes (see the change log for details).  Some of these are very important
(marked *critical*):

    * Drivers: W25 SPI FLASH

    * STM32 Drivers: ADC reset

    * Graphics: Missing implementation of the blocked method (*critical*,
      Petteri Aimonen).

    * C Library: Floating point numbers in printf and related formatting functions
     (Mike Smith), cf[get|set]speed() (Mike Smith)

As well as other, less critical bugs (see the ChangeLog for details)
patacongo's avatar
patacongo committed

NuttX-6.24
^^^^^^^^^^

The 91st release of NuttX, Version 6.24, was made on December 20, 2012,
and is available for download from the SourceForge website.  Note
that release consists of two tarballs:  nuttx-6.24.tar.gz and
apps-6.24.tar.gz.  Both may be needed (see the top-level nuttx/README.txt
file for build information).

This release corresponds with SVN release number: r5447

Note that all SVN information has been stripped from the tarballs.  If you
need the SVN configuration information, you should check out directly from
SVN.  Revision r5447 should equivalent to release 6.24 of NuttX 6.24:

    svn checkout -r5447 svn://svn.code.sf.net/p/nuttx/code/trunk nuttx-code

Or (HTTP):

    svn checkout -r5447 http://svn.code.sf.net/p/nuttx/code/trunk nuttx-code

Additional new features and extended functionality:

  * RTOS:

    - Implemented the POSIX pause() function (still has some compiance
      issues).
    - Tasking logic is extended to support the notion of address
      environments.  An address environment is the key notion underlying
      "process" vs. tasks.  If tasks are created with address environments
      (by binfmt), the OS will propogate that environment to child threads
      and will destroy the address environment when the "process" exists.
    - If support for the PATH variable is enabled, the OS start up logic
      will create an initial environment containing the default PATH
      setting (CONFIG_PATH_INITIAL).  This initial PATH will then be
      inherited by all tasks.

  * Binfmt

    - The NuttX binary loaders have been updated to support the PATH
      environment variable.  Now, if the PATH is properly defined, programs
      can be executed from mass storage using only the file name.  This
      feature is added to support more standard behavior (eventually, NSH
      will support execution of programs in file systems by just entering
      the file name, perhaps in 6.25?).
    - The NXFLAT and ELF binary loaders have been extended to create
      address environments for any new tasks executed from the file system.
      This feature requires that the architecture support a memory management
      unit (MMU) and the address environment interfaces declared in
      include/nuttx/arch.h (currently, this is only supported by the z180).

    * Drivers: LCD driver for the Univision UG-2864AMBAG01 OLED

    * STM32: Support for STM32F100 high density chips contributed by Freddie
      Chopin.

    * STM32 Drivers:  Added optional RS-485 direction bit control (from
      Freddie Chopin).

    * STM32 Boards:

      - Support for generic STM32F100RC board contributed by Freddie Chopin.
      - stm32f4discovery/nxlines: STM32F4Discovery support for the
        UG-2864AMBAG01 OLED.
      - stm32f4discovery/winbuild:  A version of the NuttX OS test
        configured to build natively on Windows.
      - stm32f4discovery/elf: Now uses the PATH variable to find ELF
        executables.
      - configs/cloudctrl: Added for Darcy Gong's CloudController board

    * PIC32 Boards: Update the Mirtool configuration for Release 2 of the
      Mirtoo module.

    * Calypso: Add Calypso keypad driver.  From Denis Cariki.

    * ZiLOG:

      - Add support for the z180 chip family and, specifically, for
        the P112 retro hardware (see http://p112.feedle.net/).
      - All ZiLOG configurations updated to use the current ZDS-II
        and/or SDCC toolchains.

    * Graphics:

      - Add a semaphore handshake so that operations on buffers from
        the NXMU client will be blocked until the NX server operates on the
        buffer data (from Petteri Aimonen).
      - nxtk_subwindowmove() and nxtk_getwindow(): Improvements to clipping
        logic from Petteri Aimonen.

    * C Library: lib/ sub-directory renamed libc/ (there is a new lib/ sub-
      directory that is used to hold all archives).

    * C++: Exception stubs from Petteri Aimonen.

    * Applications:

      - Add NSH hexdump command to dump the contents of a file (or character
        device) to the console (contributed by Petteri Aimonen).
      - Extend the NSH ifconfig command plus various DHCPC improvements
        (from Darcy Gong).

    * apps/examples:

      - ostest: Replace large tables with algorithmic prime number
        generation.  This allows the roundrobin test to run on platforms
        with minimal SRAM (Freddie Chopin).
      - keypadtest:  A new keypad test example contributed by Denis Carikli.
      - elf and nxflat:  If CONFIG_BINFMT_EXEPATH is defined, these examples
        will now use a relative path to the program and expect the binfmt/
        logic to find the absolute path to the program using the PATH
        variable.

    * Build system:

      - New top-level Makefiles: Makefile.unix and Makefile.win (along with
        numerous changes to other make-related files).  This adds basic
        support for building NuttX natively under Windows from a CMD.exe
        window (rather than in a POSIX-like environment). This build: (1)
        Uses all Windows style paths, (2) Uses primarily Windows batch
        commands from cmd.exe, with (3) a few extensions from GNUWin32.

        This capability should still be considered a work in progress
        because: (1) it has not been verfied on all targets and tools,
        and (2) still lacks some of the creature-comforts of the more
        mature environments (like a function configure.sh script and
        'make menuconfig' support).

      - Example Windows native builds for STM32F4Discovery, eZ80, z16f, z8,
        Z80, and Z180.
      - Several configurations have been converted to work the kconfig-
        frontends mconf configuration tool: stm32f4discovery/nxlines, and
        all eZ80, z16f, z8, Z80, and Z180 configurations.
      - Architectures now include a common Toolchain.defs file that can be
        used to manage toolchains in a more configurable way (most of this
        contributed by Mike Smith).

    * Build tools: 

      - Renamed tools/winlink.sh to tools/copydir.sh.
      - Several new tools/scripts to support the Windows native build:
        tools/mkdeps.bat, tools/mkdeps.c, tools/link.bat, unlink.bat, and
        copydir.bat.
      - tools/incdir.sh and incdir.bat now support an -s option to generate
        system header file paths.
      - tools/b16.c: Fixed precision math conversion utility.

Bugfixes (see the change log for details).  Some of these are very important
(marked *critical*):

    * RTOS: Fix some backward conditional compilation in the work queue
      logic (Freddie Chopin).

    * File System: Uninitialized variable caused assertions (from Lorenz
      Meier).

    * Drivers: Partial fix for STM32 OTGFS device drivers and fix for short,
      unaligned writes in the flash translation layer (drivers/mtd/ftl.c),
      both from Petteri Aimonen.

    * STM32 Drivers:

      - Qencoder driver and TIM3 driver fixes from Ryan Sundberg.
      - Fix timeout delay calculation in the STM32 OTG FS host driver.

    * LPC17xx Drivers:  Resources not being properly released when I2C
      driver is un-initialized.

    * Graphics:

      - Fix logic when the mouse drags outside of the window; fix
        another "blocked message" handling case (both from Petteri Aimonen).
      - nxtk_filltrapwindow():  Correct an offset problem (also from Peterri
        Aimonen).
      - nxglib_splitline():  Correct the "fat flat line" bug.

    * C Library:

      - nrand() changes to prevent coefficients from becoming zero which
        would "lock up" the random number generate.
      - Add rounding functions to the math library (contributed by Petteri
        Aimonen).

    * Build system:  Changes to MIN definitions in all limit.h header files
      to avoid integer overflows.  For example from (-128) to (-127 - 1)
      (from Petteri Aimonen).

    * Applications: Modbus fixes from Freddie Chopin.

As well as other, less critical bugs (see the ChangeLog for details)