-
Notifications
You must be signed in to change notification settings - Fork 13.3k
No SoftwareSerial lib for v2.4? #3596
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
Comments
@igrr I don't see SoftwareSerial under libraries in latest git. Is this intentional? |
It gets included when building a boards manager package here: https://github.com/esp8266/Arduino/blob/master/package/build_boards_manager_package.sh#L63-L68 I just ran this script locally and the SoftwareSerial library ended up being included in the package. Not sure why this didn't happen with 2.4.0-rc1 package though. As a workaround, you can download SoftwareSerial library as a zip file and then install it into the IDE using "install library from zip file" feature. Will troubleshoot this when building the package next time, thanks for the report. |
Thanks @igrr - good to know it's not an intentional omission 🙂 |
@igrr I propose to have git build with softwareserial in a similar manner as lwip or axtls. I think having libs missing in the git build causes too much confusion. |
Verified that this is fixed in latest git (and 2.4.0-rc2 has SoftwareSerial). |
With a fresh install of the latest github release it is leaving an empty SoftwareSerial directory under libraries, which is generating errors:
I am not using SoftwareSerial, but these errors were not present previously. Deleting the empty directory cures the problem. |
Were you playing with the ongoing release (tag 2.5.0-beta1), then tried rolling back? |
No, it was a fresh clone, this morning, from github, followed by a get.py for the tools. |
This new
|
Gotcha! FYI: I just discovered that its not from the fresh clone, but when my script does |
Here's a fix for the install docs to make it clearer what to do if you get errors related to |
I note that SoftwareSerial has disappeared from core v2.4. If one needs to use SoftwareSerial for development, which library should now be used?
The text was updated successfully, but these errors were encountered: