This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Bug in LPC24xx variant IO header
- From: John Dallaway <john at dallaway dot org dot uk>
- To: Bessemer <bessemer at gmail dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Thu, 09 Jul 2009 08:11:24 +0100
- Subject: [ECOS] Re: Bug in LPC24xx variant IO header
- References: <7f6363a90907070702h26f09b2mbca42c757fd7d7ad@mail.gmail.com>
Bessemer wrote:
> In packages\hal\arm\lpc24xx\var\current\include\var_io.h, line 412:
> #define CYGARC_HAL_LPC24XX_REG_FIO0DIR 0x0000
> #define CYGARC_HAL_LPC24XX_REG_FIO1DIR 0x0020
> #define CYGARC_HAL_LPC24XX_REG_FIO2DIR 0x0040
> #define CYGARC_HAL_LPC24XX_REG_FIO3DIR 0x0050 ** HERE ***
> #define CYGARC_HAL_LPC24XX_REG_FIO4DIR 0x0080
> should be
> #define CYGARC_HAL_LPC24XX_REG_FIO0DIR 0x0000
> #define CYGARC_HAL_LPC24XX_REG_FIO1DIR 0x0020
> #define CYGARC_HAL_LPC24XX_REG_FIO2DIR 0x0040
> #define CYGARC_HAL_LPC24XX_REG_FIO3DIR 0x0060
> #define CYGARC_HAL_LPC24XX_REG_FIO4DIR 0x0080
>
> (See NXP's LPC2468 User Manual UM10237_3, table 159)
> Hope that helps.
Thank you for the bug report. I have fixed the definition of
CYGARC_HAL_LPC24XX_REG_FIO3DIR.
John Dallaway
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss