Page 1 of 1

ESP32 S3 - FreeRtos Heap End

Posted: Fri Nov 01, 2024 5:43 pm
by tommyp
In espidf 4.4.1, the heap end is set to 0x4000000
0x00000010 _esp_flash_mmap_prefetch_pad_size = 0x10
0x00000000 _esp_memprot_prefetch_pad_size = 0x0
0x00000000 _esp_memprot_align_size = 0x0
0x3fcac530 _static_data_end = _bss_end
0x40000000 _heap_end = 0x40000000

This is an issues as this is in the DCACHE memory block. It does not take into account configured size of DCACHE.
Am I missing something?

Re: ESP32 S3 - FreeRtos Heap End

Posted: Sat Nov 02, 2024 11:57 am
by MicroController
The memory regions available as heap to the allocator upon initialization are defined here; RAM used for the cache is excluded from the list.