imxrt1176 freertos linkerscript file problem

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

imxrt1176 freertos linkerscript file problem

跳至解决方案
324 次查看
burhanhagi
Contributor III

I am trying to debug my project with freertos. However, I could not debug it. After some digging,

I found that project.ld (linker file) does not include the below line. (blue marked line).

This below SS belongs to app which can be debug.

burhanhagi_0-1715095904705.png

 

However, in my project, linker script file is as below;

burhanhagi_1-1715096025586.png

There must be a line between marked two lines in blue.

Since this linker script file is located in  "Debug folder", it is deleted when I add the required command manually. Therefore I need that  code line. How can I add it in order for linkerscript add automatically?

 

标记 (3)
0 项奖励
回复
1 解答
299 次查看
diego_charles
NXP TechSupport
NXP TechSupport

Hi @burhanhagi 

To avoid your linker script modifications getting overwriten you can un-tick the Manage linker script 

diego_charles_0-1715105312087.png

But this may not be the best solution since MCUXpresso will not longer update the linker script. 

This section should be included to new project  when the FreeRTOS OS is selected. See the below snapshot. 

diego_charles_1-1715106201196.png

 

diego_charles_0-1715106165203.png

Now, if you do not want to create a new project, you can use the Manage SDK options and select FreeRTOS.

diego_charles_3-1715106469120.png

diego_charles_4-1715106510015.png

After clicking OK the below window will pop-up. Please consider that the IDE will ask if you wish to update your current SDK drivers, depending on your project and its configuration this could, in the worst scenario some clonficts, just be aware of that. 

 

diego_charles_2-1715106452511.png

After buiding, you should see the missing section. 

 

 

 

I really hope this could help you 

Diego

 

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
288 次查看
burhanhagi
Contributor III

@diego_charles  thank you very much

0 项奖励
回复
300 次查看
diego_charles
NXP TechSupport
NXP TechSupport

Hi @burhanhagi 

To avoid your linker script modifications getting overwriten you can un-tick the Manage linker script 

diego_charles_0-1715105312087.png

But this may not be the best solution since MCUXpresso will not longer update the linker script. 

This section should be included to new project  when the FreeRTOS OS is selected. See the below snapshot. 

diego_charles_1-1715106201196.png

 

diego_charles_0-1715106165203.png

Now, if you do not want to create a new project, you can use the Manage SDK options and select FreeRTOS.

diego_charles_3-1715106469120.png

diego_charles_4-1715106510015.png

After clicking OK the below window will pop-up. Please consider that the IDE will ask if you wish to update your current SDK drivers, depending on your project and its configuration this could, in the worst scenario some clonficts, just be aware of that. 

 

diego_charles_2-1715106452511.png

After buiding, you should see the missing section. 

 

 

 

I really hope this could help you 

Diego

 

 

0 项奖励
回复