imxrt1176 freertos linkerscript file problem

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

imxrt1176 freertos linkerscript file problem

Jump to solution
651 Views
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?

 

0 Kudos
Reply
1 Solution
626 Views
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

 

 

View solution in original post

2 Replies
615 Views
burhanhagi
Contributor IV

@diego_charles  thank you very much

0 Kudos
Reply
627 Views
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