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 1001397] I2C driver for Kinetic microcontrollers


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

--- Comment #38 from Ilija Kocho <ilijak@siva.com.mk> 2013-01-03 16:27:42 GMT ---
Created an attachment (id=2017)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=2017)
Freescale I2C driver 130103, incremental to attachments 2004/2005

(In reply to comment #36)
> (In reply to comment #33)
> > If you are too busy, and if you don't have objections, I would like to take
> > care of the spin optimization (ref. comment 32), of course with all respect and
> > credit to your contribution.
> 
> Please do with it whatever you deem needs doing :)

Thank you. Here I propose a code that:
   - decreases i2c thread priority prior to wait spin;
   - returns after timeout (as Mike suggests)

The patch is incremental. Apply it on top of attachment 2004 and attachment
2005.

Ilija


Note: I haven't been able to test it with multiple i2c masters.

Ilija

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


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