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

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

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

826 Views
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 Kudos
2 Replies

397 Views
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 Kudos

397 Views
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 Kudos