Hello
Sorry for a double post (the post was misdirected in discuss list).
CYG_HAL_ARM_LPC2XXX_PCLK() macro had been removed from lpc2xxx_misc.h in
the latest revision, but, lpc2xxx's watchdog driver does not know about.
So, it's not possible to build the watchdog driver, the patch fixs this.
Sergei
Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/watchdog/arm/lpc2xxx/current/ChangeLog,v
retrieving revision 1.2
diff -u -r1.2 ChangeLog
--- ChangeLog 24 Aug 2007 14:14:34 -0000 1.2
+++ ChangeLog 3 Sep 2008 17:24:34 -0000
@@ -1,3 +1,9 @@
+2008-09-03 Sergei Gavrikov <[EMAIL PROTECTED]>
+
+ * src/watchdog_lpc2xxx.cxx: Since CYG_HAL_ARM_LPC2XXX_PCLK()
+ macro had been gone away from lpc2xxx_misc.h, it is replaced by
+ an equal CYGNUM_HAL_ARM_LPC2XXX_PCLK constant.
+
2007-08-19 Sergei Gavrikov <[EMAIL PROTECTED]>
* src/watchdog_lpc2xxx.cxx: Fixed to work properly in WDINT mode.
Index: src/watchdog_lpc2xxx.cxx
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/watchdog/arm/lpc2xxx/current/src/watchdog_lpc2xxx.cxx,v
retrieving revision 1.2
diff -u -r1.2 watchdog_lpc2xxx.cxx
--- src/watchdog_lpc2xxx.cxx 24 Aug 2007 14:14:35 -0000 1.2
+++ src/watchdog_lpc2xxx.cxx 3 Sep 2008 17:24:34 -0000
@@ -71,7 +71,7 @@
//==========================================================================
-#define TICKS (CYG_HAL_ARM_LPC2XXX_PCLK()/4000 * \
+#define TICKS (CYGHAL_ARM_LPC2XXX_PCLK/4000 * \
CYGNUM_DEVS_WATCHDOG_ARM_LPC2XXX_DESIRED_TIMEOUT_MS)
#define RESOLUTION CYGNUM_DEVS_WATCHDOG_ARM_LPC2XXX_DESIRED_TIMEOUT_MS*1000000