This is the mail archive of the ecos-patches@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] |
1. it makes it easier to support the ever increasing number of LPC2xxx parts by adding a CDL family variable that can be tested to decide whether a certain HAL feature applies to a given part rather than having to test for each part individually.
2. it adds support for XCLK on the LPC22xx parts and makes the VPB and XCLK dividers CDL configurable.
5. it creates a separate lpc2xxx_misc.h header which moves the lpc2xxx specific features out of the hal_var_ints.h header and hopefully provides a better place for them in the future as other features are added.
Hi,
I'd found that LPC2XXX hal_interrupt_acknowledge() doesn't clear a peripherial interrupt flag. In one ABC is written: at the end the ISR should clear interrupt flag in EXTINT register and perform dummy write to the correct register in the VIC to clear interrupt source. What do you thing about such a patch? Without it I couldn't handle an exteranl interrupt event with the cyg_drv_interrupt_* functions. The ISR for any software interrupt event works well without the patch. Tested on an Olimex LPC-H2294 (ARM) board.
Sergei Gavrikov
Attachment:
lpc2xxx_var.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |