This is the mail archive of the ecos-bugs@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]

[Bug 1000761] eCos support for MPC5xxx MCUs


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000761

Ilija Kocho <ilijak@siva.com.mk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #1813|0                           |1
        is obsolete|                            |

--- Comment #42 from Ilija Kocho <ilijak@siva.com.mk> 2012-08-01 17:35:52 BST ---
Created an attachment (id=1856)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1856)
FlexCAN Generic driver 120801

Hi Karl

(In reply to comment #39)
> (In reply to comment #37)
> > Likewise your MPC5xxx CAN driver could be prepared in similar fashion.
> > I would be happy to help you with both adapting MPC5xxx contribution for use
> > with universal drivers and for rendering MPC drivers such as CAN into
> > universal.
> > 
> > Regards
> > Ilija
> 
> Hi Ilija,
> 
> attached the working CAN driver for MPC55xx/MPC56xx you can convert to a
> generic version.

Here I attach the generic driver. Because now it is not related to MPC5xxx only
I suggest you to open a new bug for FlexCAN driver and resubmit the patches
there. Then we can continue discussion and development. Now some notes on code
organization.

1. I found out that FlexCAN interrups are organized differently on MPC5xxx and
Kinetis so I decided to put them in separate packages. So now we have 3
packages that I submit as separate patches (+ tests as a separate patch).

     FlexCAN generic driver - contains all essential driver code

     MPC5xxx FlexCAN driver - mainly contains interrupt support for MPC5xxx

     Kinetis FlexCAN driver - mainly contains interrupt support for Kinetis but
also some Kinetis specific macros and functions such as PIN configuration,
clock gating, etc. These could also be placed in HAL.

The drivers are not finished, my idea is to continue in new a bug mentioned
above. I have more to comment and discuss, but I would let it for the new bug
if you agree.

Cheers

Ilija

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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