-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlink.ld
More file actions
43 lines (39 loc) · 700 Bytes
/
Copy pathlink.ld
File metadata and controls
43 lines (39 loc) · 700 Bytes
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
MEMORY
{
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 2048K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 512K
RAM2 (xrw) : ORIGIN = 0x24000000, LENGTH = 512K
}
SECTIONS
{
.text :
{
KEEP(*(.isr_vector))
*(.text*)
KEEP(*(.init))
KEEP(*(.fini))
*(.rodata*)
. = ALIGN(4);
} >FLASH
.data :
{
_sdata = .;
*(.data*)
. = ALIGN(4);
_edata = .;
} >RAM AT> FLASH
.bss :
{
_sbss = .;
*(.bss*)
*(COMMON)
. = ALIGN(4);
_ebss = .;
} >RAM
.ram2 :
{
. = ALIGN(4);
*(.ram2*)
. = ALIGN(4);
} >RAM2
}