AnsweredAssumed Answered

user_memory.ldt not used by Freemarker

Question asked by Kévin Rocheteau on Nov 15, 2016
Latest reply on Nov 19, 2016 by LPCX support

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? 

Outcomes