From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20516 invoked by alias); 23 Nov 2008 13:29:05 -0000 Received: (qmail 20108 invoked by uid 22791); 23 Nov 2008 13:29:02 -0000 X-Spam-Level: * X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 23 Nov 2008 13:28:11 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1L4F01-0000hx-00; Sun, 23 Nov 2008 14:27:41 +0100 Date: Sun, 23 Nov 2008 13:29:00 -0000 From: Andrew Lunn To: Sergei Gavrikov Cc: Andrew Lunn , eCos patches list Subject: Re: Support for Olimex LPC-H2294, LPC-E2294, LPC-L2294-1M targets Message-ID: <20081123132741.GT17925@lunn.ch> References: <20081103205406.GA9692@ubuntu.local> <20081107182918.GA13070@ubuntu.local> <20081120202139.GK17925@lunn.ch> <20081120204734.GA12716@ubuntu.local> <20081120215747.GL17925@lunn.ch> <20081121022731.GA29411@ubuntu.local> <20081123121630.GQ17925@lunn.ch> <20081123123942.GA15619@ubuntu.local> <20081123124841.GA15719@ubuntu.local> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="uZ3hkaAS1mZxFaxD" Content-Disposition: inline In-Reply-To: <20081123124841.GA15719@ubuntu.local> User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Checked: Checked by ClamAV on sourceware.org X-IsSubscribed: yes Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2008-11/txt/msg00098.txt.bz2 --uZ3hkaAS1mZxFaxD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 783 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 --uZ3hkaAS1mZxFaxD Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="devs_watchdog_arm_lpc2xxx.diff" Content-length: 1605 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 + Andrew Lunn + + * 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 * 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 --uZ3hkaAS1mZxFaxD--