From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20005 invoked by alias); 10 Apr 2013 21:14:02 -0000 Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org Received: (qmail 19888 invoked by uid 89); 10 Apr 2013 21:14:01 -0000 X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 10 Apr 2013 21:14:01 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id DE9E6468000D for ; Wed, 10 Apr 2013 22:13:58 +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 cDj5FiVRVgpt; Wed, 10 Apr 2013 22:13:54 +0100 (BST) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-patches@ecos.sourceware.org Subject: [Bug 1001397] I2C driver for Kinetic microcontrollers Date: Wed, 10 Apr 2013 21:14:00 -0000 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: NEEDINFO X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: ilijak@siva.com.mk X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: attachments.isobsolete Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-04/txt/msg00044.txt.bz2 Please do not reply to this email, use the link below. http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001397 Ilija Kocho changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #2004|0 |1 is obsolete| | Attachment #2017|0 |1 is obsolete| | Attachment #2112|0 |1 is obsolete| | --- Comment #42 from Ilija Kocho --- Created attachment 2179 --> http://bugs.ecos.sourceware.org/attachment.cgi?id=2179&action=edit I2C driver with removed HAL code 130410 Mike Here is the driver with HAL executable code removed. Now all code is in driver and HAL borrows only data (pins, clock, etc). I reworked clock rate calculator so it now deals with period rather than frequency. The reason is replacing some division with multiplication (in a loop). Once being with with the clock, I implemented your idea about frequency set-point as user convenience. So now CDL accepts Hz but everything else works with ns (actually for increasing of accuracy with 1/100ns. I also removed some warnings, by patching high level I2C driver, so please try also bug 1001816. In case you submit patches please put driver, HAL, etc. and especially ecos.db in separate patches. It makes it easier for management. FYI, simultaneously with submitting you can obsolete one or several old patches. Ilija -- You are receiving this mail because: You are on the CC list for the bug.