Skip to content

periph/i2c: added means to make I2C thread-safe#2323

Merged
PeterKietzmann merged 4 commits intoRIOT-OS:masterfrom
thomaseichinger:i2c_mutex
Jan 20, 2015
Merged

periph/i2c: added means to make I2C thread-safe#2323
PeterKietzmann merged 4 commits intoRIOT-OS:masterfrom
thomaseichinger:i2c_mutex

Conversation

@thomaseichinger
Copy link
Copy Markdown
Member

As discussed in #2289 this changes provide means to use the i2c interface safely within multiple threads. Missing implementations will be provided as the concept is accepted. Implementation is analog to #2290.

@thomaseichinger thomaseichinger added Process: API change Integration Process: PR contains or issue proposes an API change. Should be handled with care. Area: drivers Area: Device drivers Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation labels Jan 19, 2015
@thomaseichinger thomaseichinger added this to the Release NEXT MAJOR milestone Jan 19, 2015
@PeterKietzmann
Copy link
Copy Markdown
Member

ACK

@PeterKietzmann
Copy link
Copy Markdown
Member

@thomaseichinger did you link this PR in issue #2314? If so, do you want to change all other i2c implementations in here? I could also adapt some, just want to avoid that our work collides

@thomaseichinger
Copy link
Copy Markdown
Member Author

@PeterKietzmann I did, updated adopting all other existing i2c implementations.

@PeterKietzmann
Copy link
Copy Markdown
Member

Ah haven't seen this. Ok I'll go through the commits

@thomaseichinger
Copy link
Copy Markdown
Member Author

@PeterKietzmann As the proposed concept doesn't break the current usage of the interface I decided to adopt i2c's uses separately. Would you mind taking over this task?

@PeterKietzmann
Copy link
Copy Markdown
Member

@thomaseichinger. ACK for this PR. I could adapt the uses. Thanks for the list in #2314. I'll register my name to some , just to avoid collisions if someone else hops in. If not, i'll adapt all within the next days

@PeterKietzmann
Copy link
Copy Markdown
Member

Everything is fine. ACK

PeterKietzmann added a commit that referenced this pull request Jan 20, 2015
periph/i2c: added means to make I2C thread-safe
@PeterKietzmann PeterKietzmann merged commit ebadbd6 into RIOT-OS:master Jan 20, 2015
@OlegHahm OlegHahm modified the milestones: Release NEXT MAJOR, Release 2015.06 Apr 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: drivers Area: Device drivers Process: API change Integration Process: PR contains or issue proposes an API change. Should be handled with care. Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants