This is the mail archive of the
mailing list for the eCos project.
[Bug 1000761] eCos support for MPC5xxx MCUs
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: ecos-bugs at ecos dot sourceware dot org
- Date: Wed, 1 Aug 2012 17:36:02 +0100
- Subject: [Bug 1000761] eCos support for MPC5xxx MCUs
- Auto-submitted: auto-generated
- References: <firstname.lastname@example.org/>
Please do not reply to this email. Use the web interface provided at:
Ilija Kocho <email@example.com> changed:
What |Removed |Added
Attachment #1813|0 |1
is obsolete| |
--- Comment #42 from Ilija Kocho <firstname.lastname@example.org> 2012-08-01 17:35:52 BST ---
Created an attachment (id=1856)
FlexCAN Generic driver 120801
(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
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.
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.