Relocating Code and Data Using the KDS GCC Linker File for Kinetis

Document created by Carlos_Mendoza Employee on Apr 1, 2015Last modified by Diana Torres on Feb 28, 2017
Version 4Show Document
  • View in full screen mode

This document provides guidance for relocating Code and Data within the MCU memory map. As part of this process it explains how create new memory segments and sections by editing the GCC Linker File (.ld) for Kinetis Architectures.

 

Contents:

 

1.- Introduction

2.- Preliminary Backgrounds

3.- Linker File (.ld) Overview

4.- Relocating Code

4.1.- Prerequisites

4.2.- Relocating Code in ROM

4.3.- Relocating Code in RAM

4.4.- Relocating Code in a Specific RAM address

4.5.- Relocating Code in External RAM

5.- Relocating Data

6.- Linker File for RAM Project

 

Best Regards,

Carlos Mendoza

Technical Support Engineer

10 people found this helpful

Outcomes