diff --git a/apps/ChangeLog.txt b/apps/ChangeLog.txt
index 5d855c3796..1ca261df6d 100755
--- a/apps/ChangeLog.txt
+++ b/apps/ChangeLog.txt
@@ -158,25 +158,25 @@
* apps/examples/pwm: Add support to test the pulse count option recently
added to the PWM interface.
-6.15 2012-xx-xx Gregory Nutt Last Updated: February 9, 2012 Last Updated: February 12, 2012
@@ -346,6 +346,13 @@
NuttX RTOS
-
+
System logging. +
+-
- The 81st release of NuttX, Version 6.14, was made on January 15, 2012, and is available for download from the
+ The 82nd release of NuttX, Version 6.15, was made on February 12, 2012, and is available for download from the
SourceForge website.
- Note that the release consists of two tarballs: nuttx-6.14.tar.gz and apps-6.14.tar.gz.
+ Note that the release consists of two tarballs: nuttx-6.15.tar.gz and apps-6.15.tar.gz.
Both may be needed (see the top-level nuttx/README.txt file for build information)
The change log associated with the release is available here.
Unreleased changes after this release are available in SVN.
These unreleased changes are also listed here.
- New features in this release include: + New or extended features in this release include:
+ Added a new RAM logging driver.
+ This will allow debug output into a RAM buffer associated with a character driver at /dev/syslog.
+ Added the new command dmesg to NSH that can be used to dump the current contents of the log.
+ This is useful for systems that do not have the usual serial console (for example, if you only have a Telnet console with NSH).
+
+ A New Telnet daemon was created.
+ It wraps a Telnet session within a character driver that can serve as a "controlling terminal."
+ The Telnet session will then be inherited by tasks created from the Telnet session and the stdin/stdout from the created task will still go through the same Telnet connection.
+
on_exit().
+ Implemented tcsetattr() and tcgetattr().
+ Moved the old, too-smart fgets() to a new application library function called readline().
+ Dumbed down the original fgets().
+ Add strcasestr(), avsprintf(), inet_ntop(), and inet_pton().
+ Add support to enable or disable debug output.
arch/*/src/board directory (from Mike Smith).
Bugfixes include:
PTHREAD_MUTEX_INITIALIZER.
statfs() reported by David Sidrane.
- See the ChangeLog for details. + See the ChangeLog for additional, detailed changes.
| - Unreleased Changes - | -
-nuttx-6.15 2012-xx-xx Gregory Nutt <gnutt@nuttx.org>
-
* arch/arm/src/stm32/stm32_pwm.c: Pulse count was limited to 128; now is
(essentially) unlimited.
- * configs/stm3240g-eval/include/board.h: Input frequences wrong for all but
+ * configs/stm3240g-eval/include/board.h: Input frequencies wrong for all but
one APB2 timer.
* arch/mips/src/pic32mx/pic32mx-ethernet.c: The PIC32 Ethernet driver is
code complete, but still untested.
@@ -2875,7 +2778,7 @@ nuttx-6.15 2012-xx-xx Gregory Nutt <gnutt@nuttx.org>
* include/power/battery.h and drivers/battery.c: Add the interface definitions
for an upper and lower half battery driver. Add the implementation of the
common upper half battery driver.
- * drivers/power/max1704x.c: Add a driver for MAX17040x battery "fuel guage"
+ * drivers/power/max1704x.c: Add a driver for MAX17040x battery "fuel gauge"
* arch/arm/src/stm32/stm32_i2c.c: Add support for I2C3
* drivers/usbdev/: Lots of name changes: cdc_serial->cdcacm, usbstrg->usbmsc,
usbser->pl2303
@@ -2918,7 +2821,7 @@ nuttx-6.15 2012-xx-xx Gregory Nutt <gnutt@nuttx.org>
David Hewson many, many months ago.
* configs/mcu123-lpc214x/composite and configs/mcu123-lpc214x/src/up_composite.c:
Add a configuration to test the USB composite device.
- * configs/stm3240g-eval/telnetd: Add a configuration for testing the
+ * configs/stm3240g-eval/Telnetd: Add a configuration for testing the
Telnet daemon.
* configs/stm3240g-eval/nsh2: This is another NSH configuration. It differs
from the original nsh configuration because it does not have an RS-232
@@ -2930,36 +2833,91 @@ nuttx-6.15 2012-xx-xx Gregory Nutt <gnutt@nuttx.org>
* lib/net/lib_inetntop.c: Add inet_ntop().
* lib/net/lib_inetpton.c: Add inet_pton().
* include/pthread.h: Correct PTHREAD_MUTEX_INITIALIZER.
- * fs/fat/fs_fatfs.c: Fix and error in the FAT statfs() implementation that
+ * fs/fat/fs_fatfs.c: Fix an error in the FAT statfs() implementation that
was causing some block counts to be reported incorrectly (reported by
David Sidrane).
+ * drivers/ramlog.c: Add a character driver that can substitute
+ for /dev/console and or be used for logging debug output when there
+ is no serial port available (such as when a Telnet console is used).
+ * lib/stdio/lib_syslogstream: Add a stream object that will be used to
+ re-direct all debug output to the RAM log if CONFIG_SYSLOG and
+ CONFIG_RAMLOG_SYSLOG are defined.
+ * lib/misc/lib_dbg.c: Add an interface enabled with CONFIG_DEBUG_ENABLE that
+ can be used to turn debug output on and off.
-apps-6.15 2012-xx-xx Gregory Nutt <gnutt@nuttx.org>
+apps-6.16 2012-02-12 Gregory Nutt <gnutt@nuttx.org>
* apps/nshlib/nsh_serial.c and nsh_usbdev.c: If NuttX is configured to use
a USB serial console, then NSH needs to wait until the USB console is
connected and available.
* apps/examples/composite: Add a test of the USB composite device.
- * apps/examples/telnetd: Move the tiny uIP shell example from
- netutils/telnetd to examples/telnetd. Enhanced the telnetd daemon so that
- it supports telnetd via a TTY device driver: A new TTY device driver is
- created when each new telnet connection is created. The shell thread
- is started with stdin, stdout, and stderror mapped to the TTY device.
- * netutils/telnetd: The old uIP telnet demo is gone. In its place is a new
- telnet infrastructure. The new telnet daemon creates sessions that are
+ * apps/examples/Telnetd: Move the tiny uIP shell example from
+ netutils/Telnetd to examples/Telnetd. Enhanced the Telnetd daemon so that
+ it supports Telnetd via a TTY device driver: A new TTY device driver is
+ created when each new Telnet connection is created. The shell thread
+ is started with stdin, stdout, and stderr mapped to the TTY device.
+ * netutils/Telnetd: The old uIP Telnet demo is gone. In its place is a new
+ Telnet infrastructure. The new Telnet daemon creates sessions that are
"wrapped" as character devices and mapped to stdin, stdout, and stderr.
- Now the telnet session can be inherited by spawned tasks.
- * examples/telnetd: Add a test for the new telnet daemon.
- * examples/telnetd/telnetd_driver.c: Move the internal socket structure from
+ Now the Telnet session can be inherited by spawned tasks.
+ * examples/Telnetd: Add a test for the new Telnet daemon.
+ * examples/Telnetd/telnetd_driver.c: Move the internal socket structure from
the daemon's socket array into the driver's state data so that it will be
- independent from the the telnetd daemon.
+ independent from the the Telnetd daemon.
* apps/system/readline: Moved the old nuttx/lib/stdio/lib_fgets.c here
and renamed it as readline(). The old fgets was simplied and the overloaded
readline functionality was removed.
* apps/netutils/ftpd: Add an FTPD server (does not even compile on initial
checkin).
* apps/examples/ftpd: Add a test for the FTPD server (untest on initial
- check-in).pascal-3.1 2012-xx-xx Gregory Nutt <gnutt@nuttx.org>
+ check-in).
+ * apps/nshlib/nsh_fscmds.c: Add support for a 'dmesg' command that will
+ dump the system log if CONFIG_SYSLOG is selected.
+
+pascal-1.0 2011-05-15 Gregory Nutt <gnutt@nuttx.org>
+
+ * nuttx/: The Pascal add-on module now installs and builds under the
+ apps/interpreters directory. This means that the pascal-2.1 module is
+ incompatible with will all releases of NuttX prior to nuttx-6.0 where the
+ apps/ module was introduced.
+
+buildroot-1.10 2011-05-06 <gnutt@nuttx.org>
+
+ * Add patch submitted by Dimiter Georgiev to work around problems in building
+ GDB 6.8 with versions of Cygwin > 1.7.
+ * configs/i486-defconfig-4.3.3 - Builds an i486 cross development toolchain
+ using gcc 4.3.3. Why wouldyou want such a thing? On Linux, of course,
+ such a thing is not needed because you can use the installed GCC to build
+ i486 ELF binaries. But that will not work under Cygwin! The Cygwin
+ toolchain (and probably MinGW), build DOS MZ format executables (i.e.,
+ .exe files). That is probably not usable for most NuttX targets.
+ Instead, you should use this i486-elf-gcc to generate true ELF binaries
+ under Cygwin.
+ * Makefile - Alter copy arguments to avoid permissions problems when
+ copying NuttX header files.
+ * toolchain/nxflat/nxflat.mk and Makefile - Fix include paths.
+ * toolchain/gcc/3.3.6 - Added a patch to fixed compilation error on Ubuntu
+ 9.10.
+ * toolchain/nxflat/Makefile - Correct static library link order.
+ * configs/arm920t-defconfig-4.3.3 - Enable support for NXFLAT tools.
+ * toolchain/binutils/2.21 and toolchain/gcc/4.5.2 - Add support for GCC
+ 4.5.2 with binutils 2.21.
+ * configs/arm920t-eabi-defconfig-4.5.2 - Add a configuration to build a
+ GCC 4.5.2 EABI ARM toolchain for the ARM920t.
+
+
+| + Unreleased Changes + | +
+nuttx-6.16 2012-xx-xx Gregory Nutt <gnutt@nuttx.org>
+
+apps-6.16 2012-xx-xx Gregory Nutt <gnutt@nuttx.org>
buildroot-1.11 2012-xx-xx <gnutt@nuttx.org>
diff --git a/nuttx/ReleaseNotes b/nuttx/ReleaseNotes
index 2cb5424418..80c40aa039 100644
--- a/nuttx/ReleaseNotes
+++ b/nuttx/ReleaseNotes
@@ -1304,7 +1304,7 @@ port, some new drivers and some important bugfixes:
* NuttX was ported to the Luminary/TI LM3S6965 Ethernet Evaluation
Kit. At present, that port includes an OS test configuration
- and a NuttShell (NSH) configuration with telnet support.
+ and a NuttShell (NSH) configuration with Telnet support.
MMC/SD and Networking support are provided but not thoroughly
verified in this release: Current development efforts are focused
@@ -2463,7 +2463,7 @@ And several others. See the ChangeLog for more details.
NuttX-6.14
^^^^^^^^^^
-The 81st release of NuttX, Version 6.11, was made on January 15, 2012,
+The 81st release of NuttX, Version 6.14, was made on January 15, 2012,
and is available for download from the SourceForge website. Note
that release consists of two tarballs: nuttx-6.14.tar.gz and
apps-6.14.tar.gz. Both may be needed (see the top-level nuttx/README.txt
@@ -2522,3 +2522,77 @@ Bugfixes include:
And several others. See the ChangeLog for more details.
+NuttX-6.15
+^^^^^^^^^^
+
+The 82nd release of NuttX, Version 6.15, was made on February 12, 2012,
+and is available for download from the SourceForge website. Note
+that release consists of two tarballs: nuttx-6.15.tar.gz and
+apps-6.15.tar.gz. Both may be needed (see the top-level nuttx/README.txt
+file for build information).
+
+New features and extended functionality:
+
+ * General Drivers: Add support for (29-bit) extended CAN IDs. Add an
+ infrastructure to support battery drivers. Add a driver for MAX17040x
+ battery "fuel gauge". Add support for Composite USB drivers (in
+ particular for a CDC/ACM with MSC USB composite driver).
+
+ Added a new RAM logging driver. This will allow debug output into
+ a RAM buffer associated with a character driver at /dev/syslog.
+ Added the new command 'dmesg' to NSH that can be used to dump the
+ current contents of the log. This is useful for systems that do not
+ have the usual serial console (for example, if you only have a
+ Telnet console with NSH).
+
+ * Networking: Add a lower level, primitive socket interface. Telnet
+ driver:
+
+ A New Telnet daemon was created. It wraps a Telnet session within a
+ character driver that can serve as a "controlling terminal." The
+ Telnet session will then be inherited by tasks created from the
+ Telnet session and the stdin/stdout from the created task will
+ still go through the same Telnet connection.
+
+ * STM32 Drivers. PWM driver pulse count was limited to 128; now is
+ (essentially) unlimited. Add support for (29-bit) extended CAN IDs.
+ Add support for I2C3. The SDIO driver is (mostly) verified on the
+ STM32 F4 platforms.
+
+ * LPC17xx Drivers. Extended the CAN driver so that the TSEG1 and TSEG2
+ bit times can be set via the NuttX configuration. Add support for
+ (29-bit) extended CAN IDs.
+
+ * PIC32 Drivers. The PIC32 Ethernet driver is code complete (but still
+ untested).
+
+ * FTPD. Add a new FTP server daemon. This is based loosely on
+ the hwport_ftpd library provided by Jaehyuk Cho.
+
+ * Library: Add support for on_exit(). Implemented tcsetattr() and
+ tcgetattr(). Moved the old, too-smart fgets() to a new application
+ library function called readline(). Dumbed down the original fgets().
+ Add strcasestr(), avsprintf(), inet_ntop(), and inet_pton().
+ Add support to enable or disable debug output.
+
+ * Build system: Support for building a 32-bit simulation executable on
+ a 64-bit Linux machine. Correct a dependency issue in the arch/*/src/board
+ directory.
+
+Bugfixes:
+
+ * System: Correct PTHREAD_MUTEX_INITIALIZER
+
+ * FAT: Fix an error in the FAT statfs() reported by David Sidrane.
+
+ * STM32: Fix clock frequencies for APB2 timers. Correct AFIO register
+ offset.
+
+ * PIC32. Correct GPIOs used for LEDs on the Sure PIC32MX board.
+
+ * NSH. Wait for a USB connection if a USB serial class is used to
+ interface with the host.
+
+Additional bugfixes, name changes, and other differences as detailed in the
+ChangeLog.
+
diff --git a/nuttx/TODO b/nuttx/TODO
index 8b66c49755..53eb7b02ab 100644
--- a/nuttx/TODO
+++ b/nuttx/TODO
@@ -605,15 +605,12 @@ o File system / Generic drivers (fs/, drivers/)
Status: Open
Priority: Medium-Low
- Title: CONFIG_RAMLOG_CONSOLE/SYSLOG DOES NOT WORK
+ Title: CONFIG_RAMLOG_CONSOLE DOES NOT WORK
Description: When I enable CONFIG_RAMLOG_CONSOLE, the system does not come up
- property (using configuration stm3240g-eval/nsh2). Apparently the
- RAM logging console is non-functional(and difficult to debug with
- no console). If I enabled CONFIG_RAMLOG_SYSLOG, the system comes
- up, but If I enable CONFIG_DEBUG, it again hangs. Apparently any
- kind of early output is fatal.
+ propertly (using configuration stm3240g-eval/nsh2). The problem
+ may be an assertion that is occuring before we have a console.
Status: Open
- Priority: Medium/high
+ Priority: Medium
o Graphics subystem (graphics/)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^