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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
3,932 次查看
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 项奖励
回复
1 解答
3,917 次查看
fmabrouk
Contributor III
破坏者
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 项奖励
回复
5 回复数
3,927 次查看
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 项奖励
回复
3,924 次查看
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 项奖励
回复
3,921 次查看
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 项奖励
回复
3,918 次查看
fmabrouk
Contributor III
破坏者
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 项奖励
回复
3,911 次查看
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 项奖励
回复