repo.or.cz
/
kugel-rb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Battery blinks if >BATTERY_LEVEL_DANGEROUS
[kugel-rb.git]
/
firmware
/
gdb.lds
blob
badb7856fc4797e46c187b973b4cd51ab77785e2
1
ENTRY(start)
2
OUTPUT_FORMAT(elf32-sh)
3
INPUT(crt0.o)
4
5
MEMORY
6
{
7
DRAM : ORIGIN = 0x09010000, LENGTH = 0x1f0000
8
IRAM : ORIGIN = 0x0f000000, LENGTH = 0x1000
9
}
10
11
SECTIONS
12
{
13
.vectors :
14
{
15
*(.resetvectors);
16
*(.vectors);
17
. = ALIGN(0x200);
18
*(.init.text)
19
} > DRAM
20
21
.text :
22
{
23
*(.text)
24
} > DRAM
25
26
.data :
27
{
28
*(.data)
29
} > DRAM
30
31
.rodata :
32
{
33
*(.rodata)
34
} > DRAM
35
36
.stack :
37
{
38
*(.stack)
39
_stackbegin = .;
40
/* We put the copy of the .iram section here to save space */
41
_iramcopy = .;
42
. = 0x2000;
43
_stackend = .;
44
} > DRAM
45
46
.bss :
47
{
48
_edata = .;
49
*(.bss)
50
*(COMMON)
51
_end = .;
52
} > DRAM
53
54
.heap :
55
{
56
_poolstart = .;
57
. = 0x20000;
58
_poolend = .;
59
} > DRAM
60
61
.mp3buf :
62
{
63
_mp3buf = .;
64
} > DRAM
65
66
.mp3end 0x09200000 :
67
{
68
_mp3end = .;
69
} > DRAM
70
71
.iram 0xf000000 : AT ( _iramcopy )
72
{
73
_iramstart = .;
74
*(.icode)
75
*(.idata)
76
_iramend = .;
77
} > IRAM
78
}