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

bus: Adding AtomicDevice for I2C and SPI bus sharing in multiple interrupt contexts #593

Merged
merged 3 commits into from Apr 23, 2024

Conversation

Dirbaio
Copy link
Member

@Dirbaio Dirbaio commented Apr 23, 2024

based on #579 by @ryan-summers.

  • Squashed
  • Use a global busy flag for the whole bus, not one per device (soundness fix)
  • Expand docs a bit.

commits:

  • Adding AtomicDevice for I2C bus sharing
  • bus: make AtomicDevice use a per-bus "busy" flag, not per-device.
  • bus: expand docs for AtomicDevice a bit.

Copy link
Member

@eldruin eldruin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thank you!

@eldruin eldruin added this pull request to the merge queue Apr 23, 2024
Merged via the queue into master with commit 1d33458 Apr 23, 2024
16 checks passed
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.

None yet

3 participants