imxrt1176 freertos linkerscript file problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imxrt1176 freertos linkerscript file problem

ソリューションへジャンプ
652件の閲覧回数
burhanhagi
Contributor IV

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 解決策
627件の閲覧回数
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

 

 

元の投稿で解決策を見る

2 返答(返信)
616件の閲覧回数
burhanhagi
Contributor IV

@diego_charles  thank you very much

0 件の賞賛
返信
628件の閲覧回数
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