How much RAM is required for LWIP? as of now my application is using 24Kb, can't we reduce that? any option available to merge two SRAM's in lpc1769?how to use contiguous memory blocks for heap in LPC1769 by using two SRAM's?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How much RAM is required for LWIP? as of now my application is using 24Kb, can't we reduce that? any option available to merge two SRAM's in lpc1769?how to use contiguous memory blocks for heap in LPC1769 by using two SRAM's?

2,632 Views
edigavenkappa
Contributor I

HI,

How to utilize two SRAM for HEAP?

how much heap is enough for LWIP?

0 Kudos
1 Reply

2,008 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Ediga,

Take a look to the following document for some examples of the LWIP memory requirements:

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

0 Kudos