HI,
How to utilize two SRAM for HEAP?
how much heap is enough for LWIP?
Hi Ediga,
Take a look to the following document for some examples of the LWIP memory requirements:
The heap size can be setup by changing the Heap_Size value in the startup code. Please notice that LWIP uses it's own run-time memory allocation functions, not the heap defined in the startup code. However, FreeRTOS allocates task stacks, mutexes, semaphores, etc. from the heap defined here.
Regarding the heap allocation, please take a look to the following thread:
https://community.nxp.com/message/808127
Hope it helps!
Best Regards,
Carlos Mendoza
Technical Support Engineer