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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,850件の閲覧回数
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,421件の閲覧回数
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,421件の閲覧回数
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 件の賞賛
返信