Documentation how to use: FreeMarker Linker Script in mcuxpreso

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Documentation how to use: FreeMarker Linker Script in mcuxpreso

ソリューションへジャンプ
1,575件の閲覧回数
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,566件の閲覧回数
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,529件の閲覧回数
e_v_spronsen
Contributor III

Ok thanks for the help.

0 件の賞賛
返信
1,550件の閲覧回数
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,532件の閲覧回数
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,567件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi e_v_spronsen,

Please refer to section 17.14 in MCUXpresso_IDE_User_Guide.pdf.

 

Regards,

Jing

0 件の賞賛
返信