Skip to content

[ESP32] Revert back to Espressif32 PIO v 2.1.0 due to serial issues #3610

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

Merged
merged 1 commit into from
Apr 29, 2021

Conversation

TD-er
Copy link
Member

@TD-er TD-er commented Apr 27, 2021

When calling Serial::begin() (on ESP32) you apparently need to give all parameters or else it may use default parameters (makes no sense!)
Serial::end() may cause a hang or crash -> timing issue

See crash/hang:

Switch back to default:

Since these are all relative new issues, I guess it may be best to revert to this core version.

Symptoms:
A device connected to "Serial1" receives logs sent to "Serial0" after some time and/or fiddling around with settings.

When calling Serial::begin() (on ESP32) you apparently need to give all parameters or else it may use default parameters (makes no sense!)
Serial::end() may cause a hang or crash -> timing issue

See crash/hang:
- espressif/arduino-esp32#5047
- espressif/arduino-esp32#5004
- espressif/arduino-esp32@81b7c47
- espressif/arduino-esp32#5112
- espressif/arduino-esp32#5032

Switch back to default:
- espressif/arduino-esp32#5026
@TD-er TD-er merged commit 8ae22d4 into letscontrolit:mega Apr 29, 2021
@TD-er TD-er deleted the bugfix/esp32_core_2_1_0 branch April 29, 2021 13:35
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