forked from dhansel/pigfx
-
Notifications
You must be signed in to change notification settings - Fork 1
/
memmap
41 lines (33 loc) · 735 Bytes
/
memmap
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
MEMORY
{
ram : ORIGIN = 0x8000, LENGTH = 10M
}
heap_size = 65536;
SECTIONS
{
.text : { *(.text*) } > ram
.rodata ALIGN(4096) : { *(.rodata*) } > ram
.data ALIGN(4096): { *(.data*) } > ram
/* Uninitialized data section */
.bss ALIGN(4): {
__bss_start__ = .;
*(.bss*)
} > ram
. = ALIGN(4);
__bss_end__ = .;
__bss_size__ = __bss_end__ - __bss_start__;
.heap ALIGN(4): {
_heap_start = .;
. = . + heap_size;
_heap_end = .;
} > ram
/* Remove information from the standard libraries
/DISCARD/ :
{
libc.a ( * )
libm.a ( * )
libgcc.a ( * )
}
*/
.ARM.attributes 0 : { *(.ARM.attributes) }
}