This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug in LPC24xx variant IO header


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]