]> begriffs open source - cmsis-freertos/blob - Demo/CORTEX_LM3S811_GCC/standalone.ld
This is a FreeRTOS header, not RTX.
[cmsis-freertos] / Demo / CORTEX_LM3S811_GCC / standalone.ld
1 /******************************************************************************
2  *
3  * standalone.ld - Linker script for applications using startup.c and
4  *                 DriverLib.
5  *
6  * Copyright (c) 2005-2007 Luminary Micro, Inc.  All rights reserved.
7  *
8  * Software License Agreement
9  *
10  * Luminary Micro, Inc. (LMI) is supplying this software for use solely and
11  * exclusively on LMI's microcontroller products.
12  *
13  * The software is owned by LMI and/or its suppliers, and is protected under
14  * applicable copyright laws.  All rights are reserved.  Any use in violation
15  * of the foregoing restrictions may subject the user to criminal sanctions
16  * under applicable laws, as well as to civil liability for the breach of the
17  * terms and conditions of this license.
18  *
19  * THIS SOFTWARE IS PROVIDED "AS IS".  NO WARRANTIES, WHETHER EXPRESS, IMPLIED
20  * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
21  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
22  * LMI SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
23  * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
24  *
25  * This is part of revision 1049 of the Stellaris Driver Library.
26  *
27  *****************************************************************************/
28
29 MEMORY
30 {
31     FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 64K
32     SRAM (rwx) : ORIGIN = 0x20000000, LENGTH = 8K
33 }
34
35 SECTIONS
36 {
37     .text :
38     {
39         KEEP(*(.isr_vector))
40         *(.text)
41         *(.rodata*)
42         _etext = .;
43     } > FLASH
44
45     .data : AT (ADDR(.text) + SIZEOF(.text))
46     {
47         _data = .;
48         *(vtable)
49         *(.data)
50         _edata = .;
51     } > SRAM
52
53     .bss :
54     {
55         _bss = .;
56         *(.bss)
57         *(COMMON)
58         _ebss = .;
59     } > SRAM
60 }