Project

General

Profile

Download (2.32 KB) Statistics
| Branch: | Tag: | Revision:
1
/* Memory Definitions */
2

    
3
MEMORY
4
{
5
  /* reserve 16K DFU area on top  of flash */
6
  /* FLASH  (rx) : ORIGIN = 0x00104000, LENGTH = (0x00020000 - 0x4000 - 0x400) */
7
  /* reserve 1k DFU area on top of RAM */
8
  DATA   (rw) : ORIGIN = 0x00202000, LENGTH = (0x00008000 - 0x2000)
9
  STACK  (rw) : ORIGIN = 0x00208000, LENGTH = 0x00000000
10
}
11

    
12

    
13
/* Section Definitions */
14

    
15
SECTIONS
16
{
17
	. = 0x00000000;
18
	/* first section is .text which is used for code */
19
	.text 0x00202000: AT ( 0x00000000 ) { 
20
  		src/start/Cstartup_app.o (.text)
21
		* (.text)
22
		* (.rodata*)
23
  		. = ALIGN(4);
24

    
25
  	_etext = . ;
26
	PROVIDE (etext = .);
27

    
28
  		_data = . ;
29
		* (.fastrun)
30
  		* (.data)
31
  		. = ALIGN(4);
32
  	} >DATA
33

    
34
  	_edata = . ;
35
	PROVIDE (edata = .);
36

    
37
	/* .bss section which is used for uninitialized data */
38
	.bss : {
39
		__bss_start = . ;
40
		__bss_start__ = . ;
41
		*(.bss)
42
		*(COMMON)
43
	} >DATA
44

    
45
	. = ALIGN(4);
46
	__bss_end__ = . ;
47
	__bss_end__ = . ;
48

    
49
	PROVIDE (main = .);
50

    
51
	_end = . ;
52

    
53
	. = ALIGN(4);
54
	.int_data : { 
55
		*(.internal_ram_top) 
56
   	} >STACK 
57

    
58
	PROVIDE (end = .);
59

    
60
  /* Stabs debugging sections.  */
61
  .stab          0 : { *(.stab) }
62
  .stabstr       0 : { *(.stabstr) }
63
  .stab.excl     0 : { *(.stab.excl) }
64
  .stab.exclstr  0 : { *(.stab.exclstr) }
65
  .stab.index    0 : { *(.stab.index) }
66
  .stab.indexstr 0 : { *(.stab.indexstr) }
67
  .comment       0 : { *(.comment) }
68
  /* DWARF debug sections.
69
     Symbols in the DWARF debugging sections are relative to the beginning
70
     of the section so we begin them at 0.  */
71
  /* DWARF 1 */
72
  .debug          0 : { *(.debug) }
73
  .line           0 : { *(.line) }
74
  /* GNU DWARF 1 extensions */
75
  .debug_srcinfo  0 : { *(.debug_srcinfo) }
76
  .debug_sfnames  0 : { *(.debug_sfnames) }
77
  /* DWARF 1.1 and DWARF 2 */
78
  .debug_aranges  0 : { *(.debug_aranges) }
79
  .debug_pubnames 0 : { *(.debug_pubnames) }
80
  /* DWARF 2 */
81
  .debug_info     0 : { *(.debug_info .gnu.linkonce.wi.*) }
82
  .debug_abbrev   0 : { *(.debug_abbrev) }
83
  .debug_line     0 : { *(.debug_line) }
84
  .debug_frame    0 : { *(.debug_frame) }
85
  .debug_str      0 : { *(.debug_str) }
86
  .debug_loc      0 : { *(.debug_loc) }
87
  .debug_macinfo  0 : { *(.debug_macinfo) }
88
  /* SGI/MIPS DWARF 2 extensions */
89
  .debug_weaknames 0 : { *(.debug_weaknames) }
90
  .debug_funcnames 0 : { *(.debug_funcnames) }
91
  .debug_typenames 0 : { *(.debug_typenames) }
92
  .debug_varnames  0 : { *(.debug_varnames) }
93

    
94
}
(1-1/7)
Add picture from clipboard (Maximum size: 48.8 MB)