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 CAN driver improvements (Alexey Shusharin)


Hello,

I received a patch from Alexey Shusharin for LPC2xxx CAN driver. I checked the patch, did some small modifications, created the changelog entries and attached it. This is what Alexey wrote about this patch:

I've added this:

1. Fix of small bug in acceptance filter code in lpc2xxx_can_accfilt_ram_insert_entry() function.

2. Processing of LUT error in CAN error interrupt. For example, this error can appear then user set two identical entrys in filter table. This interrupt isn't maskable, so we have to handle it.
I've made small change in CAN I/O layer (add filter error flag) in order to pass LUT error event on application level. Maybe it's not best decision, if you know the better one you could apply it.

3. Self reception request. I've realized CDL option with 0 default value. Self reception ISR doesn't call DSR in order to minimize unnecessary calling. 

Thank you Alexey.

Regards, Uwe

Attachment: can_lpc2xxx.patch
Description: Binary data

Attachment: io_can.patch
Description: Binary data


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