Customizing Memory Layout of Embedded Programs with GNU Linker Scripts

This tutorial shows how to use linker scripts to control the memory layout of your embedded programs. We will create a basic “Blinking LED” program, add a new global variable to it and will use the linker script to place this variable in several specific memory locations. Before you begin, install VisualGDB 5.3 or later.

  1. Start Visual Studio and open the VisualGDB Embedded Project Wizard: