Documentation how to use: FreeMarker Linker Script in mcuxpreso

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

Documentation how to use: FreeMarker Linker Script in mcuxpreso

Jump to solution
1,093 Views
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 Kudos
1 Solution
1,084 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi e_v_spronsen,

Please refer to section 17.14 in MCUXpresso_IDE_User_Guide.pdf.

 

Regards,

Jing

View solution in original post

0 Kudos
4 Replies
1,047 Views
e_v_spronsen
Contributor III

Ok thanks for the help.

0 Kudos
1,068 Views
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 Kudos
1,050 Views
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 Kudos
1,085 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi e_v_spronsen,

Please refer to section 17.14 in MCUXpresso_IDE_User_Guide.pdf.

 

Regards,

Jing

0 Kudos