-
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
UARTx get free space in tx_buffer_size (uart_driver_install) (IDFGH-7348) #8932
Labels
Resolution: Done
Issue is done internally
Status: Done
Issue is done internally
Type: Feature Request
Feature request for IDF
Comments
1 task
github-actions
bot
changed the title
UARTx get free space in tx_buffer_size (uart_driver_install)
UARTx get free space in tx_buffer_size (uart_driver_install) (IDFGH-7348)
May 10, 2022
Hi Any hints on how to get that informations in other ways? Thanks, |
Hi @imwhocodes , Good idea, we will add this. |
Hi Is there any ETA for this feature? Thanks, |
espressif-bot
added
Status: Selected for Development
Issue is selected for development
and removed
Status: Opened
Issue is new
labels
Jun 27, 2022
espressif-bot
added
Status: Reviewing
Issue is being reviewed
Resolution: NA
Issue resolution is unavailable
Status: Done
Issue is done internally
Resolution: Done
Issue is done internally
and removed
Status: Selected for Development
Issue is selected for development
Status: Reviewing
Issue is being reviewed
Resolution: NA
Issue resolution is unavailable
labels
Jun 29, 2022
ebisuke
pushed a commit
to ebisuke/esp-idf
that referenced
this issue
Jan 8, 2023
Closes espressif#8932 Closes espressif#3078 (cherry picked from commit 9d73475)
ebisuke
pushed a commit
to ebisuke/esp-idf
that referenced
this issue
Jan 8, 2023
Closes espressif#8932 Closes espressif#3078 (cherry picked from commit 9d73475)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Resolution: Done
Issue is done internally
Status: Done
Issue is done internally
Type: Feature Request
Feature request for IDF
New version of arduino-esp32 add function to set
tx_buffer_size
that is used by uart_driver_installThis add the ability to add arbitrary buffer that is then copied on TxFiFo of the UART when free
The problem now become that inside esp-idf there is no function to get free space left on the TX Buffer allocated internally by
uart_driver_install(...)
Currently Arduino implementation check UART registers get free space left in TxFiFo, but of course the value stored in the register keep count only of the space free in TxFiFo and not the extra RAM allocated buffer by
uart_driver_install(...)
Is possible to have a function similar to uart_get_buffered_data_len that return data pending for write? or space left maybe?
Or there is any other way to extract that information from esp-idf?
Thanks,
Luca
The text was updated successfully, but these errors were encountered: