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

Arduino Stream fix #97

Open
wants to merge 3 commits into
base: S130
Choose a base branch
from

Conversation

soundanalogous
Copy link

@soundanalogous soundanalogous commented Dec 23, 2016

The renaming of Stream to WStream broke compatibility with Arduino libraries and sketches. This PR will fix the Stream issue for Arduino, but will break mbed support. However, Arduino users and library developers should not need to change every instance of Stream to WStream just to be compatible with RedBear boards.

Honestly, I don't think my PR is acceptable since it will break mbed user's applications but I want to get it out there since IMHO this is a serious issue. The real problem is that integration of an mbed core into an Arduino core just does not work and should be avoided. Please consider separating Arduino and mbed functionality into separate repositories, perhaps sharing common code via submodules if absolutely necessary.

I don't know what it takes to untangle the mbed code from the Arduino code in this repo (nor do I have any mbed boards to test with) or I'd take a pass at a proper solution of splitting repositories myself.

In the mean time, the stream-fix branch in my fork will at least provide a usable solution for Arduino users. I'll try to keep it up to date.

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.

1 participant