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]

LPC2XXX interrupt_acknowledge


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_misc.diff
Description: Text document


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