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
the called function rmt_write_items will keep reading from the passed pointer until the transmission is completed. The borrow on the S: Signal though "expires" once write_items returns.
For example when calling the TxRmtDriver::start function
Aside from that the documentation of rm_write_items states to "please [?] do not use the memory allocated from psram when calling rmt_write_items". This restriction is not enforced either.
Should I create a separate issue for this?
The text was updated successfully, but these errors were encountered:
When
TxRmtDriver::write_items
is called withblock = false
esp-idf-hal/src/rmt.rs
Lines 607 to 613 in 29806af
the called function
rmt_write_items
will keep reading from the passed pointer until the transmission is completed. The borrow on theS: Signal
though "expires" oncewrite_items
returns.For example when calling the
TxRmtDriver::start
functionesp-idf-hal/src/rmt.rs
Lines 589 to 597 in 29806af
the ESP-IDF may access dropped memory.
Aside from that the documentation of
rm_write_items
states to "please [?] do not use the memory allocated from psram when calling rmt_write_items". This restriction is not enforced either.Should I create a separate issue for this?
The text was updated successfully, but these errors were encountered: