blob: deff9295a38ce6f2ad1f008bf2b81cf4064a9b05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
MEMORY
{
flash : ORIGIN = 0x00100000, LENGTH = 256K - 1K /* save 1K for environment on top of flash */
ram : ORIGIN = 0x00200028, LENGTH = 64K-28
}
__stack_end__ = 0x00200000 + 64K - 4;
SECTIONS
{
. = 0;
startup : { *(.startup)} >flash
prog :
{
*(.text)
*(.text.*)
*(.rodata)
*(.rodata*)
*(.glue_7)
*(.glue_7t)
} >flash
__end_of_text__ = .;
.data :
{
*(.fastrun)
*(.ramfunc)
__data_beg__ = .; __data_beg_src__ = __end_of_text__;
*(.data)
*(.data.*)
__data_end__ = .;
__bss_beg__ = .;
*(.bss)
*(.bss.*)
. = ALIGN(32 / 8);
_end = . ; _bss_end__ = . ; __bss_end__ = . ; __end__ = . ;
} >ram
}
|