Debian Codegraph @

platforms/CCStudio/sim28335.cmd

raw
1 /************************************************************/
2 /* Linker command file for simulator only */
3 /************************************************************/
4
5 /* Contains only the bare necessities for running a unit test
6 * in the TI CCS 3.3 Simulator
7 */
8
9 MEMORY
10 {
11 PAGE 0 : /* Program Memory */
12
13 /* Flash as one big segment */
14 FLASH : origin = 0x300000, length = 0x040000
15
16 PAGE 1 : /* Data Memory */
17
18 /* Internal SARAM */
19 RAM_0 : origin = 0x000000, length = 0x002000
20 /* 0x2000 to 0x3FFF: Not defined */
21 STACK : origin = 0x004000, length = 0x004000 /* stack needs own segment in low RAM */
22 RAM_1 : origin = 0x008000, length = 0x008000
23
24 /* External memory */
25 EMEM : origin = 0x100000, length = 0x030000
26 }
27
28 SECTIONS
29 {
30 /* segment allocation */
31 .cinit : > FLASH, PAGE = 0 /* initialized internal RAM-data */
32 .pinit : > FLASH, PAGE = 0 /* initialized constructors */
33 .stack : > STACK, PAGE = 1
34 .text : > FLASH, PAGE = 0
35 .bss : > RAM_0, PAGE = 1
36 .ebss : > RAM_1, FILL = 0x0020, PAGE = 1 /* uninitialized external RAM-data */
37 .econst : > FLASH, PAGE = 0
38 .esysmem : > EMEM, PAGE = 1 /* not used if no malloc calls in code */
39 .cio : > RAM_0, PAGE = 1
40
41 /* keep the linker from complaining */
42 .reset : > FLASH, PAGE = 0, TYPE = DSECT /* not used */
43 }