Skip to main content
Knowledgebase
Home
Renesas India - Knowledgebase

What do I do if the linker script is deleted from ISDE?

Latest Updated:10/11/2016

Question:

I get an error because the linker script got deleted from ISDE. My error shows up as Id returned 1 exit status, undefined reference to'__StackTop. What do I do?.

Answer:

If you see the below error message the linker script has been deleted in your ISDE. The solution follows the error message image.

Linker1.PNG

The solution is to:

  1. Select your project and make sure it is open.

  2. Go to the project settings (ALT + T).

  3. Go to Cross ARM C Linker > General

General.png

  1. Click the plus symbol  at the top of the window
  2. Enter the following:
    ${workspace_loc:/${ProjName}/script/S7G2.ld}

  3. Click OK

  4. Scroll down to the bottom of the General window to see the Restore Defaults and Apply buttons, just after the check box list.

  5. Click Apply.

  6. Click OK and the window closes. Your linker script should now be back in working order.