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?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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?

4,011 次查看
edigavenkappa
Contributor I

HI,

How to utilize two SRAM for HEAP?

how much heap is enough for LWIP?

0 项奖励
回复
1 回复

3,387 次查看
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 项奖励
回复