-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
HardwareSerial::availableForWrite still return 128 after HardwareSerial::setTxBufferSize #6697
Comments
@imwhocodes - Issue confirmed. Along the changes this fuction was left behind. Thanks for reporting. I'll set a PR to fix it. |
I just looked into the code.... there is a big problem. I'll investigate it further, but it looks like there is no way to fix it at this time. |
I opened an issue / feature request on esp-idf, let see what they say |
@SuGlider issue was fixed on esp-idf repo, we need to update Arduino internal code |
Thanks @imwhocodes |
I think it may be availble for a Arduino Core 2.0.5 (next release). |
It has been backported to 4.4: espressif/esp-idf@dfb75aa |
@imwhocodes - PR #6998 shall solve the issue. Thanks for the help! |
Board
ESP32 Dev Module
Device Description
Custom PCB
Hardware Configuration
A lot of stuff
Version
latest master (checkout manually)
IDE Name
Platformio
Operating System
Macos
Flash frequency
80
PSRAM enabled
no
Upload speed
115200
Description
I'm trying to use the new feature of v2.0.3
After setting TX buffer size with
HardwareSerial::setTxBufferSize
the functionHardwareSerial::availableForWrite
still always return128
keeping track only of the free space in the TxFIFO without accounting of the newly allocated buffer for transmissionSketch
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: