Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from
Jan 20, 2015

Conversation

thomaseichinger
Copy link
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
Member

ACK

@PeterKietzmann
Copy link
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
Member Author

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

@PeterKietzmann
Copy link
Member

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

@thomaseichinger
Copy link
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
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
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