From 1879b3f0f3c276bcd65b26b3d3600ddf1cd5334f Mon Sep 17 00:00:00 2001 From: patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> Date: Sun, 11 Apr 2010 19:44:36 +0000 Subject: [PATCH] Prep for 5.3 release git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2589 42af7a65-404d-4744-a932-0658087f49c3 --- ChangeLog | 13 ++-- Documentation/NuttX.html | 112 ++++++++++++++++++--------- Documentation/README.html | 6 +- README.txt | 4 + ReleaseNotes | 21 +++++ configs/olimex-lpc2378/src/up_leds.c | 27 ++++--- 6 files changed, 126 insertions(+), 57 deletions(-) diff --git a/ChangeLog b/ChangeLog index b93a999c84..bcc923a2c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -42,7 +42,7 @@ Can't do this; the caller must be able to wait for access to memory. * Fixed bugs associated with debug output: - Cannot do dbg() in middle of context switch logic. + Cannot do dbg() in middle of context switch logic. because it may require use of semaphores and cause additional context switches. lldbg() is safe. * Interrupt must be disabled throughout all context switches. @@ -51,8 +51,8 @@ serial.h defines the interface. * Fixed mq_receive() and mq_send() -- bad memcpy() * Fixed C5471 signal deliver logic: use of dbg() and - other actions by use signal handler can alter errno. - need to protect errno during signal handling. + other actions by use signal handler can alter errno. + need to protect errno during signal handling. * Fixed uninitialized variable in filesystem that could cause various problems * Added a test for roundrobin scheduler. @@ -1068,7 +1068,7 @@ * configs/ea3131/nsh - Added a NuttShell (NSH) configuration for the EA3131. -5.3 2010-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> +5.3 2010-04-11 Gregory Nutt <spudmonkey@racsa.co.cr> * arch/arm/src/lpc313x/lpc313x_usbdev.c - USB driver for the LPC313x contributed by David Hewson. @@ -1078,9 +1078,8 @@ * Several important compilation error fixes in lpc313x and (dualspeed) USB code also contributed by David Hewson. * arch/arm/src/sam3u/sam3u_dmac.c - DMA support for the AT90SAM3U. - (untested on initial checkin). * arch/arm/src/sam3u/sam3u_hsmci.c - SD memory card support for AT90SAM3U - (incomplete on initial checkin). + (Neither the DMA nor the HSMCI driver are functional on the initial checkin). * drivers/usbdev - Several important fixes to the USB mass storage driver submitted by David Hewson. * configs/olimex-lpc2378, arch/arm/include/lpc2378, and arch/arm/src/lpc2378 - @@ -1089,3 +1088,5 @@ * arch/arm/src/sam3u/sam3u_internal.h - Fixed a critical bug in the AT91SAM3U PIO decoding. No PIOs greater than 15 could be used on any port! Obviously, no one has been using this port. + +5.4 2010-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> diff --git a/Documentation/NuttX.html b/Documentation/NuttX.html index 203ae6e888..8dd0eaa498 100644 --- a/Documentation/NuttX.html +++ b/Documentation/NuttX.html @@ -729,31 +729,37 @@ </tr> </table> -<p><b>nuttx-5.2 Release Notes</b>: +<p><b>nuttx-5.3 Release Notes</b>: <p> - This 49<sup>th</sup> release of NuttX was made on March 18, 2010 and is available for download from the + This 50<sup>th</sup> release of NuttX was made on April 11, 2010 and is available for download from the <a href="http://sourceforge.net/project/showfiles.php?group_id=189573">SourceForge</a> website. The change log associated with the release is available <a href="#currentrelease">here</a>. Unreleased changes after this release are available in CVS. These unreleased changes are listed <a href="#pendingchanges">here</a>. </p> <p> - This release completes the verification of the basic port for the NXP - <a href="http://ics.nxp.com/products/lpc3000/lpc313x.lpc314x.lpc315x/">LPC3131</a> MCU - on the <a href="http://www.embeddedartists.com/products/kits/lpc3131_kit.php">Embedded Artists EA3131</a> board. - This basic port includes basic boot-up, serial console, and timer interrupts. This port - has been verified on the using the NuttX OS test and includes a working - implementation of the NuttShell (NSH). + This release suport for one new achitecture: </p> +<ul> + <li>A basic port for the NXP LPC2378 MCU on the Olimex-LPC2378 development board was contributed by Rommel Marcelo.</li> +</ul> <p> - An extended release will follow and should include SDIO-based SD card - support and device USB. + And extensions to two existing architures: </p> +<ul> + <li>David Hewson contributed a dual-speed (full/high) USB device-side driver + for the NXP LPC3131 on the Embedded Artists EA3131 development board.</li> + <li>A DMA driver and a high speed MCI driver for the Atmel AT91SAM3U are + included (but not fully tested in this release).</li> +</ul> <p> - A few additional features and bugfixes of a minor nature were also incorporated - as detailed in the <a href="#currentrelease">ChangeLog</a>. + Two important bugfix was also included: </p> +<ul> + <li>An important fix to the USB mass storage driver was contributed by David Hewson.</li> + <li>A serious error in the AT91SAM3U PIO handling was fixed.</li> +</ul> <table width ="100%"> <tr bgcolor="#e4e4e4"> @@ -845,6 +851,34 @@ <td><br></td> <td><hr></td> </tr> +<tr> + <td><br></td> + <td> + <p> + <b>NXP LPC2378</b>. + Support is provided for the NXP LPC2378 MCU. In particular, + support is provided for the Olimex-LPC2378 development board. + This port was contributed by Rommel Marcelo is was first released in NuttX-5.3. + This port also used the GNU arm-elf toolchain* under Linux or Cygwin. + </p> + <ul> + <p> + <b>STATUS:</b> + This port boots and passes the OS test (examples/ostest) and includes a + working includes a working implementation of the NuttShell (<a href="NuttShell.html">(NSH)</a>). + The port is complete and verified. + As of NuttX 5.3, the port includes only basic timer interrupts and serial console support. + </p> + <p> + <b>Development Environments:</b> (Same as for the NXP LPC214x). + </p> + </ul> + </td> +</tr> +<tr> + <td><br></td> + <td><hr></td> +</tr> <tr> <td><br></td> <td> @@ -934,8 +968,8 @@ <td><br></td> <td> <b>NXP <a href="http://ics.nxp.com/products/lpc3000/lpc313x.lpc314x.lpc315x/">LPC3131</a></b>. - The basic port for the NXP LPC3131 on the <a href="http://www.embeddedartists.com/products/kits/lpc3131_kit.php">Embedded Artists EA3131</a> - development board was released in NuttX-5.1 with a GNU arm-elf or arm-eabi toolchain* under Linux or Cygwin + The port for the NXP LPC3131 on the <a href="http://www.embeddedartists.com/products/kits/lpc3131_kit.php">Embedded Artists EA3131</a> + development board was first released in NuttX-5.1 with a GNU arm-elf or arm-eabi toolchain* under Linux or Cygwin (but was not functional until NuttX-5.2). </p> <ul> @@ -943,10 +977,10 @@ <b>STATUS:</b> The basic EA3131 port is complete and verified in NuttX-5.2 This basic port includes basic boot-up, serial console, and timer interrupts. - This port has been verified on the using the NuttX OS test and includes a working - implementation of the NuttShell (NSH). - An extended release will follow and should include SDIO-based SD card - support and device USB. + This port was extended in NuttX 5.3 with a USB high speed driver contributed by David Hewson. + This port has been verified on the using the NuttX OS test, USB serial and mass storage + tests and includes a working implementation of the NuttShell (<a href="NuttShell.html">(NSH)</a>). + An extended release will follow and should include SDIO-based SD card support. </p> </ul> </td> @@ -1606,21 +1640,26 @@ Other memory: </table> <ul><pre> -nuttx-5.2 2010-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> - - * arch/arm/src/sam3u/sam3u_pio.c - Fix an address calculation error - that caused ports B & C to get mapped to the PIOA base address. - This is an important bugfix! (a patch is available) - * arch/arm/src/lpc313x/lpc313x_boot.c - Fix an error in the vector - initialization was causing a memory fault. - * lib/lib_strtod.c - Add strtod() - * lpc3131/ea3131 - Several bring fixes submitted by David Hewson. The - lpc3131 is almost there! Thanks David! - * arch/arm/src/arm/up_head.S - Corrected backward conditional compilation - that selects if vectors are located at 0x0000:0000 or 0xffff:f000. - This fixes the last show stopper bug in the lpc313x bring-up. - * configs/ea3131/nsh - Added a NuttShell (NSH) configuration for the - EA3131. +nuttx-5.3 2010-04-11 Gregory Nutt <spudmonkey@racsa.co.cr> + + * arch/arm/src/lpc313x/lpc313x_usbdev.c - USB driver for the LPC313x + contributed by David Hewson. + * configs/ea3131/src/up_ubstrgc.c, configs/ea3131/usbserial, + configs/ea3131/usbstorage - USB storage and USB serial example support + contributed by David Hewson. + * Several important compilation error fixes in lpc313x and (dualspeed) USB + code also contributed by David Hewson. + * arch/arm/src/sam3u/sam3u_dmac.c - DMA support for the AT90SAM3U. + * arch/arm/src/sam3u/sam3u_hsmci.c - SD memory card support for AT90SAM3U + (Neither the DMA nor the HSMCI driver are functional on the initial checkin). + * drivers/usbdev - Several important fixes to the USB mass storage driver + submitted by David Hewson. + * configs/olimex-lpc2378, arch/arm/include/lpc2378, and arch/arm/src/lpc2378 - + Basic port of the NXP 2378 on the Olimex board contributed by + Rommel Marcelo. + * arch/arm/src/sam3u/sam3u_internal.h - Fixed a critical bug in the AT91SAM3U + PIO decoding. No PIOs greater than 15 could be used on any port! Obviously, + no one has been using this port. pascal-2.0 2010-12-21 Gregory Nutt <spudmonkey@racsa.co.cr> @@ -1650,7 +1689,7 @@ buildroot-1.8 2009-12-21 <spudmonkey@racsa.co.cr> </table> <ul><pre> -nuttx-5.3 2010-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> +nuttx-5.3 2010-04-11 Gregory Nutt <spudmonkey@racsa.co.cr> * arch/arm/src/lpc313x/lpc313x_usbdev.c - USB driver for the LPC313x contributed by David Hewson. @@ -1660,9 +1699,8 @@ nuttx-5.3 2010-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> * Several important compilation error fixes in lpc313x and (dualspeed) USB code also contributed by David Hewson. * arch/arm/src/sam3u/sam3u_dmac.c - DMA support for the AT90SAM3U. - (untested on initial checkin). * arch/arm/src/sam3u/sam3u_hsmci.c - SD memory card support for AT90SAM3U - (incomplete on initial checkin). + (Neither the DMA nor the HSMCI driver are functional on the initial checkin). * drivers/usbdev - Several important fixes to the USB mass storage driver submitted by David Hewson. * configs/olimex-lpc2378, arch/arm/include/lpc2378, and arch/arm/src/lpc2378 - @@ -1672,6 +1710,8 @@ nuttx-5.3 2010-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> PIO decoding. No PIOs greater than 15 could be used on any port! Obviously, no one has been using this port. +nuttx-5.3 2010-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> + pascal-2.1 2010-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> buildroot-1.9 2010-xx-xx <spudmonkey@racsa.co.cr> diff --git a/Documentation/README.html b/Documentation/README.html index 20df92f9cf..686ed824b4 100755 --- a/Documentation/README.html +++ b/Documentation/README.html @@ -9,7 +9,7 @@ <tr align="center" bgcolor="#e4e4e4"> <td> <h1><big><font color="#3c34ec"><i>NuttX README Files</i></font></big></h1> - <p>Last Updated: January 21, 2009</p> + <p>Last Updated: Aprill 11, 2009</p> </td> </tr> </table> @@ -86,6 +86,10 @@ | | |- <a href="configs/olimex-strp711/include/README.txt">include/README.txt</a> | | |- <a href="configs/olimex-strp711/src/README.txt">src/README.txt</a> | | `- <a href="configs/olimex-strp711/README.txt"><b><i>README.txt</i></b></a> + | |- olimex-lpc2378/ + | | |- <a href="configs/olimex-lpc2378/include/README.txt">include/README.txt</a> + | | |- <a href="configs/olimex-lpc2378/src/README.txt">src/README.txt</a> + | | `- <a href="configs/olimex-lpc2378/README.txt"><b><i>README.txt</i></b></a> | |- pjrc-8051/ | | |- <a href="configs/pjrc-8051/include/README.txt">include/README.txt</a> | | |- <a href="configs/pjrc-8051/src/README.txt">src/README.txt</a> diff --git a/README.txt b/README.txt index 50239a89c4..3222bad923 100755 --- a/README.txt +++ b/README.txt @@ -177,6 +177,10 @@ Below is a guide to the available README files in the NuttX source tree: | | |- include/README.txt | | |- src/README.txt | | `- README.txt + | |- olimex-lpc2378/ + | | |- include/README.txt + | | |- src/README.txt + | | `- README.txt | |- pjrc-8051/ | | |- include/README.txt | | |- src/README.txt diff --git a/ReleaseNotes b/ReleaseNotes index 1b676103fd..0b329f1012 100644 --- a/ReleaseNotes +++ b/ReleaseNotes @@ -1178,3 +1178,24 @@ implementation of the NuttShell (NSH). An extended release will follow and should include SDIO-based SD card support and device USB. + +nuttx-5.3 +^^^^^^^^^ + +This is the 50th release of NuttX. This release suport for one new achitecture: + + * A basic port for the NXP LPC2378 MCU on the Olimex-LPC2378 development board + was contributed by Rommel Marcelo. + +And extensions to two existing architures: + + * David Hewson contributed a dual-speed (full/high) USB device-side driver + for the NXP LPC3131 on the Embedded Artists EA3131 development board. + * A DMA driver and a high speed MCI driver for the Atmel AT91SAM3U are + included (but not fully tested in this release). + +Two important bugfix was also included: + + * An important fix to the USB mass storage driver was contributed by + David Hewson. + * A serious error in the AT91SAM3U PIO handling was fixed. diff --git a/configs/olimex-lpc2378/src/up_leds.c b/configs/olimex-lpc2378/src/up_leds.c index feaaf44555..e360eb5cd1 100755 --- a/configs/olimex-lpc2378/src/up_leds.c +++ b/configs/olimex-lpc2378/src/up_leds.c @@ -48,11 +48,12 @@ #include "chip.h" #include "up_arch.h" #include "up_internal.h" -//~ #define LPC23XX_FIO_BASE 0x3fffc000 /* Fast I/O 0 base address */ +//~ #define LPC23XX_FIO_BASE 0x3fffc000 /* Fast I/O 0 base address */ /**************************************************************************** * Definitions ****************************************************************************/ + /* P3.0 : P0.7 PINSEL6 LEDS 1-8 */ #define LEDBIT(led) (0x01 << (led)) #define ALL_LEDS (0xFF) @@ -76,7 +77,6 @@ //~ # define LED_DIR_OFFSET LPC23XX_GPIO_DIR_OFFSET //~ #endif - /**************************************************************************** * Private Data ****************************************************************************/ @@ -97,9 +97,10 @@ void up_ledinit(void) { /* Initilize GIOs P1.16-P1.23 */ - putled8(ALL_LEDS,LED_DIR_OFFSET); - putled8(ALL_LEDS,LED_CLR_OFFSET); - putled8(LEDBIT(0),LED_SET_OFFSET); + + putled8(ALL_LEDS, LED_DIR_OFFSET); + putled8(ALL_LEDS, LED_CLR_OFFSET); + putled8(LEDBIT(0), LED_SET_OFFSET); } /**************************************************************************** @@ -108,8 +109,8 @@ void up_ledinit(void) void up_ledon(int led) { - putled8(~(LEDBIT(led)),LED_MASK_OFFSET); - putled8(LEDBIT(led),LED_SET_OFFSET); + putled8(~(LEDBIT(led)), LED_MASK_OFFSET); + putled8(LEDBIT(led), LED_SET_OFFSET); } /**************************************************************************** @@ -118,7 +119,7 @@ void up_ledon(int led) void up_ledoff(int led) { - putled8(LEDBIT(led),LED_CLR_OFFSET); + putled8(LEDBIT(led), LED_CLR_OFFSET); } /**************************************************************************** @@ -127,16 +128,14 @@ void up_ledoff(int led) void up_statledoff(void) { - putled8(~STATLED, FIO1MASK2_OFFSET); - putled8(STATLED, FIO1CLR2_OFFSET); + putled8(~STATLED, FIO1MASK2_OFFSET); + putled8(STATLED, FIO1CLR2_OFFSET); } void up_statledon(void) { - putled8(~STATLED, FIO1MASK2_OFFSET); - putled8(STATLED, FIO1SET2_OFFSET); + putled8(~STATLED, FIO1MASK2_OFFSET); + putled8(STATLED, FIO1SET2_OFFSET); } #endif /* CONFIG_ARCH_LEDS */ - - -- GitLab