From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30783 invoked by alias); 1 Aug 2012 16:36:27 -0000 Received: (qmail 30722 invoked by uid 22791); 1 Aug 2012 16:36:26 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Aug 2012 16:36:12 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id C66D12F7800B for ; Wed, 1 Aug 2012 17:36:10 +0100 (BST) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5JKwlVS6-z+s; Wed, 1 Aug 2012 17:36:10 +0100 (BST) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-bugs@ecos.sourceware.org Subject: [Bug 1000761] eCos support for MPC5xxx MCUs X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Patches and contributions X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ilijak@siva.com.mk X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: normal X-Bugzilla-Assigned-To: jifl@ecoscentric.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Attachment #1813 is obsolete In-Reply-To: References: X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 01 Aug 2012 16:36:00 -0000 Message-Id: <20120801163602.D4DD52F7800E@mail.ecoscentric.com> Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-bugs-owner@sourceware.org X-SW-Source: 2012/txt/msg01106.txt.bz2 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 changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #1813|0 |1 is obsolete| | --- Comment #42 from Ilija Kocho 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.