MCuXpresso Linker issue:" Error while creating linker script for project.."

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

MCuXpresso Linker issue:" Error while creating linker script for project.."

Jump to solution
2,615 Views
fmabrouk
Contributor III

Can anyone say why this error on a sudden started to show up whenever I try to build my project. I am using MCUXpresso IDE 11.2.1

 

fmabrouk_1-1611095110019.png

Thank you!

 

0 Kudos
Reply
1 Solution
2,600 Views
fmabrouk
Contributor III
Spoiler
Yes I’m still having same problem. I did not change anything; 

can you tell me what cause this issue to happen; is there any configuration I need to change? 






View solution in original post

0 Kudos
Reply
5 Replies
2,610 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi fmabrouk,

  Thanks for your interest in the NXP MIMXRT product, I would like to provide service for you.

   1. Your MCUXPresso IDE version is old, you can update it to the newest version 11.3.0

https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-i...

2.  Do you use your own linker file? 

   You need to make sure your linker script is correct at first.

  In the linker script, you need to select your own linker file:image.png 

Wish it helps you!

If you still have questions about it, please kindly let me know.

Best Regards,

Kerry

0 Kudos
Reply
2,607 Views
fmabrouk
Contributor III

Hi Kerry,

I updated my IDE to 11.3.0, and I am still having exactly same error. I am not using my own linker. My build was working just fine before, but something has changed unintentionally that make it now fail to build successfully without this linker error.

Thanks again!

0 Kudos
Reply
2,604 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi fmabrouk

  Check the NXP SDK MCUXPresso project, do you still have the issues or not?

 Do you still remember which detail modification when you meet this issues, can you delete something to recovery the project which don't have the link issue?

 

Best Regards,

Kerry

0 Kudos
Reply
2,601 Views
fmabrouk
Contributor III
Spoiler
Yes I’m still having same problem. I did not change anything; 

can you tell me what cause this issue to happen; is there any configuration I need to change? 






0 Kudos
Reply
2,594 Views
kerryzhou
NXP TechSupport
NXP TechSupport

HI fmabrouk,

  Whether the SDK code has these issues or not?

  Do you try to clean the project, and build it again, whether the issue is resolved or not?

  Are you sure, your old .ldt works?

  As I know, the MCUXPresso IDE should use the .ld, not the ldt as linker files.

 

You can check the SDK code, all are using .ld.

 

Best Regards,

Kerry

0 Kudos
Reply