The iled_blinky project does not automatically generate linker scripts.

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

The iled_blinky project does not automatically generate linker scripts.

Jump to solution
1,408 Views
stanley-kylee
Contributor II

hello.
I am trying to 'SDRAM boot' from 'MIMXRT1020-EVK'.

I am following the contents of the link below.
(https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/I-MX-RT-How-to-booting-to-SDRAM/ta-p/1125054)

If you look at 'Step 4', MCUXpresso automatically creates a linker script.
However, the linker script is not automatically generated.
I am working on the same 'iled_blinky' project as the manual.

Why aren't the linker script folders and files created automatically?
If I need to create a linker script file myself, what should I name the file?

P.s. Manage linker script is checked

 

 

0 Kudos
Reply
1 Solution
1,388 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
1) Does the linker script file mentioned in that link mean the *.ld file created in the Debug or Release folder?
-- Yes.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
5 Replies
1,399 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1) Why aren't the linker script folders and files created automatically?
-- Please check whether compile or build the project again after finishing the configuration's modification
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply
1,398 Views
stanley-kylee
Contributor II

Hello jeremyzhou.

Thank you for your reply.

 

-- Please check whether compile or build the project again after finishing the configuration's modification
→ Yes. I compiled after setup.

However, the 'linkerscripts' folder was not created.

 

0 Kudos
Reply
1,395 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
In the post (https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/I-MX-RT-How-to-booting-to-SDRAM/ta-p/1125054), the linker script means the linker file actually, and you can find them as the figure shows.

jeremyzhou_0-1655776657009.png

 

Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply
1,389 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
1) Does the linker script file mentioned in that link mean the *.ld file created in the Debug or Release folder?
-- Yes.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply
1,393 Views
stanley-kylee
Contributor II

I don't understand.

 

When compiling other example projects, the linkerscripts folder is created, and linker script files (*.ld) are located in it.

However, the linkerscripts folder and '*.ld' files are not created in this project.

Does the linker script file mentioned in that link mean the *.ld file created in the Debug or Release folder?

0 Kudos
Reply