mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
a5d6f62e7e
Since DRAM and IRAM are superposed on esp32c6 it is not necessary to convert a freshly allocated DRAM addr to its IRAM equivalent when MALLOC_CAP_EXEC is passed to heap_caps_malloc(). Instead, proceed with a default allocation since the address returned by multi_heap_malloc() already belongs to the IRAM region. Applies for esp32c6 and every boards with superposed DRAM and IRAM addresses.