Documentation how to use: FreeMarker Linker Script in mcuxpreso

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

Documentation how to use: FreeMarker Linker Script in mcuxpreso

跳至解决方案
1,811 次查看
e_v_spronsen
Contributor III
I needed to make modification to the linker script. I understand that mcuxpresso uses freemarker. Is there any documentation how to use freemaker linker script in MCUxpresso? Thanks!
0 项奖励
回复
1 解答
1,802 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi e_v_spronsen,

Please refer to section 17.14 in MCUXpresso_IDE_User_Guide.pdf.

 

Regards,

Jing

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,765 次查看
e_v_spronsen
Contributor III

Ok thanks for the help.

0 项奖励
回复
1,786 次查看
e_v_spronsen
Contributor III

The documentation is very limited.

Can you help  me how to add this to the linkerscript?

I want to place a const struct at a fixed location in flash. How do I configure this in the linker script?

something like this:

{
. = 0x2500 ;
KEEP(*(.config_boot))
} >PROGRAM_FLASH

 

Thanks.

0 项奖励
回复
1,768 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi,

You needn't modify Freemarker script. Please refer to 17.13.4 in MCUxpresso user guide. It is enough to put a structure in a fixed location.

 

Regards,

Jing

0 项奖励
回复
1,803 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi e_v_spronsen,

Please refer to section 17.14 in MCUXpresso_IDE_User_Guide.pdf.

 

Regards,

Jing

0 项奖励
回复