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.
However, in my project, linker script file is as below;
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?
Solved! Go to Solution.
Hi @burhanhagi
To avoid your linker script modifications getting overwriten you can un-tick the Manage linker script
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.
Now, if you do not want to create a new project, you can use the Manage SDK options and select FreeRTOS.
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.
After buiding, you should see the missing section.
I really hope this could help you
Diego
@diego_charles thank you very much
Hi @burhanhagi
To avoid your linker script modifications getting overwriten you can un-tick the Manage linker script
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.
Now, if you do not want to create a new project, you can use the Manage SDK options and select FreeRTOS.
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.
After buiding, you should see the missing section.
I really hope this could help you
Diego