[ECOS] Bug in LPC24xx variant IO header

Bessemer bessemer@gmail.com
Tue Jul 7 14:02:00 GMT 2009


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



More information about the Ecos-discuss mailing list