]> begriffs open source - cmsis-freertos/blob - Demo/WizNET_DEMO_GCC_ARM7/lpc2106-rom.ld
Update cmsis_os2.c
[cmsis-freertos] / Demo / WizNET_DEMO_GCC_ARM7 / lpc2106-rom.ld
1 MEMORY 
2 {
3         flash   : ORIGIN = 0, LENGTH = 120K
4         ram             : ORIGIN = 0x40000000, LENGTH = 64K
5 }
6
7 __stack_end__ = 0x40000000 + 64K - 4;
8
9 SECTIONS 
10 {
11         . = 0;
12         startup : { *(.startup)} >flash
13
14         prog : 
15         {
16                 *(.text)
17                 *(.rodata)
18                 *(.rodata*)
19                 *(.glue_7)
20                 *(.glue_7t)
21         } >flash
22
23         __end_of_text__ = .;
24
25         .data : 
26         {
27                 __data_beg__ = .;
28                 __data_beg_src__ = __end_of_text__;
29                 *(.data)
30                 __data_end__ = .;
31         } >ram AT>flash
32
33         .bss : 
34         {
35                 __bss_beg__ = .;
36                 *(.bss)
37         } >ram
38
39         /* Align here to ensure that the .bss section occupies space up to
40         _end.  Align after .bss to ensure correct alignment even if the
41         .bss section disappears because there are no input sections.  */
42         . = ALIGN(32 / 8);
43 }
44         . = ALIGN(32 / 8);
45         _end = .;
46         _bss_end__ = . ; __bss_end__ = . ; __end__ = . ;
47         PROVIDE (end = .);
48
49