Table of Contents        Previous topic       Next topic       

LINKER->Drag And Drop Scripting->Introduction

The linker script is a plain text file and can be created and edited manually. Additionally the Embedded Development Studio provides a GUI linker scripting interface enabling the linker script to be created at the click of a button and edited using drag-and-drop.

The linker generates an output file, named <project name>.xsg, which contains information on the relocatable sections of the program.  This is used by the Embedded Development Studio to determine what input sections are available.  The program must therefore be built and linked at least once for the drag-and-drop input sections to be listed.  

This information file is generated even if the link process fails because some input sections have not been allocated.  So if any new sections are added to a program, the link should be attempted before the new input sections can be dragged into the MEMORY or SECTIONS blocks.