Documentation how to use: FreeMarker Linker Script in mcuxpreso

cancel
Showing results for 
Search instead for 
Did you mean: 

Documentation how to use: FreeMarker Linker Script in mcuxpreso

Jump to solution
83 Views
e_v_spronsen
Contributor II
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
74 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
37 Views
e_v_spronsen
Contributor II

Ok thanks for the help.

0 Kudos
58 Views
e_v_spronsen
Contributor II

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
40 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
75 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