ESP32 S3 - FreeRtos Heap End

tommyp
Posts: 1
Joined: Fri Nov 01, 2024 1:22 pm

ESP32 S3 - FreeRtos Heap End

Postby tommyp » Fri Nov 01, 2024 5:43 pm

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?

MicroController
Posts: 1733
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: ESP32 S3 - FreeRtos Heap End

Postby MicroController » Sat Nov 02, 2024 11:57 am

The memory regions available as heap to the allocator upon initialization are defined here; RAM used for the cache is excluded from the list.

Who is online

Users browsing this forum: Bing [Bot] and 79 guests