-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgcc_nrf51822_gpstime.ld
63 lines (54 loc) · 1.07 KB
/
gcc_nrf51822_gpstime.ld
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
MEMORY
{
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 128K
RAM (rxw) : ORIGIN = 0x20000000, LENGTH = 16K
}
ENTRY(Reset_Handler)
SECTIONS
{
.text :
{
__rom_start__ = .;
KEEP(*(.Vectors))
*(.text.*)
*(.text)
*(.glue_7)
*(.glue_7t)
*(.vfp11_veneer)
*(.v4_bx)
*(.rodata.*)
*(.rodata)
*(.rodata1)
. = ALIGN(8);
} >FLASH
__etext = .;
__data_src_start__ = .;
.data :
{
__data_start__ = .;
*(.ramtext)
*(.data.*)
*(.data)
*(.data1)
. = ALIGN(8);
__data_end__ = .;
} >RAM AT >FLASH
__rom_end__ = __data_src_start__ + SIZEOF(.data);
.bss :
{
__bss_start__ = .;
*(.bss.*)
*(.bss)
*(COMMON)
. = ALIGN(8);
__bss_end__ = .;
} >RAM
__stack_top__ = ORIGIN(RAM) + LENGTH(RAM);
PROVIDE(__stack = __stack_top__);
/* C++ exceptions not supported */
/DISCARD/ :
{
*(.ARM.extab)
*(.ARM.exidx)
}
}