summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tms320dm320/dsp/linker.cmd
blob: c2ae5f0c6bebe7109081eec493a8342f27a8d610 (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
29
30
31
32
33
34
35
36
37
38
39
-c
-x 
-stack 0x1000 
-heap  0x100 

/* The rtx500.lib should be included if you want proper initialization, 
 *  currently the program is setup so that it is not necessary to save space.
 *  reset vector should jump to _c_int00 if initialization is needed.
 *
 * -l rts500.lib*/
 
MEMORY
{
PAGE 0:
    DARAM (RWIX): origin =  80h,    length =  7F00h
    VECS  (RIX) : origin =  7F80h,  length =  80h
    
    /* SARAM can be read and written to, but it cannot execute and does not need
     *  to be initialized. */
    SARAM (RW)  : origin =  8000h,  length =  4000h
}

SECTIONS
{
    .text   > DARAM PAGE 0
    .cinit  > DARAM PAGE 0
    .switch > DARAM PAGE 0
    .data   > DARAM PAGE 0

    .bss    > DARAM PAGE 0
    .const  > DARAM PAGE 0
    .sysmem > DARAM PAGE 0
    .stack  > DARAM PAGE 0

    .vectors > VECS PAGE 0

    /* DMA buffers for ABU mode must start on a 2*size boundary. */
    .dma    > SARAM PAGE 0
}