-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
UART: Serial2 wont work on Arduino Core v2.0.15 #9500
Comments
@khryssmar - please provide more information and a simple sketch that can be used to reproduce the issue. Thanks in advance. |
A quick test reports that Serial2 is using pins 4 and 25 by default... I'll investigate it.
|
Yes... it was the PR #8800 from 3.0.0 that has been imported into 2.015 by #9176 This breaks the UART pins...
|
@khryssmar - a quick workaround would be to initialize |
The Serial2 pins were changed because psram is typically on 16 & 17. With a WROOM module, they are available. |
It was changed for 3.0.0 as a breaking change. |
Issue is solved, will be included in release 2.0.16, which we will release in approximately one week. We will wait for a while to test and possibly catch other issues. Thanks @khryssmar for quick response and pointing out this problem! |
Hello, 2.0.16 is not released yet, we are still working on it. We will release it in 1 - 2 weeks. |
@VojtechBartoska thanks. I read that 3.0 will have a breaking change. Where do I find the corresponding code for using Serial2? Thanks again! |
I would like to reopen the issue. Encountered this again. Please fix. @SuGlider |
https://docs.espressif.com/projects/arduino-esp32/en/latest/migration_guides/2.x_to_3.0.html#id14 |
This change is valid for Arduino Core 3.x.x
|
Board
ESP32-WROOM-32D
Device Description
Breadboard.
Hardware Configuration
IO17 and IO16 to GPS.
Version
latest master (checkout manually)
IDE Name
Arduino
Operating System
Windows 10
Flash frequency
80Mhz
PSRAM enabled
yes
Upload speed
921600
Description
I am using Serial2 to connect to UBX Neo6m. After 2.0.15, it doesnt work anymore.
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: