Hi, I am using LPCXpresso v8.2.2 IDE for LPC1769.

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

Hi, I am using LPCXpresso v8.2.2 IDE for LPC1769.

1,450 次查看
edigavenkappa
Contributor I

Hi, I wanted to know about linker script templates.

How can i use RAMAHB32 location, i am running wolfssl code on LPC1769.

So, wolfssl expecting 32kb RAM and most of code is running on heap.

So, please give a suggestions for RAM and heap usage.

Thanks

ediga

0 项奖励
回复
2 回复数

1,021 次查看
lpcxpresso_supp
NXP Employee
NXP Employee

For LPCXpresso IDE v8, for details of how to modify the automatically generated linker script, please see the FAQ : Freemarker Linker Script Templates . You can still modify the heap/stack placement in a way similar to in the FAQ Carlos pointed you at, but the template you need to modify is different.

You can also change the heap placement by setting linker symbols instead - removing the need to change the linker script templates at all, as described in Heap allocation/checking in Redlib 

Regards,

LPCXpresso Support

0 项奖励
回复

1,021 次查看
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Ediga,

Please take a look to the below document, it explains how to modify the linker script templates for project specific requirements. There is also an example of how to place the heap and stack in the RamAHB32 region (at 0x2007c000) for an LPC1768 project:

Linker script templates 

Hope it helps!

Best Regards,
Carlos Mendoza
Technical Support Engineer

0 项奖励
回复