You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
I have searched the issue tracker for a similar issue and not found a similar issue.
IDF version.
V5.3
Espressif SoC revision.
ESP32-S3
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
Custom board
Power Supply used.
USB
What is the expected behavior?
rmt_encode_simple must provide free space in symbols buffer with symbols_free parameter for the callback. In my case that is 192 symbols.
What is the actual behavior?
For the first call rmt_encode_simple calls callback with symbols_free set to 384, which causes buffer overflow and unexpected behavior, such as garbage in between correct signal:
Steps to reproduce.
In callback for rmt_encode_simple fill symbols buffer with symbols_free amount of rmt_symbol_word_t symbols.
Debug Logs.
No response
More Information.
If symbols_free is capped at 192, everything works as expected.
The text was updated successfully, but these errors were encountered:
Answers checklist.
IDF version.
V5.3
Espressif SoC revision.
ESP32-S3
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
Custom board
Power Supply used.
USB
What is the expected behavior?
rmt_encode_simple
must provide free space insymbols
buffer withsymbols_free
parameter for the callback. In my case that is 192 symbols.What is the actual behavior?
For the first call
rmt_encode_simple
callscallback
withsymbols_free
set to 384, which causes buffer overflow and unexpected behavior, such as garbage in between correct signal:Steps to reproduce.
In
callback
forrmt_encode_simple
fillsymbols
buffer withsymbols_free
amount ofrmt_symbol_word_t
symbols.Debug Logs.
No response
More Information.
If
symbols_free
is capped at 192, everything works as expected.The text was updated successfully, but these errors were encountered: