user_memory.ldt not used by Freemarker

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

user_memory.ldt not used by Freemarker

956 次查看
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 项奖励
回复
1 回复

789 次查看
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 项奖励
回复