Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@alistair23
Copy link
Contributor

Pull Request Overview

This PR gets I2C working on the nRF52840DK. This also fixes Tock 2.0 issues in general for I2C.

Testing Strategy

I2C communication on the nRF52840DK

TODO or Help Wanted

Documentation Updated

  • Updated the relevant files in /docs, or no updates are required.

Formatting

  • Ran make prepush.

Currently the capsule will double enter a grant. Let's fix that by
avoiding entering a grant we have already entered. While fixing the code
let's also return errors to userspace if the I2C operation fails.

Signed-off-by: Alistair Francis <[email protected]>
@alistair23 alistair23 mentioned this pull request Jun 10, 2021
2 tasks
@phil-levis
Copy link
Contributor

bors r+

@bors
Copy link
Contributor

bors bot commented Jun 12, 2021

@bors bors bot merged commit 678649b into tock:master Jun 12, 2021
@alistair23 alistair23 deleted the alistair/i2c branch June 14, 2021 08:34
bors bot added a commit that referenced this pull request Jun 21, 2021
2619: Add I2C slave support for nRF r=bradjc a=alistair23

### Pull Request Overview

This builds on top of #2612 by adding nRF I2C `master_slave_driver` support.

### Testing Strategy

Running I2C communication on the nRF

### TODO or Help Wanted

Nothing

### Documentation Updated

- [X] Updated the relevant files in `/docs`, or no updates are required.

### Formatting

- [X] Ran `make prepush`.


Co-authored-by: Alistair Francis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants