Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

RPi I/O Bus Instantiation #57

Open
CaiB opened this issue Jun 27, 2018 · 0 comments
Open

RPi I/O Bus Instantiation #57

CaiB opened this issue Jun 27, 2018 · 0 comments

Comments

@CaiB
Copy link
Member

CaiB commented Jun 27, 2018

Currently, users are expected to make and manage a single instance of I/O buses (UART, SPI, and I2C) on the RPi. We should change this to be the same as on the BBB, where instances are provided by the I/O system.

Currently, if the user makes two instances, everything works, but thread safety is no longer guaranteed, which can have confiusing effects. That, and the fact that the two platforms use different instantiation patterns is simply confusing.

This will be a breaking change.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant