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