On Sun, Nov 23, 2008 at 02:48:41PM +0200, Sergei Gavrikov wrote:
> On Sun, Nov 23, 2008 at 02:39:42PM +0200, Sergei Gavrikov wrote:
> > On Sun, Nov 23, 2008 at 01:16:30PM +0100, Andrew Lunn wrote:
> > > Here is the first issue i found when compile testing.
> > > 
> > > The olpch2294 target includes
> > > CYGPKG_DEVICES_WATCHDOG_ARM_LPC2XXX. However when you include the
> > > generic watchdog package you get:
> > [snip]
> > > It seems like the other targets have the same problem as well.
> > 
> > Hi, I ponted on that in past:
> > http://sourceware.org/ml/ecos-discuss/2008-09/msg00038.html
> > 
> > It seems that was not been applied.

The patch in the archive did not compile either. This is the patch i
committed. Please can you test it.

    Thanks
        Andrew           
Index: devs/watchdog/arm/lpc2xxx/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/watchdog/arm/lpc2xxx/current/ChangeLog,v
retrieving revision 1.3
diff -u -r1.3 ChangeLog
--- devs/watchdog/arm/lpc2xxx/current/ChangeLog	4 Sep 2008 05:39:42 -0000	1.3
+++ devs/watchdog/arm/lpc2xxx/current/ChangeLog	23 Nov 2008 13:25:41 -0000
@@ -1,3 +1,9 @@
+2008-11-23  Sergei Gavrikov <[EMAIL PROTECTED]>
+            Andrew Lunn     <[EMAIL PROTECTED]>
+	
+	* src/watchdog_lpc2xxx.cxx: Since CYG_HAL_ARM_LPC2XXX_PCLK()
+	macro has been removed from lpc2xxx_misc.h, insert a definition here.
+
 2008-09-03  Sergei Gavrikov <[EMAIL PROTECTED]>
 
 	* src/watchdog_lpc2xxx.cxx: Since CYG_HAL_ARM_LPC2XXX_PCLK()
Index: devs/watchdog/arm/lpc2xxx/current/src/watchdog_lpc2xxx.cxx
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/watchdog/arm/lpc2xxx/current/src/watchdog_lpc2xxx.cxx,v
retrieving revision 1.3
diff -u -r1.3 watchdog_lpc2xxx.cxx
--- devs/watchdog/arm/lpc2xxx/current/src/watchdog_lpc2xxx.cxx	4 Sep 2008 05:39:42 -0000	1.3
+++ devs/watchdog/arm/lpc2xxx/current/src/watchdog_lpc2xxx.cxx	23 Nov 2008 13:25:41 -0000
@@ -71,7 +71,7 @@
 
 //==========================================================================
 
-#define TICKS (CYGHAL_ARM_LPC2XXX_PCLK/4000 * \
+#define TICKS (CYGNUM_HAL_ARM_LPC2XXX_PCLK/4000 * \
                CYGNUM_DEVS_WATCHDOG_ARM_LPC2XXX_DESIRED_TIMEOUT_MS)
 
 #define RESOLUTION CYGNUM_DEVS_WATCHDOG_ARM_LPC2XXX_DESIRED_TIMEOUT_MS*1000000

Reply via email to