diff options
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/ChangeLog | 19 | ||||
-rw-r--r-- | nuttx/Documentation/NuttX.html | 1138 | ||||
-rw-r--r-- | nuttx/ReleaseNotes | 255 | ||||
-rw-r--r-- | nuttx/TODO | 4 | ||||
-rw-r--r-- | nuttx/configs/compal_e88/README.txt | 4 | ||||
-rw-r--r-- | nuttx/configs/compal_e99/README.txt | 4 | ||||
-rw-r--r-- | nuttx/configs/sam4s-xplained/README.txt | 2 |
7 files changed, 908 insertions, 518 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 3380f55ee..737a2a31e 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -4636,7 +4636,7 @@ out of task_delete.c into its own C file. This should prevent dragging task_delete() into the link when it is never called. -6.28 2013-xx-xx Gregory Nutt <gnutt@nuttx.org> +6.28 2013-06-14 Gregory Nutt <gnutt@nuttx.org> * arch/arm/src/lpc17xx/lpc17_i2c.c: Interrupts were not being re-enabled in the I2C intialization function (2013-4-30). @@ -4652,7 +4652,7 @@ partitions (2013-4-30). * configs/sim/mkroe-stm32f4: Support for the MikroElektronika Mikromedia for STM32F4 development board (from Ken Pettit, 2013-4-30). - * fs/smartfs: Add Ken Pettits SMART FS (2013-4-30). + * fs/smartfs: Add Ken Pettit SMART FS (2013-4-30). * include/nuttx/mtd.h and most MTD drivers: Add support for (optional) method to perform byte oriented writes if so configured (2013-5-1). @@ -4661,7 +4661,7 @@ (2013-5-2). * drivers/mtd/mtd_partition.c: Fix a few bugs and add support for the (option) byte write method (2013-5-3). - * arch/arm/src/kl: Repartitioning of definitions in headef files + * arch/arm/src/kl: Repartitioning of definitions in header files from Alan Carvalho de Assis (2013-5-3). * drivers/mtd/smart.c, fs/smart, and other files: SMART file system now makes use of the MTD byte write capabilities when present (from @@ -4688,7 +4688,7 @@ to prevent the debug session from begin disconnected. From Ken Pettit (2013-5-7). * configs/mikroe-stm32f4/fulldemo/, nx/, nxlines/, nxtext/: Add more - configurationsf for the Mikroelektronika Multimedia STM32-M4 board. + configurations for the Mikroelektronika Multimedia STM32-M4 board. From Ken Pettit (2013-5-7). * configs/mikroe-stm32f4/src/up_mio283qt2.c and other files: Integrate the MIO283QT2 display on the Mikroelektronika Multimedia STM32-M4 board. @@ -4746,7 +4746,7 @@ * include/nuttx/usb/audio.h: Typo- and bug-fixes from Ken Pettit (2013-5-19) * audio/, drivers/audio, include/nuttx/audio.h: Add a new audio subsystem - and jVS1053 driver to NuttX. Contributed by Ken Pettit (2013-5-19). + and VS1053 driver to NuttX. Contributed by Ken Pettit (2013-5-19). * configs/miroe-stm32f4/: Add audio logic to NSH configuration. From Ken Petty (2013-5-19). * nuttx/arch/arm/src/lm/chip/lm_flash.h and nuttx/arch/arm/src/lm/lm_flash.c: @@ -4759,7 +4759,7 @@ * arch/arm/src/stm32/chip/stm32_lcd.h: Add definitions for STM32L15X segment LCD (2013-5-21). * configs/lm3s6965-ek/discover: Add an example configuration for UDP - discovery tool on the lm3s6965-ek board. From Max Holtberg + discovery tool on the lm3s6965-ek board. From Max Holtzberg (2013-5-21). * audio/, drivers/audio, include/nuttx/audio: Added a callback interface to the Audio upperhalf driver for dequeueing, reporting async events, @@ -4774,12 +4774,12 @@ STM32L-Discovery's segment LCD (2013-5-22). * fs/fs_poll.c: Poll setup/teardown logic should ignore invalid (i.e., negative) file descriptors. Max Holtzberg (2013-5-23). - * net/net_poll.c: When readahead data is availalbe, the network poll + * net/net_poll.c: When readahead data is available, the network poll logic should set POLLIN (or POLLRDNORM), not POLLOUT. Max Holtzberg (2013-5-23) * fs/fs_poll.c: Actually, it should also set revents == 0. (2013-5-23). * libc/misc/lib_slcdencode.c and lib_slcddecode.c: Add logic to marshal - and serialized special SLCD intermixed with normal ASCII data (2013-5-23) + and serialize special SLCD intermixed with normal ASCII data (2013-5-23) * configs/stm32ldiscovery/src/stm32_lcd.c: STM32L-Discovery's segment LCD is code complete but completely untested (2013-5-23). * include/nuttx/fs/ioctl.h, include/nuttx/lcd/slcd_codec.h, and @@ -4827,7 +4827,7 @@ and src/stm32/chip/stm32f103c_pinmap.h: STM32F103C4 and F103C8 chip support from Laurent Latil (2013-5-28) * configs/stm32_tiny: Add support for the STM32 Tiny development board - based on th STM32 F103C8T6 MCU (2013-5-28). + based on the STM32 F103C8T6 MCU (2013-5-28). * arch/arm/src/stm32/stm32_usbdev.c: Fix an error in NULL packet handling: If the NULL-packet needed flag ever gets set, then it is not cleared and inifinite NULL packets result. This only @@ -4965,3 +4965,4 @@ * arch/arm/src/arm*/Toolchain.mk, Kconfig (and lots of configuration files): Add support for a generic Windows EABI toolchain (2013-6-13). +6.29 2013-xx-xx Gregory Nutt <gnutt@nuttx.org> diff --git a/nuttx/Documentation/NuttX.html b/nuttx/Documentation/NuttX.html index 25c340d48..89589b7d7 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: June 12, 2013</p> + <p>Last Updated: June 14, 2013</p> </td> </tr> </table> @@ -528,7 +528,7 @@ <td> <p> <li> - Network, USB (host), USB (device), serial, CAN, ADC, DAC, PWM, Quadrature Encoder, and watchdog timer driver architectures. + Network, USB (host), USB (device), serial, CAN, ADC, DAC, PWM, Quadrature Encoder, Wireless, and watchdog timer driver architectures. </li> </p> </td> @@ -1096,11 +1096,11 @@ </tr> </table> -<h2>NuttX-6.27 Release Notes</h2> +<h2>NuttX-6.28 Release Notes</h2> <p> - The 94<sup>th</sup> release of NuttX, Version 6.27, was made on April 28, 2013, and is available for download from the + The 95<sup>th</sup> release of NuttX, Version 6.28, was made on June 14, 2013, and is available for download from the <a href="http://sourceforge.net/projects/nuttx/files/">SourceForge</a> website. - Note that the release consists of two tarballs: <code>nuttx-6.27.tar.gz</code> and <code>apps-6.27.tar.gz</code>. + Note that the release consists of two tarballs: <code>nuttx-6.28.tar.gz</code> and <code>apps-6.28.tar.gz</code>. 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>. Unreleased changes after this release are available in GIT. @@ -1112,226 +1112,243 @@ <ul> <li> <p> - <b>OS Initialization</b> + <b>File Systems</b> </p> <ul> <li> - Add missing registration of <code>/dev/zero</code>. - Registration of <code>/dev/null</code> should depend upon conditional compilation. - From Ken Pettit. + <i>SMART</i> FLASH file system (contributed by Add Ken Pettit). </li> </ul> </li> <li> <p> - <b>Tasking</b> + <b>MTD (FLASH) Drivers</b> </p> <ul> <li> - Added a new interface to set aside memory on the task's stack. - This is used (at least in the kernel build) to hold task arguments. + Add support of MTD partitions via a new MTD driver that manages a + set of MTD devices, each managing a subset of the FLASH region + managed by the parent MTD driver. + </li> + <li> + Extended the MTD interface to provide an (optional) method to + perform byte oriented writes if supported by the FLASH part. </li> <li> - Remove <code>up_assert_code()</code>. - One assertion routine is enough. + M25Px driver re-architected to use the byte write capability (when + possible) and to use 4KB sectors for the erase block size when the + part supports it (from Ken Pettit). </li> </ul> </li> <li> <p> - <b>Kernel Build</b> + <b>LCD Drivers</b> </p> <ul> <li> - Extensive changes were made to support the kernel build mode. - In this mode, NuttX is built as a monolithic kernel. - NuttX is built as a separate kernel mode "blob" and the applications are built as a separate user mode "blob". - The kernel runs in supervisor mode and the applications run in user mode (with the MPU restricting user mode accesses). - Access to the kernel from the user blob is only via system calls (SVCalls in this case). - </li> - <li> - Kernel build configurations for the Open1788 board and for the STM32F4Discovery now execute correctly. - </li> - <li> - Changes were made to task and thread start-up routines, signal handling, data structures, ARMv7-M SVCalls, stack management interfaces, + New interface definitions to support audio devices (from Ken Pettit) + and alphanumeric, segment LCDs. </li> </ul> </li> <li> <p> - <b>Drivers</b> + <b>Wireless Drivers</b> </p> <ul> <li> - Driver for the ST7567 LCD Display Module from Univision Technology Inc. - Contributed by Manikandan.S - </li> - <li> - SPI initialize functions renamed so that multiple SPI blocks can be initialized. - </li> - <li> - Extended to support the RAMTRON FM25V01 device. - Contributed by Lorenz Meier - </li> - <li> - Serial drivers: <code>TIOCSERGSTRUCT ioctls</code> now conditioned on <code>CONFIG_SERIAL_TIOCSERGSTRUCT</code> + Added new driver for the wireless nRF24L01+ transceiver (from + Laurent Latil). </li> </ul> </li> <li> <p> - <b>ARMv7-M (Cortex-M3/4)</b> + <b>Calypso</b> </p> <ul> <li> - Added support for modifiable interrupt vectors in RAM + Added support for the Pirelli DP-L10 phone (from Craig Comstock via + Alan Alan Carvalho de Assis) </li> </ul> </li> <li> <p> - <b>nuvoTon NUC1xx</b> + <b>STM32</b> </p> <ul> <li> - Added kernel build support + Added an option to conditionally disable the "wfi" sleep mode. This + is needed with certain JTAG debuggers to to prevent the debug + session from begin disconnected (from Ken Pettit). + </li> + <li> + Added support for the STM32L (STM32L15X/STM32L16x) family. + </li> + <li> + Added STM32F103C4 and F103C8 chip support (from Laurent Latil). + </li> + <li> + Added a new interface function, <code>stm32_dmacapable()</code> that can be used + to determine if DMA is possible from the specified memory address + (from Petteri Aimonen) </li> </ul> </li> <li> <p> - <b>LPC17xx</b> + <b>STM32 Drivers</b> </p> <ul> - </li> - Now holds off sleep mode in the IDLE loop is DMA is in progress - (because sleep mode will disable CPU SRAM). + <li> + If <code>CONFIG_STM32_DMACAPABLE</code> is defined, the STM32 SPI driver now uses + <code>stm32_dmacapable()</code> to determine if it is possible to perform DMA + from the specified address. This change is important for the STM32 + F4 which may have SPI data buffers allocated on the stack in CCM + memory which cannot support the DMA (from Petteri Aimonen). </li> </ul> </li> <li> <p> - <b>LPC17xx Boards</b> + <b>STM32 Boards</b> </p> <ul> <li> - ZKIT-ARM-1769: Now supports the ST7567 LCD display module. - Added an nxhello configuration for testing (Manikandan.S). - </li> - <li> - ZKIT-ARM-1769: Add support for both CAN1 and CAN2. - Contributed by M.Kannan + Support added for the MikroElektronika Mikromedia for STM32F4 + development board (from Ken Pettit) with the MIO283QT2 LCD and + touchscreen. Several graphics configurations are included. </li> <li> - Open1788: Basic support for the WaveShare Open1788 board is complete with working OS test, NSH, and graphics configurations. + The HY-mini STM32v board now uses the common SSD1289 driver + and supported the card detect interrupt. Several new + configurations also added and some removed (from Laurent Latil). </li> <li> - Open1788: Integrated the LPC178x LCD driver with the WaveShare display. - Touchscreen support is included, howerver, there appears to be an issue with the Open1788 touchscreen interrupt signal. + Support added for the R65105-based LCD that comes with some + HY-Mini STM32v boards (from Christian Faure). </li> <li> - Open1788: Now supports SDRAM (used to provide the LCD framebuffer). + Added basic support for the STM32L-Discovery board. Drivers + for the on-board segment LCD are included. </li> <li> - Open 1788: Reversed sense of the IDLE LCD. It is now off when the LPC17 is sleeping and on when awake. - That is much a better visual indication of the dynamic CPU load + Added support for the STM32 Tiny development board based on the + STM32 F103C8T6 MCU. This includes support for the nRF24L01+ + wireless on the board (from Laurent Latil). </li> </ul> </li> <li> <p> - <b>LPC17xx Drivers</b> + <b>Stellaris LM3S/LM4F</b> </p> <ul> <li> - Added an LCD framebuffer driver for the LPC177x/8x family. - </li> - <li> - Implemented LPC17xx GPDMA support. - </li> - <li> - Integrated the LPC17xx GPDMA support into the SD card driver. - </li> - <li> - SSP driver adapted to work with the LPC178x family. - </li> - <li> - Separate LPC176x and LPC178x GPIO logic; this logic is too different to maintain in one file with conditional compilation. - </li> - <li> - Re-design of the GPIO logic for the LPC178x family by Rommel Marcelo. + Support added for a TI/Stellaris internal FLASH MTD driver (from Max + Holtzberg). </li> </ul> </li> <li> <p> - <b>LPC43xx</b> + <b>Stellaris LM4F Boards</b> </p> <ul> <li> - Added kernel build support + The LM3S6965-EK now has configurations for the UDP discovery tool and + for the TCP echo server (both from Max Holtzberg) </li> </ul> </li> <li> <p> - <b>STM32</b> + <b>Atmel ATSAM3/4</b> </p> <ul> <li> - Added support for kernel mode build. + Reorganized, renamed, and updated directory structure to better + support additional members of the SAM3/4 family. </li> <li> - Added architecure support for the STM32 F427/F437 chips. - Contributed by Mike Smith + Added support for both the ATSAM4S and ATSAM4L families. The + ATSAM4S is similar to the ATSAM3U, but the ATSAM4L is quite a + different beast, really much more akin to the AVR32s SoCs but + with a Cortex-M4. </li> </ul> </li> <li> <p> - <b>STM32 Boards</b> + <b>Atmel ATSAM3/4 Boards</b> </p> <ul> <li> - Added a configuration to support a kernel mode build of the OS test on the STM32F4Discovery + Added support for the Atmel SAM4L Xplained Pro development board. + This board features the ATSAM4LC4C MCU (Cortex-M4 with 256KB FLASH + + 32KB SRAM). + </li> + <li> + Added support for the Atmel SAM4S Xplained developement board. This + board features the ATSAM4S16C MCU (Cortex-M4 with 1MB FLASH + 128KB + SRAM). </li> </ul> </li> <li> <p> - <b>Stellaris LM3S/LM4F</b> + <b>PIC32MX Boards</b> </p> <ul> <li> - Added kernel build support - </li> - <li> - Added support for the 7 UARTs on the LM4F120 + Added support for the 1602 segment LCD on-board the Sure PIC32MX + board. This board will now also support a USB NuttX console and + the USB monitor test program. </li> </ul> </li> <li> <p> - <b>Stellaris LM4F Boards</b> + <b>Build System</b> </p> <ul> <li> - Added scripts and instructions to simplify use of OpenOCD with ICDI (JP Carballo) + Clean-up of almost all <code>.gitignore</code> files: Made scope of ignore to be + only the current directory; Ignore <code>.dSYM</code> files in directories where + <code>.exe</code>'s may be built. Also, in <code>Makefile</code>s, clean <code>.dSYM</code> files in + directories where an <code>.exe</code> may be built. + </li> + <li> + Standardize and consolidated all build-as-an-NSH-application + configuration settings. Now only<code> CONFIG_NSH_BUILTIN_APPS</code> is + sufficient to build an application, test, or or example as an NSH + builtin application. </li> <li> - The basic for the Stellaris LM4F120 Launchpad is complete. - This includes support for OS test and NSH configurations. - Additional driver development is needed. + Added support for a generic ARM, ARMv6-M and ARMv7-M Windows EABI + toolchains. </li> </ul> </li> <li> <p> - <b>Build System</b> + <b>Libraries</b> </p> <ul> <li> - Directories where the same sources files are used to build different objects in the first and second pass kernel builds need to keep those objects in separate directories so that they are not constantly rebuilt. + Added encoder/decoder logic to marshal and serialize special segment + LCD (SLCD) commands intermixed with normal ASCII data. This is the + similar to the encoding/decoding logic that is used to marshal + special commands from a keyboard. + </li> + <li> + Add <code>dprintf()</code> and <code>vdprintf()</code> (the latter from Andrew Tridgell). + </li> + <li> + Add an application that may be built as an NSH builtin command that + will erase FLASH using a <code>flash_eraseall</code> NSH command (from Ken Pettit). </li> </ul> </li> @@ -1341,49 +1358,75 @@ </p> <ul> <li> - <code>apps/system/ramtest</code>: - Added a simple memory test that can be built as an NSH command. + Added an MTD partition <code>test/examples</code>. Currently used with (1) the a + simulation configuration to test MTD partitions on a RAM emulation + of FLASH and (2) with the Mikroe STM32F4 configuration. + </li> + <li> + Added a test/example to verify alphanumeric, segment LCDs. </li> - </ul> - </li> - <li> - <p> - <b>Tools</b> - </p> - <ul> <li> - <code>kconfig2html</code> is a new tool which will replace the hand-generated documentation of the NuttX configruation variables with auto-generated documentation. + Added a simple single threaded, poll based TCP echo server based + on W. Richard Stevens UNIX Network Programming Book (from Max + Holtzberg). + </li> + <li> + Added several tests of the <i>SMART</i> block driver and file system (from + Ken Pettit). + </li> + <li> + Added a runtime configuration for the UDP discover utility (from + Max Holtzberg). + </li> + <li> + Added an example application to demo the nRF24L01 driver (from + Laurent Latil). + </li> + <li> + New and modified NSH commands: + <ul> + <li> + Added a -h option to the df command to show the volume information in human readable form (from Ken Petit). + </li> + <li> + Add a new mksmartfs command (from Ken Petit). + </li> + </ul> </li> </ul> - </li> </ul> <p> <b>Efforts In Progress</b>. The following are features that are partially implemented but present in this release. - Most are expected to be fully available in NuttX 6.27. + Most are expected to be fully available in NuttX 6.29. </p> <ul> <li> <p> - <b>Freescale Freedom KL25Z</b> + <b>Audio System</b> </p> <ul> <li> - A port to the Freescale Freedom KL25Z is complete but not yet stable enough. - The KL25Z is a low-cost Cortex-M0+ part with 128KB of FLASH and 16KB of SRAM. - This is is the effort of Alan Carvalho de Assis. + A complete audio subsystem include CODECs, higher level management, + interface definitions, and audio drivers was contributed by Ken + Pettit. This work has not been completely verified as of this + release and so is categorized as a work-in-progress. At present, + progress is blocked due to issues interfacing with the VS1053 + audio DAC on the Mikroe STM32F4 board. </li> </ul> </li> <li> <p> - <b><i>kconfig-frontends</i></b> + <b>kconfig-fronted Configuration</b> </p> <ul> <li> - Conversion of old configurations to use the <i>kconfig-frontends</i> tool is an ongoing effort that will continue for some time. - At this time, only 32% of the configurations have been converted to use the kconfig-frontends tools. + Conversion of old configurations to use the kconfig-frontends + tool is an ongoing effort that will continue for some time. + At this time, only 43% of the configurations have been converted + to use the kconfig-frontends tools. </li> </ul> </li> @@ -1399,137 +1442,136 @@ </p> <ul> <li> - Fixed a critical bug: - When there is pending C buffered output and the system is very busy, the a pthread may be blocked at a critical point when trying to exit. - Blocking at this critical point would cause crashes. - All entire task/thread exit logic paths were reviewed and failsafe mechanisms were put in place to assure that exitting tasks never block after task teardown has been started. + Modify assertion in the priority inheritance logic that is reported + to cause false alarm assertions. </li> </ul> </li> <li> <p> - <b>ARMv6-M (Cortex-M0/M0+)</b> + <b>Kernel Build</b> </p> <ul> <li> - Fixed parameter passing for all system call inline functions with > 3 parameters - </li> - <li> - Fixed a major problem: - The Cortex-M0 has no BASEPRI register but thelogic of NuttX-6.26 was using it to manage interrupts. - Switched to using the PRIMASK instead. - This means that hardfaults will (again) occur when SVC instructions are executed + Typo in syscall proxying logic corrected by Ken Pettit. </li> </ul> </li> <li> <p> - <b>ARMv7-M (Cortex-M3/4)</b> + <b>Networking</b> </p> <ul> <li> - Corrected Correct MPU sub-region settings for unaligned regions. + Poll setup/teardown logic should ignore invalid (i.e., negative) + file descriptors (from Max Holtzberg). </li> <li> - In exception handling with <code>CONFIG_NUTTX_KERNEL<.code>, need to explicitly set and clear the privilege bit in the <codee>CONTROL</code> register. - </li> - <li> - Fixed parameter passing for all system call inline functions with > 3 parameters + When readahead data is available, the network <code>poll()</code> logic should + set <code>POLLIN</code> (or <code>POLLRDNORM</code>), not <code>POLLOUT</code> (from Max Holtzberg). </li> </ul> </li> <li> <p> - <b>Drivers</b> + <b>LCD Drivers</b> </p> <ul> <li> - Support for <code>O_NONBLOCK</code> was not supported in the "upper half" serial driver. - </li> - <li> - PL2303 compilation errors + Correct power controls in the MIO283QT2 LCD driver. </li> </ul> </li> <li> <p> - <b>Stellaris LM3S/4F</b> + <b>USB Device Controller Drivers</b> </p> <ul> <li> - Corrected typos in alternate function definitions. + Change the default IN request buffer size from 64 to 96. This will + avoid requests of exactly MAXPACKET size and, hence, avoid so many + NULL packets. Also, fix the OUT request buffers size to exactly the + max packet size. It really cannot be any other size. </li> </ul> </li> <li> <p> - <b>LPC17xx Drivers</b> + <b>STM32 Drivers</b> </p> <ul> <li> - Added a work-around for an ADC errata. - From Chris Taglia + Correct some bad STM32 F1 DMA definitions that crept into the system + a few months ago a broke STM32 F1 DMA (from Laurent Latil) </li> <li> - Only one ADC pin was configured. - Need to configure all that are in the ADC0 set. - From MKannan + Fixed an error in NULL packet handling in the STM32 F1 USB device + controller driver: If the NULL-packet needed flag ever got set, + then it was not being cleared and infinite NULL packets resulted. + This only affects the CDC/ACM class and was the cause of the + failures using the USB CDC/ACM device as a NuttX console. With this + change the USB works well as an alternative NuttX console device for + the STM32 F1 family. </li> - </ul> - </li> - <li> - <p> - <b>File Systems</b> - </p> - <ul> <li> - The FAT logic was not making a distinction between directory non-existence and file non-existence so when it you try to create a file in a non-existent directory; it would create a file with the name of the missing directory. - Reported by Andrew Tridgell + Correct some bad condition compilation in the RCC logic (CONFIG_ + missing from setting names). This affects some STM32 FLASH pre- + fetch settings (from Lorenz Meier). </li> <li> - Several fixes to the FAT file system from Ronen Vainish. - These fixes mostly involve the logic to extend directory clusters for the case of long file names but also include a few important general fixes (such as for storing 32 bit FAT values) + Change for hardware flow control support for STM32. The change also + fixes incorrect operation of USART2 and UART5 in current master + (from Lorenz Meier and Mike Smith). </li> <li> - <code>mkfatfs</code> was writing the boot code to the wrong location. - From Petteri Aimonen + Fixed a backward conditional in USB OTG FS host controller driver + that prevented detection of disconnection events (from Scott). </li> </ul> </li> <li> <p> - <b>Networking</b> + <b>LPC17xx Drivers</b> </p> <ul> <li> - Fixed a compilation error when socket options are are disabled. - Reported by Daniel O'Connor + I2C interrupt control. Also correction for a single byte read + timeout error (from M. Kannan). </li> </ul> </li> <li> <p> - <b>C Library</b> + <b>Freescale Kinetis</b> </p> <ul> <li> - Corrected an error in <code>sscanf()</code>. - If %n occurs in the format statement after the input data stream has been fully parsed, the %n format specifier will not be handled. - Reported by Lorenz Meier + Freedom KL25Z pin multiplexing and LED control corrections (from + Alan Carvalho de Assis) </li> + </ul> + </li> + <li> + <p> + <b>PIC32MX</b> + </p> + <ul> <li> - <code>strchr(str, '\0')</code> should return a pointer to the end of the string, not NULL. - From Petteri Aimonen + Fix NULL packet handling in the PIC32 USB device driver. Without + this fix the CDC/ACM driver cannot be used reliably with the PIC32 + USB. With this change the USB works well as an alternative NuttX + console device. </li> </ul> </li> <li> <p> - <b>Build System</b> + <b>Graphics</b> </p> <ul> <li> - Fix naming of NuttX target if <code>EXEEXT</code> is defined. + Default priorities for NxWidget and NxWM threads should be 100, + not 50, to be consistent with other default priorities. </li> </ul> </li> @@ -1539,12 +1581,18 @@ </p> <ul> <li> - OS test: Fix timing error in non-cancelable thread test. + Remove the <code>CONFIG_EXAMPLES_NXTEXT_NOGETRUN</code> option from the NXTEXT + example. The test logic was bad for the case where this options is + not selected. Also, completed the empty Kconfig file. + </li> + <li> + C++ name mangling was occurring when this example is built as an NSH + built-in application causing the entry to be undefined when called + from C code. </li> <li> - NSH: Correct the test of the skip input parameter. - Was limiting the range to <= count. - From Ken Petit. + Add some missing NSH library configuration values (from Lorenz + Meier). </li> </ul> </li> @@ -1806,6 +1854,7 @@ This port supports the TI "Calypso" MCU used in various cell phones (and, in particular, by the <a href="http://bb.osmocom.org/trac/">Osmocom-bb project</a>). Like the c5471, NuttX operates on the ARM7 of this dual core processor. + Board support is available for the Motorola C155 and W220 phones and for the Pirelli DP-L10 phone. </p> <ul> <p> @@ -2336,7 +2385,7 @@ nsh> <a name="stm32f103cx"><b>STMicro STM32F103C4/8 (STM32 F1 Low- and Medium-Density Family)</b>.</a> This port is for "STM32 Tiny" development board. This board is available from several vendors on the net, and may be sold under different names. - It is based on a STM32 F103C8T6 MCU, and is bundled with a nRF24L01 wireless communication module. + It is based on a STM32 F103C8T6 MCU, and is bundled with a nRF24L01 wireless communication module. </p> <ul> <p> @@ -2488,7 +2537,7 @@ nsh> <a name="at91sam3u"><b>Atmel AT91SAM3U</b>.</a> This port uses the <a href="http://www.atmel.com/">Atmel</a> SAM3U-EK development board that features the AT91SAM3U4E MCU. - This port uses a GNU arm-nuttx-elf or arm-eabi toolchain* under either Linux or Cygwin (with native Windows GNU tools or Cygwin-based GNU tools). + This port uses a GNU arm-nuttx-elf or arm-nuttx-eabi toolchain* under either Linux or Cygwin (with native Windows GNU tools or Cygwin-based GNU tools). </p> <ul> <p> @@ -2507,6 +2556,13 @@ nsh> USB device (and possible LCD support). These extensions may or may not happen soon as my plate is kind of full now. </p> + <blockquote><small> + <b>NuttX-6.28 Update</b>. + I just recently got a new SAM3U-EK board after bricking mine a year or so ago. + In the NuttX-6.28 release, there are some problems with the SAM3U-EK LCD and touchscreen. + I do not know if this is a consequence of board differences, changes in NuttX-6.28 for the SAM4S and SAM4L which affect the same code, or just "bit-rot" from disuse. + I hope to have these issues resolved for NuttX-6.29. + </small></blockquote> </ul> <p> <b>Development Environments:</b> @@ -4119,337 +4175,413 @@ Other memory: </table> <ul><pre> -6.27 2013-04-28 Gregory Nutt <gnutt@nuttx.org> +6.28 2013-06-14 Gregory Nutt <gnutt@nuttx.org> - * arch/arm/src/armv7-m/up_mpu.c: Correct MPU sub-region settings for - unaligned regions (2013-03-15). - * arch/arm/src/armv6-m/up_svcall.c: Bring up to equivalent to the - ARMv7-M version (2013-03-15). - * configs/lm4f120-launchpad/tools: Add scripts and instructions to - simplify use of OpenOCD with ICDI (from JP Carballo, 2013-03-15). - * tools/mkconfig.c: Logic that attempts to suppress buffered I/O - within the kernel is wrong. sizeof(struct file_struct) must be - the same in both kernel- and user-spaces (2013-03-16). - * arch/arm/src/common/up_pthread_start.c, libc/pthread/pthread_startup.c, - and related files: Implement switch to user-space and user-space - pthread start-up function (2013-03-16). - * arch/arm/src/common/up_signal_handler.c, libc/pthread/pthread_startup.c, - and related files: Implement switch to user-space and user-space - pthread start-up function (2013-03-16). - * arch/arm/src/common/up_signal_handler.c, libc/signal/signal_handler.c, - arch/arm/src/armv[6|7]-m/up_svcall.c, arch/arm/include/armv[6|7]-m/svcall.h, - include/nuttx/userspace.h, and sched/sig_deliver.c: Implement switch - to user-space from kernel signal delivery trampoline before calling user- - space signal handler. Return from user-space signal handler using a - system call (2013-03-16). - * arch/arm/src/armv[6|7]-m/up_schedulesigaction.c: Need make sure we are - in kernel mode before switching to kernel-mode signal handler - trampoline (2013-03-16). - * arch/arm/include/armv[6|7]-m/irq.h, and arch/arm/src/armv[6|7]-m/up_svcall.c: - Add support for nested system calls. In the current design, this can - happen only under one condition: When the kernel system call logic calls - back into user space in order to allocate user space memory. So it is - expected that the maximum nesting level will be only 2 (2013-03-17). - * libc/stdio/lib_sccanf.c: Correct an error in sscanf. If %n occurs in - the format statement after the input data stream has been fully - parsed, the %n format specifier will not be handled. Reported by - Lorenz Meier (and also earlier by Kate) (2013-03-17). - * drivers/serial/serial.c: Support for O_NONBLOCK was not supported - in the "upper half" serial driver. This is normally not an issue - because UART TX is almost always available, but it does become an - if the UART uses hardware flow control or if the a "lower half" is - something like the USB CDC/ACM driver that may need to block for - significant amounts of time (2013-03-18). - * arch/arm/src/armv7-h/ram_vectors.h, up_ramvec_*.c, arch/arm/src/*/*_irq.c, - and Make.defs: Add support for modifiable interrupt vectors in RAM - (2013-03-18). - * arch/arm/src/armv7-m/up_exception.S, sam3u/sam3u_vectors.S, and - lpc17xx/lpc17_vectors.S: In exception handling with CONFIG_NUTTX_KERNEL, - need to explicitly set and clear the privilege bit in the CONTROL - register on return. I assumed this would be handled automatically - by the EXC_RETURN. Silly me (2013-03-18). - * arch/arm/src/lpc17_adc.c: Add a work-around for an ADC errata. From - Chris Taglia (2013-3-19). - * arch/arm/src/armv7-m/up_hardfault.c: If the PRIMASK is used to disable - interrupts, then additional logic is required in the hard fault handler - (2013-3-19). - * libc/ and mm/: Directories where the same sources files are used to - build different objects in the first and second pass kernel builds need - to keep those objects in separate directories so that they are not - constantly rebuilt (2013-3-19). - * fs/fat: Create an error in FAT file creation. The FAT logic was - not making a distinction between directory non-existence and file - non-existence so when it you try to create a file in a non-existent - directory, it would create a file with the name of the missing - directory. Reported by Andrew Tridgell (2013-03-30). - * Numerous files: Changed the protoypes of up_create_stack() and - up_release_stack() so that is includes a task type. Normally you - can get this type from the TCB parameter, but there are certain - conditions when the task type is not valid in the TCB when these - functions are called. Only the prototypes were changed on this - big, initial checkin. The next step will be to add logic to - allocate stacks for kernel threads from protected kernel memory - and all other task types from unprotected user memory (2013-03-20). - * arch/*/src/common/up_createstack.c, up_use_stack.c, and - up_release_stack.c: If creating or releasing the stack for a kernel - thread, use the kernel allocator so that the kernel thread stacks - are protected from user application meddling (2013-03-20). - * arch/arm/src/armv[6|7]-m/up_scall.c: Fix parameter passing for - all system call inline functions with > 3 parameters (2013-03-20) - * arch/*/src/common/up_stackframe.c and include/nuttx/arch.h: Add - and new interface to set aside memory on the stack. This will be - used at least in the kernel build to hold task arguments (2013-03-21). - * sched/sig_deliver.c: When dispatching signals to user threads, - copy the siginfo_t from the sigq to the stack. The signal queue - is allocated from kernel memory; however, the current stack is - the user's stack and the user code will be able to access the - signinfo_t data from the stack copy (2013-03-21). - * arch/arm/src/stm32: Added support for the kernel mode build - (cloned from the lpc17xx). (2013-03-21). - * configs/stme32f4discovery/kernel and scripts: Add support for - the kernel mode build on the STM32F4Discovery (2013-03-21). - * drivers/st7567.c/h and include/nuttx/lcd/st7567.h: Driver for - the ST7567 LCD Display Module from Univision Technology Inc. - contributed by Manikandan.S (2013-03-22). - * configs/zkit-arm-1769: Now supports the ST7567 LCD display - module. Added an nxhello configuration for testing (Manikandan.S, - 2013-03-22). - * configs/stm32f4discovery/kostest: Add a kernel mode version - of the OS test for the STM32F4Discovery board (2013-03-22). - * nuttx/include/nuttx, nuttx/configs/sam3u-ek, nuttx/configs/open1788, - nuttx/configs/stm32f4discovery, and nuttx/arch/arm: Complete - re-archtecting of how signals are dispatched to user-space code - in the kernel build. The original implementation was C-based - and simpler. However, the C code intermixed with SVC calls was - not properly preserving registers. The more complex, assembly - language version does not suffer from these issues. I believe - the the kernel build can now be called "feature complete" - (2013-03-23). - * binfmt/binfmt_execmodule.c: Here is a place where I forget - to update the call to sched_releasetcb() to pass the thread - type as the second parameter (2013-03-23). - * arch/arm/src/lm, kinetis, lpc32, and nuc1xx: Add kernel build - support to all ARMv7-M and ARMv6-M chips. There are no - configurations in place to to verify these additions! - (2013-03-24). - * arch/arm/src/lm/lm_gpio.h: Correct typos in alternate function - definitions (2013-03-24). - * arch/arm/src/lm/lm_lowputc.c and lm_serial.c: Add support for - the 7 UARTs on the LM4F120 (2013-03-24). - * configs/lm4f120-launchpad/ostest/defconfig: Fix the configured - RAM size. This appears to be the last show-stopper bug: The - LaunchPad now runs NuttX! (2013-03-24). - * configs/lm4f120-launchpad/nsh: Add an NSH configuration for the - LaunchPad (2013-03-24). - * configs/kwikstik-k40: Converted configurations to use the - konfig-frontends tool (2013-03-25). - * configs/twr-k60n512: Converted configurations to use the - konfig-frontends tool (2013-03-25). - * arch/arm/src/lpc17xx/lpc17_lcd.c: Add an LCD framebuffer driver - for the LPC177x/8x family (2103-3-26). - * arch/arm/src/lpc17xx/lpc17_emc.c and - configs/open1788/src/lpc17_sdraminitialize.c: Began testing the - Open1788 SDRAM. The SDRAM is basically functional, but there are - failures with the SDRAM is stressed by the memory test at - apps/example/ramtest (SDRAM support and the RAM test can be configured - into the base configs/open1788/nsh configuration as described in - configs/open1788/READMT.txt (2103-3-27). - * configs/open1788/nxlines: Add a configuration to test both the - Open1788 LCD and SDRAM which is used as a framebuffer (2013-3-27). - * arch/arm/src/lpc17xx/lpc17_gdma.c and lpc17_sdcard.c: Began - implementation of the LPC17 DMA and integration into the SDCARD - driver (2013-3-29). - * arch/arm/src/lpc17xx/lpc17_gdma.c: LPC17 DMA is code complete and - under test. Does not yet work (2013-3-30). - * fs/fat/fs_fat32dirent.c and fs_fat32util.c: Several fixes to the - FAT file system from Ronen Vainish. These fixes mostly involve the - logic to extend directory clusters for the case of long file names - but also include a few important general fixes (such as for storing - 32 bit FAT values) (2013-03-31). - * arch/arm/src/lpc17xx/lpc17_gdma.c and lpc17_sdcard.c: SD card DMA - is now functional. Thre may be some issues with DMA from CPU SRAM - which is apparently disabled in sleep mode; up_idle() always enters - sleep mode (2013-03-31). - * arch/arm/src/stm32: Add architecure support for the STM32 F427/F437 - chips. Contributed by Mike Smith (2013-4-01). - * configs/zkit-arm-1769/src/up_can.c: Add support for both CAN1 - and CAN2. Contributed by M.Kannan (2013-4-01). - * arch/arm/src/lpc17xx/lpc17_spi.c and lpc17_ssp.c and - configs/olimex-lpc1766stk, nucleus2g, zkit-arm-1769, and - lpcxpresso-lpc1768: The initialization function for both the LPC17xx - SPI and SSP blocks was called up_spinitialize() which is the common API - definition of include/nuttx/spi.h. But this raises a problem when the - MCU has multiple blocks for differ SPI implementations as does the - LPC17xx (and also as does other architectures like STM32 that have - USARTs that can serve as SPI interfaces as well). These were renamed - to lpc17_spiinitialize() and lpc17_sspinitialize() in this case. - Problem reported by M. Kannan (2013-4-01). - * arch/arm/src/lpc17xx/lpc17_gpdma.c and lpc17_idle.c: In sleep mode, - DMA can only be performed from peripheral SRAM. CPU SRAM is shutdown - in sleep mode. In order to simplify DMA memory allocation, the LPC17xx - IDLE will now hold off going to sleep mode if there is a DMA in progress - (2013-4-01). - * configs/open1788/src/lpc17_autoleds.c: Reversed sense of the IDLE LCD. - It is now off when the LPC17 is sleeping and on when awake. That is - much more useful because it provides a good visual indication of the - dynamic CPU load (2013-4-01). - * configs/open1788/src/lpc17_touchscreen.c and lpc17_ssp.c: Add - support for the touschscreen on the WaveShare LCD (2013-4-01). - * configs/several: There were already some functions called - lpc17_sspinitialize(). So they had to be renamed (2013-4-01). - * arch/arm/src/lpc17xx/lpc17_ssp.c: Adapted to work the the LPC178x - family (2013-4-01). - * arch/arm/src/lpc17xx/lpc17_gpio.c/.h: Separate LPC176x and LPC178x - logic into separate files. The logic is diverging to much to - try to retain common code (2013-4-03). - * net/net_clone.c: Fix compilation error when socket options are - are disabled. Reported by Daniel O'Connor (2013-4-05). - * configs/zkit-arm-1769/src/up_leds.c: Fix a typo introduced into - the button interrupt logic (2013-4-05). - * arch/arm/src/lpc17xx/lpc178x_gpio.c: Re-design of the GPIO - logic for the LPC178x family by Rommel Marcelo (2013-4-05). - * arch/arm/src/lpc17_gpiodbg.c: Updated so that it correctly - reports LPC177x/8x GPIO registers when GPIO debug is enabled - (2013-4-05). - * arch/arm/src/Makefile: The variable NUTTX already includes - the extension $(EXEEXT). So remove the second extension - $(NUTTX)$(EXEEXT) in two places (2013-4-7). - * arch/arm/src/lpc17xx/lpc17_gpioint.c: Disable interrrupts in - lpc17_setintedge(). This logic must be atomic because it can be - re-entered before it completes enabled interrupts, sometimes - leaving the interrupts in a strange state (2013-4-7). - * arch/arm/src/lpc17_lcd.c: Rommel Marcelo got the LPC1788 - framebuffer-based LCD working. Very nice! (2013-4-08). - * arch/arm/src/lm/lm_clockconfig.c and configs/lm4f120-launchpad: - Fix handling of the RCC SYSDIV2 field whent the PLL output is - 400MHz. Don't forget to set the USERCC2 bit in the register or - all is for naught (2013-4-09). - * configs/zkit-arm-1769/src/up_lcd.c, up_ssp.c, and up_spi.c: - Use SSP0 to LCD and SPI to SD-Card on the Zkit-arm-1769 board. - From Manikandan. S (2013-4-10) - * configs/olimex-lpc1766stk/usbserial: Converted to use the - kconfig-config frontends tools (2013-4-12). - * drivers/usbdev/pl2303.c: Fix some compilation errors that - crept in when fixes to the CDC/ACM driver where blindly - incorporated in the PL2303 driver (2013-4-12). - * configs/stm3210e-eval/usbserial: Converted to use the - kconfig-config frontends tools (2013-4-12). - * configs/nucleus2g/usbserial: Converted to use the - kconfig-config frontends tools (2013-4-12). - * arch/arm/src/kl and arch/arm/include/kl: Add support for the - Kinetis L family of Cortex-M0+ MCUs. Contributed by Alan - Carvalho de Assis. NOTE: This is still very much a work in - progress as of this initial commit (2013-04-16). - * configs/freedom-kl25z: Support for the Freedom KL25Z board - contributed by Alan Carvalho de Assis. NOTE: This is still - very much a work inprogress as of this initial commit - (2013-04-16). - * arm/arm/src/armv6-m and arch/arm/include/armv6-m: Ooops. Fix - a major screw-up: The Cortex-M0 has no BASEPRI register but - the current logic was using it to manage interrupts. Switch - to using the PRIMASK. This means that hardfaults will (again) - occur when SVC instructions are executed (2013-4-16). - * configs/stm3240g-eval/ostest: Converted to use the kconfig-frontends - tools (2013-4-17). - * sched/task_exithook.c: Don't flush the streams until the - final thread of the group exits. Flushing may cause the - thread to get suspended at a bad time and other threads in the - group may run while the exiting thread is in an unhealthy state. - This can cause crashes under certain circumstance. This is a - critical bugfix (2013-4-18). - * drivers/mtd/ramtron.c: Extended to support the FM25V01 device. - Contributed by Lorenz Meier (2013-4-18). - * sched/task_deletecurrent.c and task_exit.c, arch/*/up_exit.c: - Renamed task_deletecurrent() and task_exit() since it really - handles the architecture independent part of _exit(). _exit() - is used internally, but if it is called from the user, it should - unregister any atexit() or on_exit() functions (2013-4-18). - * tools/kconfig2html.c: This is the beginning of a tool to - replace the hand-generated documentation of the NuttX configruation - variables with auto-generated documentation. The initial checkin - is an incomplete, poorly structured prototype that I hope to - evolve into a useful tool (2014-4-20). - * libc/string/lib_strchr.c: strchr(str, '\0') should return a - pointer to the end of the string, not NULL. From Petteri - Aimonen (2014-4-22). - * fs/fat/fs_writefat.c: mkfatfs was writing the boot code to the - wrong location. From Petteri Aimonen (2014-4-22). - * Documentation: The NuttX documentation now expects to find an - auto-generated version of the configuration variable documentation - at Documentation/NuttXConfigVariables.html (2014-4-22). - * arch/arm/src/lpc17xx/lpc17_adc.c: Only one ADC pin was configured. - Need to configure all that are in the ADC0 set. From MKannan - (2014-4-23). - * configs/zkit-arm-1769/src: ADC and SPI/USB MSC updates from - MKannan (2014-4-23). - * arm/src/armv7-m/ram_vectors.h and arm/src/armv7-m/up_ramvec_initialize.c: - Fixes to RAM vector logic from Paul Y. Zhang (2014-4-23) - * tools/kconfig2html.c: Improve behavior of Expand/Collapse - Table of Contents; Handle errors in parsing of strings and in - some uninitialized variables. Add an option to use jQuery. - * tools/mkconfigvar.sh: Fix make target (2014-4-23). - * sched/exit.c, pthread_exit.c, task_exit.c, task_delete,c and - task_exithook.c: For pthread_exit(), move some logic to an early - point in the exit sequence where the task may need to block. Add - conditional logic in the lower end of the eixt logic kicked off by - _exit() to prohibit blocking after the task has been torn down and is - no longer cabable of blocking (2014-4-23). - * arch/arm/src/common/up_initialize.c: Add missing registration - of /dev/zero. Registration of /dev/null should depend upon - conditional compilation. From Ken Pettit (2014-4-24). - * arch/*/src/common/up_initialize.c: Same change required to other - architectures (2014-4-24). - * arch/arm/src/kl/kl_clockconfig.c and configs/freedom-kl25z/include/board.h: - Modify out PLL configuration so that it uses the values in - board.h; Fix PLL settings in board.h so that the correct core - and bus clock frequencies are generated. (2014-4-24). - * arm/src/kl/chip/kl_memorymap.h, kl_sim.h, andkl_uart.h: Correct some - register definitions (2014-4-25). - * arch/arm/src/kl/Kconfig, kl_lowputc.c, kl_serial.c, and kl_config.h: - No UART3-5 (2014-4-25). - * arch/arm/src/kl/kl_serial.c: Various fixes to various files in the - KL architecture directory as need to get the interrupt-driven - serial driver to work. The Freedom KL25Z NSH configuration now - works (2014-4-25). - * include/nuttx/assert.h, arch/*/src/*/up_assert.c, and other file: - Remove up_assert_code(). While asserting with an encoded value - could be a good feature, the codes have not be well utilized nor - documented. Give that situation it is better to remove the API - and reduce the footprint a little (2014-4-25). - * drivers/serial/Kconfig and arch/*/src/*/*_serial.c: Add - compilation so that the useless TIOCSERGSTRUCT ioctl logic - is not build unless CONFIG_DEBUG and CONFIG_SERIAL_TIOCSERGSTRUCT - are defined. - * sched/task_delete.c and task_terminate.c: Most task_terminate() - out of task_delete.c into its own C file. This should prevent - dragging task_delete() into the link when it is never called. + * arch/arm/src/lpc17xx/lpc17_i2c.c: Interrupts were not being + re-enabled in the I2C intialization function (2013-4-30). + * net/sendto.c: Added skeleton of implementation of send timeouts + for UDP. However, this functionality really does not make + sense, so it is disabled in the code (2013-4-30). + * drivers/mtd/mtd_partition.c: Support capability to clone one + MTD driver into several, MTD partition drivers, each of which + can manage a sub-region of the FLASH (2013-4-30). + * configs/sim/nxffs: Converted to use the kconfig-frontends + tools (20130-4-30). + * configs/sim/mtdpart: A new configuration to test MTD + partitions (2013-4-30). + * configs/sim/mkroe-stm32f4: Support for the MikroElektronika + Mikromedia for STM32F4 development board (from Ken Pettit, 2013-4-30). + * fs/smartfs: Add Ken Pettit SMART FS (2013-4-30). + * include/nuttx/mtd.h and most MTD drivers: Add support for + (optional) method to perform byte oriented writes if so configured + (2013-5-1). + * arch/arm/src/kl/chip/kl25z128_pinmux.h: Corrections fo the + pin multiplexing definitions from Alan Carvalho de Assis + (2013-5-2). + * drivers/mtd/mtd_partition.c: Fix a few bugs and add support for the + (option) byte write method (2013-5-3). + * arch/arm/src/kl: Repartitioning of definitions in header files + from Alan Carvalho de Assis (2013-5-3). + * drivers/mtd/smart.c, fs/smart, and other files: SMART file system + now makes use of the MTD byte write capabilities when present (from + Ken Pettit, 2013-5-3). + * drivers/mtd/m25px.c: Some rearchitecting to use the byte write + capability (when possible) and to use 4KB sectors for the erase block + size when the part supports it (Ken Pettit, 2013-5-3). + * configs/pirelli_dpl10: Adds a configuration for the pirelli phone + (from Craig Comstock via Alan Alan Carvalho de Assis, 2013-5-3). + * arch/arm/src/calypso: Fix some compilation warnings (2013-5-5). + * configs/pirelli_dpl10/nsh_highram: Converted to use the + kconfig-frontends tools (2013-5-5). + * drivers/lcd/mio283qt2.c: LCD was not being selected in setpower + method (also not being deselected in hwinitialize function) + (2013-5-6). + * arch/arm/src/kl/kl_gpio.c and .h, configs/freedom-kl25z/src/freedom-kl25z.h, + and configs/freedom-kl25z/src/kl_led.c: Fixes LEDs on the Freedom KL25Z + board (2013-5-6). + * arch/arm/src/kinetis/kinetis_pin.c and arch/arm/src/kinetis/kinetis_internal.h: + The Kinetis GPIO logic had some of the same issues as did the + Kinetis L (2013-5-6). + * arch/arm/src/stm32/stm32_idle.c: Add an option to conditionally disable + the "wfi" sleep mode. This is needed with certain JTAG debuggers to + to prevent the debug session from begin disconnected. From Ken Pettit + (2013-5-7). + * configs/mikroe-stm32f4/fulldemo/, nx/, nxlines/, nxtext/: Add more + configurations for the Mikroelektronika Multimedia STM32-M4 board. + From Ken Pettit (2013-5-7). + * configs/mikroe-stm32f4/src/up_mio283qt2.c and other files: Integrate the + MIO283QT2 display on the Mikroelektronika Multimedia STM32-M4 board. + From Ken Pettit (2013-5-7). + * arch/arm/src/lpc17xx/lpc17_i2c.c: Fix for lpc17xx i2c single byte read + timeout error problem from M.Kannan (2013-5-8). + * arch/arm/src/stm32/stm32_adc.c: Typo in F2/F4 specific logic: ACD_ + instead of ADC_. From Ken Pettit (2014-5-8). + * configs/olimex-lpc1766stk/tools: Tweaks to support OpenOCD-0.70 + (2013-5-10). + * configs/mikroe-stm32f4: Changes to get the Mikroelektronika MultiMedia + STM32 F4 touchsceen working. From Ken Pettit (2013-5-11). + * configs/*/nxwm: Default priorities for NxWidget and NxWM threads + should be 100, not 50, to be consistent with other default priorities. + * configs/hymini-stm32v/buttons, nsh, and nsh2: Configurations converted + to use the kconfig-frontends tools (Laurent Latil, 2013-5-14) + * configs/hymini-stm32v/src: Converted to use the common SSD1289 driver + (Laurent Latil, 2013-5-14) + * configs/hymini-stm32v/ostest and usbnsh: Add OS test and USB/NSH + configurations (Laurent Latil, 2013-5-14). + * configs/hymini-stm32v/src/up_nsh.c: Add support for the card detect + (CD) interrupt (Laurent Latil, 2013-5-14). + * configs/hymini-stm32v/src/nx and nxlines: Removed these configurations + (Laurent Latil, 2013-5-14). + * arch/arm/src/stm32/chip/stm32f10xx_dma.h: Fix some bad DMA register + definitions. From Laurent Latil (2013-5-15). + * configs/hymini-stm32v: Enable SDIO in nsh2 configuration; remove + warning from src/up_ssd1289.c. From Laurent Latil (2013-5-15). + * configs/hymini-stm32v/src/up_r61505u.c: Support for the R65105- + based LCD that comes with some HY-Mini STM32v board. From Christian + Faure (2013-5-16). + * syscall/syscall_lookup.h: Missing underscore character in SYS_onexit. + Reported by Ken Pettit (2013-5-17). + * nuttx/syscall/syscall.csv: Type of first parameter of on_exit() is + wrong. Reported by Ken Pettit (2013-5-17). + * configs/mikroe-stm32f4/kernel/, kostest/ and scripts/: Add kernel build + support and kernel mode OS test example for the the MikroElektronkia + MultiMedia STM32 M4 board. From Ken Pettit (2013-5-17). + * arch/arm/include/stm32/chip.h and arch/arm/src/stme32/chip/stm32l15xxx_pinmap.h: + Beginning of support for the STM32L15X family (2013-5-18). + * arch/arm/include/stm32/stm32l15xxx_irq.h and arch/arm/src/stm32/chip/stm32l15xxx_vectors.h: + Support for STM32L15X interrupt vectors (2013-5-18). + * arch/arm/src/stm32/chip/stm32l15xxx_gpio.h and related STM32 GPIO files: + Add GPIO support for the STM32L215X (2013-5-18). + * arch/arm/src/stm32/chip/stm32l15xxx_memorymap.h: STM32L215X memory map + (2013-5-18). + * arch/arm/src/stm32/chip/stm32_pwr.h, stm32fl15xxx_rcc.h, and stm32l15xxx_syscfg.h: + More updates for the STM32L152 (2013-5-19). + * configs/stm32ldiscovey: Configuration for the STM32L-Discovery board. + Still does not build on initial check-in (2013-5-19) + * STM32L15X: Add DMA and UART start. Correctly initialize the heap + (2013-5-19). + * arch/arm/src/stm32/stm32l15xxx_rcc.c chip/stm32_flash.h: Add RCC PLL + and FLASH configuration logic for the STM32L152X (2013-5-19). + * include/nuttx/usb/audio.h: Typo- and bug-fixes from Ken Pettit + (2013-5-19) + * audio/, drivers/audio, include/nuttx/audio.h: Add a new audio subsystem + and VS1053 driver to NuttX. Contributed by Ken Pettit (2013-5-19). + * configs/miroe-stm32f4/: Add audio logic to NSH configuration. From Ken + Petty (2013-5-19). + * nuttx/arch/arm/src/lm/chip/lm_flash.h and nuttx/arch/arm/src/lm/lm_flash.c: + Add support for TI/Stellaris internal FLASH MTD driver. From Max + Holtzberg (2013-5-20). + * arm/src/stm32/chip/stm32l15xxx_vectors.h: After correcting errors in the + vector definition file, the STM32L-Discovery NSH port now seems to be + fully functional. Also fixed an error that was causing the LEDs to be + controlled incorrectly (2013-5-21). + * arch/arm/src/stm32/chip/stm32_lcd.h: Add definitions for STM32L15X + segment LCD (2013-5-21). + * configs/lm3s6965-ek/discover: Add an example configuration for UDP + discovery tool on the lm3s6965-ek board. From Max Holtzberg + (2013-5-21). + * audio/, drivers/audio, include/nuttx/audio: Added a callback interface + to the Audio upperhalf driver for dequeueing, reporting async events, + etc. Also included is some initial work for the VS1053 driver. From + Ken Pettit (2013-5-21). + * include/nuttx/audio/audio.h: Moved from include/nuttx/ to include/nuttx/audio. + (2013-5-21). + * configs/lm3s6965-ek/tcpecho: This configuration builds the simple TCP + echo example based on W.Richard Steven UNIX Programming book to ensure + correct usage of the socket API. Contributed by Max Holtzberg (2013-5-22). + * configs/stm32ldiscovery/src/stm32_lcd.c: Framework for support of the + STM32L-Discovery's segment LCD (2013-5-22). + * fs/fs_poll.c: Poll setup/teardown logic should ignore invalid (i.e., + negative) file descriptors. Max Holtzberg (2013-5-23). + * net/net_poll.c: When readahead data is available, the network poll + logic should set POLLIN (or POLLRDNORM), not POLLOUT. Max Holtzberg + (2013-5-23) + * fs/fs_poll.c: Actually, it should also set revents == 0. (2013-5-23). + * libc/misc/lib_slcdencode.c and lib_slcddecode.c: Add logic to marshal + and serialize special SLCD intermixed with normal ASCII data (2013-5-23) + * configs/stm32ldiscovery/src/stm32_lcd.c: STM32L-Discovery's segment LCD + is code complete but completely untested (2013-5-23). + * include/nuttx/fs/ioctl.h, include/nuttx/lcd/slcd_codec.h, and + configs/stm32ldiscovery/src/stm32_lcd.c: Add SLCD ioctl commands to get + SLCD geometry, set bars, and manage contrast (2013-5-23). + * configs/stm32ldiscovery/src/stm32_usb.c: This file and all references + to USB removed for the STM32L-Discovery. While the chip supports a + USB device, the board does not (2013-5-24). + * arch/arm/src/stm32/stm32_lse.c: Add support for the STM32L CSR register + and for the LSE LCD clock source (2013-5-24). + * The STM32L-Discovery segment LCD is now functional and the README file + includes instructions for adding the apps/examples/slcd segment LCD + test as an NSH "built-in" command (2013-5-24). + * configs/pcblogic-pic32mx: Converted all configurations to use the + kconfig-frontends tool (2013-5-25). + * configs/pcblogic-pic32mx/src: Renamed files using pic32mx_ vs up_ + prefix. Enable building of LCD1602 LCD (2013-5-25). + * configs/pcblogic-pic32mx/src/pic32mx_lcd1602.c: Now uses SLCD CODEC + (2013-5-25) + * configs/stm32ldiscovery/src/stm32_lcd.c: Now supports ioctl to get + cursor position (2013-5-25). + * include/nuttx/lcd/slcd_ioctl.h: Moved ioctls commands and structures + from slcd_codec.h (2013-5-25) + * libc/misc/lib_slcdencode.c and lib_slcddecode.c: Several encoding + and decoding bug fixes (2013-5-26) + * configs/sure-pic32mx: Converted all configurations to use the + kconfig-frontends tools, cleaned up the directory structure and + naming to match some of the more recent configurations, and added + a segment LCD driver for the board. The initial checkin of the + LCD driver is just a clone of configs/pcblogic-pic32mx/src/pic32mx_lcd1602 + and it not yet expected to be functional (2013-5-26). + * include/nuttx/lcd/slcd_ioctl.h and all SLCD drivers: Rename geometry + structure to attributes; Move MAX contrast to attributes. Add + attribute and ioctl commands to get and set LCD brightness (2013-5-27). + * configs/sure-pic32mx/pic32mx_lcd1602.c: This driver appears to + fully functional (at least to the extent that it has been tested) + (2013-5-27). + * arch/mips/src/pic32mx/pic32mx-usbdev.c: Fix NULL packet handling in + the PIC32 USB device driver. Without this fix the CDC/ACM driver + cannot be used reliably with the PIC32 USB. With this change the + configs/sure-pic32mx/usbnsh configuration works great (2013-5-28). + * configs/sure-pic32mx/src/pic32mx_nsh.c: The NSH configurations will + support the USB monitor applications (2013-5-28). + nuttx/arch/arm/include/stm32/chip.h, src/stm32/Kconfig, src/stm32/chip.h, + and src/stm32/chip/stm32f103c_pinmap.h: STM32F103C4 and F103C8 chip + support from Laurent Latil (2013-5-28) + * configs/stm32_tiny: Add support for the STM32 Tiny development board + based on the STM32 F103C8T6 MCU (2013-5-28). + * arch/arm/src/stm32/stm32_usbdev.c: Fix an error in NULL packet + handling: If the NULL-packet needed flag ever gets set, then + it is not cleared and inifinite NULL packets result. This only + effects the CDC/ACM class and was the cause of the failure of + configs/stm32f3discovery/usbnsh configureation which works great + after this change (2013-5-29). + * drivers/usbdev/cdcacm.c and pl2303.c and include/nuttx/usb/cdcacm.h: + Change the default IN request buffer size from 64 to 96. This will + avoid requests of exactly MAXPACKET size and, hence, avoid so many + NULL packets. Also, fix the OUT request buffers size to exactly + the max packet size. It cannot be any other size (2013-5-29). + * .gitignore: Clean-up of most all .gitignore files: Make scope of + ignore to be only the current directory; Ignore .dSYM files in + directories where .exe's may be build. Also, in Makefiles, + clean .dSYM files in directories where .exe may be built (2013-5-30). + * drivers/wireless/nrf24101.c/.h and include/nuttx/wireless/nrf24101.h: + Add new driver for the wireless nRF24L01+ transceiver. From Laurent + Latil (2013-6-1). + * drivers/wireless/cc1101: Move files in the cc1101 up one directory. + From Laurent Latil (2013-6-1). + * configs/stm32_tiny: Fix nRF24L01+ driver integration for the STM32 + Tiny. From Laurent Latil (2013-6-01). + * configs/sam3u-ek: All remaining configurations changed to use + the kconfig-frontends tools (2013-6-2). + * arch/arm/src/sam3u/chip: All SAM3U register definition files moved + to this subdirectory. Naming of registers changed from SAM3U_ to + just SAM_. This is in preparation for a SAM4L port (2013-6-2). + * arch/arm/src/sam3u: Renamed files to sam_* vs. sam3u_*. + Eliminated sam3u_internal.h; instead uses individual header + files for each SAM interface block (2013-6-2). + * arch/arm/src/stm32/stm32f20xxx_rcc.c and stm32f40xxx_rcc.c, and + configs/mikroe-stm32f4/src/up_clockconfig.c. Correct some bad + conditional compilation (CONFIG_ missing from setting name). This + affects some STM32 FLASH pre-fetch settings. From Lorenz Meier + (2013-6-2). + * arch/arm/include/sam34 and arch/arm/src/sam34: The old sam3u/ + directories were renamed sam34/ to make room in the namespace for + the SAM4L (2013-6-2). + * libc/stdio/lib_dprintd.c and lib_vdprintf.c: Add dprintf() and + vdprintf() (the latter from Andrew Tridgell, 2013-6-2). + * sched/sem_holder.c: Modify assertion that is reported to cause + false alarm assertions (2013-6-2). + * arch/arm/include/sam34/sam4l_irq.h and + arch/arm/src/sam34/chip/sam4l_memorymap.h: Add interrupt and memory + map definitions for the AT91SAM4L (2013-6-3). + * arch/arm/src/sam34/chip/sam4l_vectors.h and arm/src/sam34/sam_vectors.S: + Add interrupt vector support for the SAM4L family (2013-6-3). + * arch/include/sam34/chip.h: Add chip definitions for the SAM4L + family (2013-6-3). + * configs/sam4l-xplained: A partial configuration that will (eventually) + support the SAM4L Xplained Pro developement board (2013-6-3). + * arch/arm/src/sam34/chip/sam4l_pinmap.h: Initial cut as SAM4L + pin mapping (2013-6-3). + * arch/arm/src/stm32/stm32*_dma.*: Add a new interface function, + stm32_dmacapable() that can be used to determine if DMA is + possible from the specified memory address. From Petteri Aimonen + (2013-6-4). + * arch/arm/src/stm32/stm32_spi.c: If CONFIG_STM32_DMACAPABLE is + defined, use stm32_dmacapable() to determine if it is possible + to perform DMA from the specified address. This change is + important for the STM32 F4 which may have SPI data buffers + allocated on the stack in CCM memory which cannot support the + DMA. From Petteri Aimonen (2013-6-4). + * nuttx/arch/arm/src/sam34/sam4l_gpio.h: Created GPIO driver + header file for the SAM4L. Also renamed the SAM3U header + file to sam3u_gpio.h (2013-6-4). + * nuttx/arch/arm/src/sam34/sam4l_gpio.c: Created GPIO driver for + the SAM4L (2013-6-4). + * nuttx/configs/sam4l-xplained/src/sam_userleds.c: Added. + (2013-6-4). + * configs/sam4l-xplained/src/sam_userleds.c: Add application + LED interfaces (2013-6-5). + * arch/arm/src/sam34/sam4l_gpio.c and arch/arm/src/sam34/chip/sam4l_gpio.h: + Fix GPIO port address; fix compilation errors (2013-6-5). + * arch/arm/src/sam34/chip/sam4l_flashcalw.h: Add header file + for SAM4L FLASH and PICOCACHE definitions (2013-6-5). + * arch/arm/src/sam34/chip/sam4l_pm.h: Add header file for SAM4L + Power Management. Leveraged from AVR32 (2013-6-5). + * arch/arm/src/sam34/sarm4l_clockconfig.c: SAM4L clock configuration + logic (leveraged from AVR32). + * nuttx/arch/arm/src/sam34/sam4l_periphclks.c/h: Add common + logic to enabled/disable SAM4L peripheral clocking (2013-6-5). + * nuttx/arch/arm/src/sam34/chip/sam4l_bpm.h and sam4l_scif.h: Add + register definitions for the SAM4L BMP and SCIF blocks (2013-6-6). + * nuttx/arch/arm/src/sam34/sam4l_clockconfig.c: Now selects an + optimal power scaling mode (2013-6-6). + * nuttx/arch/arm/src/stm32/stm32_serial.c and nuttx/include/termios.h: + Change for hardware flow control support for STM32. It also fixes + incorrect operation of USART2 and UART5 in current master. Submitted + by Lorenz Meier but includes changes by Mike Smith (2013-6-6). + * nuttx/arch/arm/src/stm32/stm32_otgfshost.c: A backward conditional + prevent detection of disonnection events. Reported by Scott (2013-6-6). + * nuttx/arch/arm/src/sam34/chip/sam4l_bscif.h: Add registers definitions + for the SAM4L BSCIF module (2013-6-6). + * nuttx/arch/arm/src/sam34/sam4l_clockconfig.c and chip/sam4l_wdt.h: + Finally finished the SAM4L clock configuration logic; Added a + WDT register definition header file (2013-6-8). + * nuttx/arch/arm/src/sam34/chip/sam4l_usart.h and sam4l_picouart.h: + Add UART/USART register defintion files for the SAM4L (2013-6-8). + * arm/src/sam34/chip/sam3u_periphclks.h: More macros and definitions + to generalize peripheral clocking and to hide differences between + the SAM3U and the SAM4L (2013-6-8). + * configs/sam4l-xplained/ostest: The SAM4L now passed the OS test + (2013-6-9). + * configs/sam4l-xplained/nsh: Added an NSH configuration for the + SAM4L Xplained Pro board (2013-6-9). + * configs/sam4l-xplained/src/sam_cxxinitialize.c: Added C++ support + to the SAM4L Xplained Pro board configuration (2013-6-9). + * arm/src/sam34/chip/sam_irq.c: Extend IRQ support to handle the + larger number of NVIC interrupts used by the SAM4L (2013-6-9). + * arch/arm/src/sam45/chip: Beginning updates of SAM3U header files + to include support for the SAM4S: WDT, SUPC, EEFC, MATRIX, PMC, + UARTs, USARTs, HSMCI, SPI (2013-6-10). + * arch/arm/src/chip/sam4s_memorymap.h, sam4s_irq.h, and sam4s_vectors.h: + Add SAM4S memory map and interrupt definitions (2013-6-10) + * configs/sam4s-xplained: Add framework for the SAM4S Xplained board. + There is not much there on initial checkin (2013-6-10). + * arch/arm/src/sam34: SAM3S support: GPIO, chip characteristics, + peripheral Kconfig (2013-6-11). + * arch/arm/src/sam34/chip/sam4s_pinmap.h: Add SAM4S pin configuration + definitions (2013-6-11). + * arch/arm/src/sam34/sam4s_periphclks.h: Add macros to manage SAM4S + peripheral clocks (2013-6-11). + * configs/sam4s-xplained: Configuration builds error-free (2013-6-11). + * configs/sam4s-xplained/nsh: Added an NSH configuration for the + SAM4S Xplained board. Both the OS test and the NSH configurations + no execute error-free. Delay loops calibrated for both the SAM4L + and SAM4S boards (2013-6-12). + * Standardize on CONFIG_NSH_BUILTIN_APPS. Remove all other variants + of the build-as-an-NSH-application configuration settings + (2013-6-12). + * arch/arm/src/sam34/sam_periphclks.h: A header file that just + includes the right header file. This cleans up the messy logic + in all of the C files and puts the mess in one place (2013-6-12). + * arch/arm/src/arm*/Toolchain.mk, Kconfig (and lots of configuration + files): Add support for a generic Windows EABI toolchain (2013-6-13). -apps-6.27 2013-04-28 Gregory Nutt <gnutt@nuttx.org> +apps-6.28 2013-06-14 Gregory Nutt <gnutt@nuttx.org> - * apps/system/ramtest: Add a simple memory test (2013-03-26). - * apps/examples/ostest: In the non-cancelable thread test, we need - to give the thread an opportunity to run and to set the non- - cancelable state. - * apps/nshlib/nsh_ddcmd.c: Correct the test of the skip input - parameter. Was limiting the range to <= count. From Ken - Petit (2014-4-24). + * apps/examples/mtdpart: Provides a simple test of MTD partitions. + * apps/nshlib/nsh_mntcmds.c: Add a -h option to the df command to show + the volume information in human readable form (Ken Petit, 2013-4-30). + * apps/nshlib/nsh_fscmds.c: Add support for the mksmartfs command. + (Ken Petit, 2013-4-30). + * apps/system/flash_eraseall: Add an interface to erase FLASH using a + flash_eraseall NSH command (Ken Pettit, 2013-5-1). + * apps/examples/flash_test and apps/examples/smart_test: Add tests of + the SMART block driver and file system (Ken Pettit, 2013-5-1). + * apps/examples/mtdpart: Extended the test. The original test + coverage was superficial (2013-5-3). + * apps/examples/smart: This is an adaptation of the NXFFS stress + test for the SMART file system (Ken Pettit, 2013-5-3). + * apps/examplex/nxtext: Remove the CONFIG_EXAMPLES_NXTEXT_NOGETRUN + option. The test logic was bad for the case where this options + is not selected. Also, complete the empty Kconfig file (2013-5-7). + * apps/NxWidgets/Kconfig: Updated to match NxWidgets/Kconfig by + Ken Pettit (2013-5-11). + * apps/examples/helloxx: C++ name mangling was occurring when this + example is built as an NSH built-in application. (2013-5-16). + * apps/netutils/discover: Added a runtime configuration for the + UDP discover utility. From Max Holtzberg (2013-5-21). + * apps/examples/tcpecho: Added a simple single threaded, poll based + TCP echo server based on W. Richard Stevens UNIX Network Programming + Book. Contributed by Max Holtzberg (2013-5-22). + * apps/examples/slcd: Add an example for testing alphanumeric, + segment LCDs (2013-5-24). + * apps/examples/slcd: Extend SLCD test to handle multi-line displays + (2013-5-26). + * apps/examples/slcd: This test now sets the SLCD brightness level to + the mid-point as part of its initialization (2013-5-27). + * .gitignore: Clean-up of most all .gitignore files: Make scope of + ignore to be only the current directory; Ignore .dSYM files in + directories where .exe's may be build. Also, in Makefiles, + clean .dSYM files in directories where .exe may be built (2013-5-30). + * apps/examples/nrf35l01_term: Add an example application to demo the + nRF24L01 driver. From Laurent Latil (2013-6-1). + * apps/nshlib/Kconfig: Add some missing NSH configuration values. + From Lorenz Meier (2013-6-2). + * Standardize on CONFIG_NSH_BUILTIN_APPS. Remove all other variants + of the build-as-an-NSH-application configuration settings + (2013-6-12). -NxWidgets-1.7 2013-04-28 Gregory Nutt <gnutt@nuttx.org> +NxWidgets-1.8 2013-06-14 Gregory Nutt <gnutt@nuttx.org> - * NxWidgets bitmap_converter.py: Fix bug when image width > 255. From - Petteri Aimonen (2013-4-22). - * NxWM::CScrollbarPanel: Fix spelling error in class name: CScollbarPanel - should be CScrollbarPanel. From Petteri Aimonen (2013-4-22). - * NxWidgets:: CGlyphButton: Generate action event, like CButton does. - From Petteri Aimonen (2013-4-22). - * NxWidgets:: CGlyphButton: Prevent drawing outside of the bitmap size. - From Petteri Aimonen (2013-4-22). - * NxWM::CTaskBar: Add option CONFIG_NXWM_TASKBAR_NO_BORDER to suppress - drawing of the border on the taskbar. From Petteri Aimonen (2013-4-22). - * NxWidgets::CNxTimer: Add function to check if CNxTimer is running. - From Petteri Aimonen (2013-4-22). - * NxWidgets::CNxWidgets: Allow overriding of the checkCollision() method. - From Petteri Aimonen (2013-4-22). + * NxWM::CMediaPlayer: shell application for an MP3 Media Player with + Kconfig settings to enable it. I plan to write this app to help + develop and test the MP3 codec chip driver. It really doesn't do + anything yet except display a text box saying "Coming soon", and I + need to minimize the icon size a bit. From Ken Pettit (2013-5-11). + * NxWidgets/nxwm/src/glyph_mediaplayer.cxx: Smaller version of the + media player glyph. From Ken Pettit (2013-5-12). + * NxWidgets/nxwm/include/ccalibration.hxx and src/ccalibration.cxx: + Fix a race condition that would cause the calibration screen + to fail to come up when its icon was touched (From Ken Pettit, + 2013-5-12). + * Kconfig: Default priorities for NxWidget and NxWM threads + should be 100, not 50, to be consistent with other default priorities. + * NxWidgets::CGlyphSliderHorizontal and NxWidgets::CGlyphSliderHorizontalGrip: + New widgets added by Ken Pettit (2013-5-15). + * NxWidgets/UnitTests/CGlyphSliderHorizontal: Addes a unit test for the + NxWidgets::CGlyphSliderHorizontal class. From Ken Pettit (2013-5-17) . + * NxWidgets::CGlyphSliderHorizontal: Fix a drawing error. From Ken + Pettit (2013-5-17). + * UnitTests/*/Makefile and .gitignore: Update the way that NSH + the Unit Tests are registered as built-in NSH applications (2013-5-30). + * NxWidgets::CImage: Allow a NULL pointer for a bitmap. Add protection + to prevent dereferencing the NULL pointer. From Petteri Aimonen + (2013-6-4). + * NxWidgets::CNumericEdit: Delay before auto-incrementing now varies: + A longer delay is required to start auto-incrementing and speed increases + while pressed. From Petteri Aimonen (2013-6-4). + * NxWM::CTaskbar: Add a method to redraw the taskbar and the current + application. This should only be necessary if the display loses + state due to e.g. powerdown or other manual intervention. From + Petteri Aimonen (2013-6-4). uClibc++-1.0 2011-11-05 <gnutt@nuttx.org> diff --git a/nuttx/ReleaseNotes b/nuttx/ReleaseNotes index 9a7296039..222abe2c2 100644 --- a/nuttx/ReleaseNotes +++ b/nuttx/ReleaseNotes @@ -4250,3 +4250,258 @@ Bugfixes (see the ChangeLog for details). Some of these are very important: - OS test: Fix timing error in non-cancelable thread test. - NSH: Correct the test of the skip input parameter. Was limiting the range to <= count. From Ken Petit. + +NuttX-6.28 +---------- + +The 95th release of NuttX, Version 6.28, was made on June 14, 2013, +and is available for download from the SourceForge website. Note +that release consists of two tarballs: nuttx-6.28.tar.gz and +apps-6.28.tar.gz. Both may be needed (see the top-level nuttx/README.txt +file for build information). + +Additional new features and extended functionality: + + * File Systems: + + - SMART FLASH file system (contributed by Add Ken Pettit). + + * MTD (FLASH) Drivers: + + - Add support of MTD partitions via a new MTD driver that manages a + set of MTD devices, each managing a subset of the FLASH region + managed by the parent MTD driver. + - Extended the MTD interface to provide an (optional) method to + perform byte oriented writes if supported by the FLASH part. + - M25Px driver re-architected to use the byte write capability (when + possible) and to use 4KB sectors for the erase block size when the + part supports it (from Ken Pettit). + + * LCD Drivers: + + - New interface definitions to support audio devices (from Ken Pettit) + and alphanumeric, segment LCDs. + + * Wireless Drivers: + + - Added new driver for the wireless nRF24L01+ transceiver (from + Laurent Latil). + + * Calypso: + + - Added support for the Pirelli DP-L10 phone (from Craig Comstock via + Alan Alan Carvalho de Assis) + + * STM32: + + - Added an option to conditionally disable the "wfi" sleep mode. This + is needed with certain JTAG debuggers to to prevent the debug + session from begin disconnected (from Ken Pettit). + - Added support for the STM32L (STM32L15X/STM32L16x) family. + - Added STM32F103C4 and F103C8 chip support (from Laurent Latil). + - Added a new interface function, stm32_dmacapable() that can be used + to determine if DMA is possible from the specified memory address + (from Petteri Aimonen) + + * STM32 Drivers: + + - If CONFIG_STM32_DMACAPABLE is defined, the STM32 SPI driver now uses + stm32_dmacapable() to determine if it is possible to perform DMA + from the specified address. This change is important for the STM32 + F4 which may have SPI data buffers allocated on the stack in CCM + memory which cannot support the DMA (from Petteri Aimonen). + + * STM32 Boards: + + - Support added for the MikroElektronika Mikromedia for STM32F4 + development board (from Ken Pettit) with the MIO283QT2 LCD and + touchscreen. Several graphics configurations are included. + - The HY-mini STM32v board now uses the common SSD1289 driver + and supported the card detect interrupt. Several new + configurations also added and some removed (from Laurent Latil). + - Support added for the R65105-based LCD that comes with some + HY-Mini STM32v boards (from Christian Faure). + - Added basic support for the STM32L-Discovery board. Drivers + for the on-board segment LCD are included. + - Added support for the STM32 Tiny development board based on the + STM32 F103C8T6 MCU. This includes support for the nRF24L01+ + wireless on the board (from Laurent Latil). + + * Stellaris LM3S/LM4F: + + - Support added for a TI/Stellaris internal FLASH MTD driver (from Max + Holtzberg). + + * Stellaris LM4F Boards: + + - The LM3S6965-EK now has configurations for the UDP discovery tool and + for the TCP echo server (both from Max Holtzberg) + + * Atmel ATSAM3/4: + + - Reorganized, renamed, and updated directory structure to better + support additional members of the SAM3/4 family. + - Added support for both the ATSAM4S and ATSAM4L families. The + ATSAM4S is similar to the ATSAM3U, but the ATSAM4L is quite a + different beast, really much more akin to the AVR32s SoCs but + with a Cortex-M4. + + * Atmel ATSAM3/4 Boards: + + - Added support for the Atmel SAM4L Xplained Pro development board. + This board features the ATSAM4LC4C MCU (Cortex-M4 with 256KB FLASH + + 32KB SRAM). + - Added support for the Atmel SAM4S Xplained developement board. This + board features the ATSAM4S16C MCU (Cortex-M4 with 1MB FLASH + 128KB + SRAM). + + * PIC32MX Boards: + + - Added support for the 1602 segment LCD on-board the Sure PIC32MX + board. This board will now also support a USB NuttX console and + the USB monitor test program. + + * Build System: + + - Clean-up of almost all .gitignore files: Made scope of ignore to be + only the current directory; Ignore .dSYM files in directories where + .exe's may be built. Also, in Makefiles, clean .dSYM files in + directories where an .exe may be built. + - Standardize and consolidated all build-as-an-NSH-application + configuration settings. Now only CONFIG_NSH_BUILTIN_APPS is + sufficient to build an application, test, or or example as an NSH + builtin application. + - Added support for a generic ARM, ARMv6-M and ARMv7-M Windows EABI + toolchains. + + * Libraries: + + - Added encoder/decoder logic to marshal and serialize special segment + LCD (SLCD) commands intermixed with normal ASCII data. This is the + similar to the encoding/decoding logic that is used to marshal + special commands from a keyboard. + - Add dprintf() and vdprintf() (the latter from Andrew Tridgell). + - Add an application that may be built as an NSH builtin command that + will erase FLASH using a flash_eraseall NSH command (from Ken Pettit). + + * Applications: + + - Added an MTD partition test/examples. Currently used with (1) the a + simulation configuration to test MTD partitions on a RAM emulation + of FLASH and (2) with the Mikroe STM32F4 configuration. + - Added a test/example to verify alphanumeric, segment LCDs. + - Added a simple single threaded, poll based TCP echo server based + on W. Richard Stevens UNIX Network Programming Book (from Max + Holtzberg). + - Added several tests of the SMART block driver and file system (from + Ken Pettit). + - Added a runtime configuration for the UDP discover utility (from + Max Holtzberg). + - Added an example application to demo the nRF24L01 driver (from + Laurent Latil). + - New and modified NSH commands: + Added a -h option to the df command to show the volume information + in human readable form (from Ken Petit). + Add a new mksmartfs command (from Ken Petit). + +Efforts In Progress. The following are features that are partially +implemented but present in this release. Most are expected to be fully +available in NuttX 6.28. + + * Audio System: + + - A complete audio subsystem include CODECs, higher level management, + interface definitions, and audio drivers was contributed by Ken + Pettit. This work has not been completely verified as of this + release and so is categorized as a work-in-progress. At present, + progress is blocked due to issues interfacing with the VS1053 + audio DAC on the Mikroe STM32F4 board. + + * kconfig-fronted Configuration: + + - Conversion of old configurations to use the kconfig-frontends + tool is an ongoing effort that will continue for some time. + At this time, only 43% of the configurations have been converted + to use the kconfig-frontends tools. + +Bugfixes (see the ChangeLog for details). Some of these are very important: + + * Tasking: + + - Modify assertion in the priority inheritance logic that is reported + to cause false alarm assertions. + + * Kernel Build: + + - Typo in syscall proxying logic corrected by Ken Pettit. + + * Networking: + + - Poll setup/teardown logic should ignore invalid (i.e., negative) + file descriptors (from Max Holtzberg). + - When readahead data is available, the network poll() logic should + set POLLIN (or POLLRDNORM), not POLLOUT (from Max Holtzberg). + + * LCD Drivers: + + - Correct power controls in the MIO283QT2 LCD driver. + + * USB Device Controller Drivers: + + - Change the default IN request buffer size from 64 to 96. This will + avoid requests of exactly MAXPACKET size and, hence, avoid so many + NULL packets. Also, fix the OUT request buffers size to exactly the + max packet size. It really cannot be any other size. + + * STM32 Drivers: + + - Correct some bad STM32 F1 DMA definitions that crept into the system + a few months ago a broke STM32 F1 DMA (from Laurent Latil) + - Fixed an error in NULL packet handling in the STM32 F1 USB device + controller driver: If the NULL-packet needed flag ever got set, + then it was not being cleared and infinite NULL packets resulted. + This only affects the CDC/ACM class and was the cause of the + failures using the USB CDC/ACM device as a NuttX console. With this + change the USB works well as an alternative NuttX console device for + the STM32 F1 family. + - Correct some bad condition compilation in the RCC logic (CONFIG_ + missing from setting names). This affects some STM32 FLASH pre- + fetch settings (from Lorenz Meier). + - Change for hardware flow control support for STM32. The change also + fixes incorrect operation of USART2 and UART5 in current master + (from Lorenz Meier and Mike Smith). + - Fixed a backward conditional in USB OTG FS host controller driver + that prevented detection of disconnection events (from Scott). + + * LPC17xx Drivers: + + - I2C interrupt control. Also correction for a single byte read + timeout error (from M. Kannan). + + * Freescale Kinetis: + + - Freedom KL25Z pin multiplexing and LED control corrections (from + Alan Carvalho de Assis) + + * PIC32MX: + + - Fix NULL packet handling in the PIC32 USB device driver. Without + this fix the CDC/ACM driver cannot be used reliably with the PIC32 + USB. With this change the USB works well as an alternative NuttX + console device. + + * Graphics: + + - Default priorities for NxWidget and NxWM threads should be 100, + not 50, to be consistent with other default priorities. + + * Applications: + + - Remove the CONFIG_EXAMPLES_NXTEXT_NOGETRUN option from the NXTEXT + example. The test logic was bad for the case where this options is + not selected. Also, completed the empty Kconfig file. + - C++ name mangling was occurring when this example is built as an NSH + built-in application causing the entry to be undefined when called + from C code. + - Add some missing NSH library configuration values (from Lorenz + Meier). diff --git a/nuttx/TODO b/nuttx/TODO index b418f2400..e59103d7f 100644 --- a/nuttx/TODO +++ b/nuttx/TODO @@ -2,7 +2,9 @@ NuttX TODO List (Last updated May 29, 2013) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This file summarizes known NuttX bugs, limitations, inconsistencies with -standards, things that could be improved, and ideas for enhancements. +standards, things that could be improved, and ideas for enhancements. See +also individual README.txt files in the configs/ sub-directories for each +board port. nuttx/ diff --git a/nuttx/configs/compal_e88/README.txt b/nuttx/configs/compal_e88/README.txt index 05f943100..4b2ee45d2 100644 --- a/nuttx/configs/compal_e88/README.txt +++ b/nuttx/configs/compal_e88/README.txt @@ -7,8 +7,8 @@ This port is based on patches contributed by Denis Carikli for both the compal e99 and e88. At the time of initial check-in, the following phones were tested: -* motorolla c155 (compal e99) with the compalram and highram configuration -* motorolla W220 (compal e88) +* Motorola c155 (compal e99) with the compalram and highram configuration +* Motorola W220 (compal e88) * The openmoko freerunner baseband(compal e88) The patches were made by Alan Carvalho de Assis and Denis Carikli using diff --git a/nuttx/configs/compal_e99/README.txt b/nuttx/configs/compal_e99/README.txt index e35e1234a..5e504ebae 100644 --- a/nuttx/configs/compal_e99/README.txt +++ b/nuttx/configs/compal_e99/README.txt @@ -7,8 +7,8 @@ This port is based on patches contributed by Denis Carikli for both the compal e99 and e88. At the time of initial check-in, the following phones were tested: -* motorolla c155 (compal e99) with the compalram and highram configuration -* motorolla W220 (compal e88) +* Motorola c155 (compal e99) with the compalram and highram configuration +* Motorola W220 (compal e88) * The openmoko freerunner baseband(compal e88) The patches were made by Alan Carvalho de Assis and Denis Carikli using diff --git a/nuttx/configs/sam4s-xplained/README.txt b/nuttx/configs/sam4s-xplained/README.txt index 0c6b46566..edc7c753c 100644 --- a/nuttx/configs/sam4s-xplained/README.txt +++ b/nuttx/configs/sam4s-xplained/README.txt @@ -2,7 +2,7 @@ README ^^^^^^ This README discusses issues unique to NuttX configurations for the - Atmel SAM4S Xplained development board. This board features the + Atmel SAM4S Xplained development board. This board features the ATSAM4S16C MCU with 1MB FLASH and 128KB. The SAM4S Xplained features: |