]> begriffs open source - cmsis-freertos/blob - Demo/CORTEX_LM3S811_IAR/LM3S811.icf
osEventFlagsWait: Fix flag comparison
[cmsis-freertos] / Demo / CORTEX_LM3S811_IAR / LM3S811.icf
1 //*****************************************************************************
2 //
3 // boot_demo1.icf - Linker configuration file for boot_demo1.
4 //
5 // Copyright (c) 2007 Luminary Micro, Inc.  All rights reserved.
6 // Luminary Micro Confidential - For Use Under NDA Only
7 //
8 //*****************************************************************************
9
10 //
11 // Define a memory region that covers the entire 4 GB addressible space of the
12 // processor.
13 //
14 define memory mem with size = 4G;
15
16 //
17 // Define a region for the on-chip flash.
18 //
19 define region FLASH = mem:[from 0x00000000 to 0x0000ffff];
20
21 //
22 // Define a region for the on-chip SRAM.
23 //
24 define region SRAM = mem:[from 0x20000000 to 0x20001fff];
25
26 //
27 // Define a block for the heap.  The size should be set to something other
28 // than zero if things in the C library that require the heap are used.
29 //
30 define block HEAP with alignment = 8, size = 0x00000000 { };
31
32 //
33 // Indicate that the read/write values should be initialized by copying from
34 // flash.
35 //
36 initialize by copy { readwrite };
37
38 //
39 // Initicate that the noinit values should be left alone.  This includes the
40 // stack, which if initialized will destroy the return address from the
41 // initialization code, causing the processor to branch to zero and fault.
42 //
43 do not initialize { section .noinit };
44
45 //
46 // Place the interrupt vectors at the start of flash.
47 //
48 place at start of FLASH { readonly section .intvec };
49
50 //
51 // Place the remainder of the read-only items into flash.
52 //
53 place in FLASH { readonly };
54
55 //
56 // Place all read/write items into SRAM.
57 //
58 place in SRAM { readwrite, block HEAP };