blob: 3be097848b02b063882fdd762cc3207668653c22 (
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
|
MEMORY {
flash : ORIGIN = 0x00000000, LENGTH = 256K
ram : ORIGIN = 0x1FFF8000, LENGTH = 64K
}
SECTIONS {
.text : {
KEEP(*(.vectors))
. = 0x400;
KEEP(*(.flashconfig*))
*(.startup*)
*(.text*)
*(.rodata*)
} >flash
.data : { *(.data*) } >ram AT>flash
.bss : { *(.bss*) } >ram
_sdata = ADDR(.data);
_edata = ADDR(.data) + SIZEOF(.data);
_ldata = LOADADDR(.data);
_sbss = ADDR(.bss);
_ebss = ADDR(.bss) + SIZEOF(.bss);
_estack = ORIGIN(ram) + LENGTH(ram);
}
|