This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Bug in LPC24xx variant IO header
- From: Bessemer <bessemer at gmail dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 7 Jul 2009 15:02:01 +0100
- Subject: [ECOS] Bug in LPC24xx variant IO header
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.
B.
--
"I had an immense advantage over many others dealing with the problem
inasmuch as I had no fixed ideas derived from long-established
practice to control and bias my mind, and did not suffer from the
general belief that whatever is, is right."
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss