1//*****************************************************************************
2//
3// hello.icf - Linker configuration file for hello.
4//
5// Copyright (c) 2012-2017 Texas Instruments Incorporated.  All rights reserved.
6// Software License Agreement
7//
8// Texas Instruments (TI) is supplying this software for use solely and
9// exclusively on TI's microcontroller products. The software is owned by
10// TI and/or its suppliers, and is protected under applicable copyright
11// laws. You may not combine this software with "viral" open-source
12// software in order to form a larger program.
13//
14// THIS SOFTWARE IS PROVIDED "AS IS" AND WITH ALL FAULTS.
15// NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT
16// NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
17// A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. TI SHALL NOT, UNDER ANY
18// CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
19// DAMAGES, FOR ANY REASON WHATSOEVER.
20//
21// This is part of revision 2.1.4.178 of the EK-TM4C123GXL Firmware Package.
22//
23//*****************************************************************************
24
25//
26// Define a memory region that covers the entire 4 GB addressible space of the
27// processor.
28//
29define memory mem with size = 4G;
30
31//
32// Define a region for the on-chip flash.
33//
34define region FLASH = mem:[from 0x00000000 to 0x0003ffff];
35
36//
37// Define a region for the on-chip SRAM.
38//
39define region SRAM = mem:[from 0x20000000 to 0x20007fff];
40
41//
42// Define a block for the heap.  The size should be set to something other
43// than zero if things in the C library that require the heap are used.
44//
45define block HEAP with alignment = 8, size = 0x00000000 { };
46
47//
48// Indicate that the read/write values should be initialized by copying from
49// flash.
50//
51initialize by copy { readwrite };
52
53//
54// Indicate that the noinit values should be left alone.  This includes the
55// stack, which if initialized will destroy the return address from the
56// initialization code, causing the processor to branch to zero and fault.
57//
58do not initialize { section .noinit };
59
60//
61// Place the interrupt vectors at the start of flash.
62//
63place at start of FLASH { readonly section .intvec };
64
65//
66// Place the remainder of the read-only items into flash.
67//
68place in FLASH { readonly };
69
70//
71// Place the RAM vector table at the start of SRAM.
72//
73place at start of SRAM { section VTABLE };
74
75//
76// Place all read/write items into SRAM.
77//
78place in SRAM { readwrite, block HEAP };
79