user_memory.ldt not used by Freemarker

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

user_memory.ldt not used by Freemarker

481 Views
krocheteau
Contributor I

I'm playing with the Freemarker templating system for linker scripts generation on one of my project. I could not make my content in my custom user_memory.ldt file (under <project>/linkerscripts) appear in the linkerscript generated. After some search I think that memory.ldt in my installation directory (under wizard/linkerscripts) may be incorrect.

memory.ldt starts with :

<#include "user.ldt" >
<#include "user_library.ldt" ignore_missing=true>
<#include "header.ldt" >

MEMORY

In my understanding it should rather be:

<#include "user.ldt" >
<#include "user_memory.ldt" ignore_missing=true>
<#include "header.ldt" >

MEMORY

Should I correct manually memory.ldt or am I getting anything wrong? 

0 Kudos
1 Reply

314 Views
lpcxpresso_supp
NXP Employee
NXP Employee

You appear to be correct. Thank you for reporting this. If you are wanting to provide a user_memory.ldt in your project, you should be able to workaround by also putting an "fixed" copy of the memory.ldt in a "linkscripts" folder of your project.

Regards,

LPCXpresso Support

0 Kudos