heap_caps_malloc(size, MALLOC_CAP_INTERNAL) return OK but the memory caused Guru Meditation Error: Core 1 panic'ed (LoadStoreError). Exception was unhandled. --- I don't know why it reserved 70K MALLOC_CAP_INTERNAL , Is there any config settings that can reduce the size of MALLOC_CAP...
long buff_cap = MB32; int main(void) { float **buff_head_ptr =NULL, *buff_arr; ...
114 114 #if CONFIG_SPIRAM_USE_MALLOC 115 + /* Wi-Fi still use internal RAM */ 115 116 116 117 queue->storage = heap_caps_calloc(1, sizeof(StaticQueue_t) + (queue_len*item_size), MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT); 117 118 if (!queue->storage) { ...
uint16_t* p_buffer_a = (uint16_t*) heap_caps_malloc( 76800, MALLOC_CAP_8BIT | MALLOC_CAP_DMA | MALLOC_CAP_INTERNAL ); uint16_t* p_buffer_b = (uint16_t*) heap_caps_malloc( 76800, MALLOC_CAP_8BIT | MALLOC_CAP_DMA | MALLOC_CAP_INTERNAL ); Thank's.ESP...
Maybe, it should only look in pools with MALLOC_CAP_DEFAULT to avoid reserved pools. Actual Behavior The function is allocating inside the already reserved block (chasing its own tail). esp_spiram_reserve_dma_pool() can be called with a value larger than the amount of physical RAM (e.g...
I noticed you're not using the MALLOC_CAP_DMA flag for buffers that will be used for DMA transfers to a peripheral. e.g. NeoPixelBus/src/internal/NeoEsp32I2sMethod.h Line 231 in 13b7d2e _i2sBuffer = static_cast<uint8_t*>(malloc(_i2sBufferSize)); From the Espressif Docs for ...
ggc-internal.h ggc-none.cc ggc-page.cc ggc-tests.cc ggc.h gimple-array-bounds.cc gimple-array-bounds.h gimple-builder.cc gimple-builder.h gimple-expr.cc gimple-expr.h gimple-fold.cc gimple-fold.h gimple-harden-conditionals.cc gimple-harden-control-flow.cc gimple-if-to-switch.cc gimple...