<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2010-10-14)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-10-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* misc/system-clocks.c: Fixed lpc24xx_micro_seconds_delay().
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog.diff?r1=text&tr1=1.53&r2=text&tr2=1.54&diff_format=h">M</a></td><td width='1%'>1.54</td><td width='100%'>c/src/lib/libbsp/arm/lpc24xx/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc24xx/misc/io.c.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>c/src/lib/libbsp/arm/lpc24xx/misc/io.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c.diff?r1=text&tr1=1.8&r2=text&tr2=1.9&diff_format=h">M</a></td><td width='1%'>1.9</td><td width='100%'>c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog:1.53 rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog:1.54
--- rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog:1.53 Wed Jun 23 03:11:27 2010
+++ rtems/c/src/lib/libbsp/arm/lpc24xx/ChangeLog Thu Oct 14 01:52:46 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-10-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * misc/system-clocks.c: Fixed lpc24xx_micro_seconds_delay().
+
</font> 2010-06-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
* make/custom/lpc23xx_tli800.cfg, startup/linkcmds.lpc23xx_tli800: New
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc24xx/misc/io.c:1.6 rtems/c/src/lib/libbsp/arm/lpc24xx/misc/io.c:1.7
--- rtems/c/src/lib/libbsp/arm/lpc24xx/misc/io.c:1.6 Fri Apr 9 07:24:48 2010
+++ rtems/c/src/lib/libbsp/arm/lpc24xx/misc/io.c Thu Oct 14 01:52:46 2010
</font><font color='#997700'>@@ -7,7 +7,7 @@
</font> */
/*
<font color='#880000'>- * Copyright (c) 2009
</font><font color='#000088'>+ * Copyright (c) 2009, 2010
</font> * embedded brains GmbH
* Obere Lagerstr. 30
* D-82178 Puchheim
<font color='#997700'>@@ -110,6 +110,14 @@
</font> /* PWM */
LPC24XX_IO_ENTRY(LPC24XX_MODULE_PWM_1, 0, 2, 0, 2, 0, LPC24XX_IO_ALTERNATE_0),
<font color='#000088'>+ /* LCD */
+ LPC24XX_IO_ENTRY(LPC24XX_MODULE_LCD, 0, 0, 4, 0, 9, LPC24XX_IO_ALTERNATE_0),
+ LPC24XX_IO_ENTRY(LPC24XX_MODULE_LCD, 0, 1, 20, 1, 29, LPC24XX_IO_ALTERNATE_0),
+ LPC24XX_IO_ENTRY(LPC24XX_MODULE_LCD, 0, 2, 0, 2, 3, LPC24XX_IO_ALTERNATE_2),
+ LPC24XX_IO_ENTRY(LPC24XX_MODULE_LCD, 0, 2, 5, 2, 9, LPC24XX_IO_ALTERNATE_2),
+ LPC24XX_IO_ENTRY(LPC24XX_MODULE_LCD, 0, 2, 12, 2, 13, LPC24XX_IO_ALTERNATE_0),
+ LPC24XX_IO_ENTRY(LPC24XX_MODULE_LCD, 0, 4, 28, 4, 29, LPC24XX_IO_ALTERNATE_1),
+
</font> /* Terminate */
LPC24XX_IO_ENTRY(LPC24XX_MODULE_COUNT, 0, 0, 0, 0, 0, 0)
};
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c:1.8 rtems/c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c:1.9
--- rtems/c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c:1.8 Thu May 20 09:23:13 2010
+++ rtems/c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c Thu Oct 14 01:52:46 2010
</font><font color='#997700'>@@ -63,12 +63,12 @@
</font> void lpc24xx_micro_seconds_delay(unsigned us)
{
unsigned start = lpc24xx_timer();
<font color='#880000'>- unsigned end = start + us * (lpc24xx_cclk() / 1000000);
- unsigned now = 0;
</font><font color='#000088'>+ unsigned delay = us * (lpc24xx_cclk() / 1000000);
+ unsigned elapsed = 0;
</font>
do {
<font color='#880000'>- now = lpc24xx_timer();
- } while (now < end);
</font><font color='#000088'>+ elapsed = lpc24xx_timer() - start;
+ } while (elapsed <= delay);
</font> }
unsigned lpc24xx_pllclk(void)
</pre>
<p> </p>
<a name='cs2'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>Typo.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c.diff?r1=text&tr1=1.9&r2=text&tr2=1.10&diff_format=h">M</a></td><td width='1%'>1.10</td><td width='100%'>c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c:1.9 rtems/c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c:1.10
--- rtems/c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c:1.9 Thu Oct 14 01:52:46 2010
+++ rtems/c/src/lib/libbsp/arm/lpc24xx/misc/system-clocks.c Thu Oct 14 01:56:03 2010
</font><font color='#997700'>@@ -68,7 +68,7 @@
</font>
do {
elapsed = lpc24xx_timer() - start;
<font color='#880000'>- } while (elapsed <= delay);
</font><font color='#000088'>+ } while (elapsed < delay);
</font> }
unsigned lpc24xx_pllclk(void)
</pre>
<p> </p>
<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>