Closed atuchin-m closed 1 year ago
It seems manual actions with tx_lim_ch
should be changed to stable public API:
https://github.com/espressif/esp-idf/blob/3cb4db60b2c2889daa82e20eed09105a835d98f1/components/hal/esp32s2/include/hal/rmt_ll.h#L333
Replacing to
rmt_ll_tx_set_limit(&RMT, ch, PART_SIZE * 2 + 1);
&
rmt_ll_enable_mem_access(&RMT, true);
works for me.
could you please create a PR?
The strange thing is, that compiling with esp32s2 latest in GitHub actions works....
As the latest changes were not released. I have now bumped to 0.28.0 Perhaps the latest version is ok ?
I believe the reason is for ESP32S2 some structs are different: ESP32: https://github.com/espressif/esp-idf/blob/master/components/soc/esp32s2/include/soc/rmt_struct.h ESP32S2: https://github.com/espressif/esp-idf/blob/master/components/soc/esp32/include/soc/rmt_struct.h Full log: