OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [MSP430X_MSP430F5438_CCS4/] [lnk_msp430f5438a.cmd] - Blame information for rev 592

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 584 jeremybenn
/******************************************************************************/
2
/* lnk_msp430f5438a.cmd - LINKER COMMAND FILE FOR LINKING MSP430F5438A PROGRAMS     */
3
/*                                                                            */
4
/*   Usage:  lnk430     -o  -m  lnk.cmd     */
5
/*           cl430   -z -o  -m  lnk.cmd     */
6
/*                                                                            */
7
/*----------------------------------------------------------------------------*/
8
/* These linker options are for command line linking only.  For IDE linking,  */
9
/* you should set your linker options in Project Properties                   */
10
/* -c                                               LINK USING C CONVENTIONS  */
11
/* -stack  0x0100                                   SOFTWARE STACK SIZE       */
12
/* -heap   0x0100                                   HEAP AREA SIZE            */
13
/*                                                                            */
14
/*----------------------------------------------------------------------------*/
15
 
16
 
17
/****************************************************************************/
18
/* SPECIFY THE SYSTEM MEMORY MAP                                            */
19
/****************************************************************************/
20
 
21
MEMORY
22
{
23
    SFR                     : origin = 0x0000, length = 0x0010
24
    PERIPHERALS_8BIT        : origin = 0x0010, length = 0x00F0
25
    PERIPHERALS_16BIT       : origin = 0x0100, length = 0x0100
26
    RAM                     : origin = 0x1C00, length = 0x4000
27
    INFOA                   : origin = 0x1980, length = 0x0080
28
    INFOB                   : origin = 0x1900, length = 0x0080
29
    INFOC                   : origin = 0x1880, length = 0x0080
30
    INFOD                   : origin = 0x1800, length = 0x0080
31
    FLASH                   : origin = 0x5C00, length = 0xA380
32
    FLASH2                  : origin = 0x10000,length = 0x35C00
33
    INT00                   : origin = 0xFF80, length = 0x0002
34
    INT01                   : origin = 0xFF82, length = 0x0002
35
    INT02                   : origin = 0xFF84, length = 0x0002
36
    INT03                   : origin = 0xFF86, length = 0x0002
37
    INT04                   : origin = 0xFF88, length = 0x0002
38
    INT05                   : origin = 0xFF8A, length = 0x0002
39
    INT06                   : origin = 0xFF8C, length = 0x0002
40
    INT07                   : origin = 0xFF8E, length = 0x0002
41
    INT08                   : origin = 0xFF90, length = 0x0002
42
    INT09                   : origin = 0xFF92, length = 0x0002
43
    INT10                   : origin = 0xFF94, length = 0x0002
44
    INT11                   : origin = 0xFF96, length = 0x0002
45
    INT12                   : origin = 0xFF98, length = 0x0002
46
    INT13                   : origin = 0xFF9A, length = 0x0002
47
    INT14                   : origin = 0xFF9C, length = 0x0002
48
    INT15                   : origin = 0xFF9E, length = 0x0002
49
    INT16                   : origin = 0xFFA0, length = 0x0002
50
    INT17                   : origin = 0xFFA2, length = 0x0002
51
    INT18                   : origin = 0xFFA4, length = 0x0002
52
    INT19                   : origin = 0xFFA6, length = 0x0002
53
    INT20                   : origin = 0xFFA8, length = 0x0002
54
    INT21                   : origin = 0xFFAA, length = 0x0002
55
    INT22                   : origin = 0xFFAC, length = 0x0002
56
    INT23                   : origin = 0xFFAE, length = 0x0002
57
    INT24                   : origin = 0xFFB0, length = 0x0002
58
    INT25                   : origin = 0xFFB2, length = 0x0002
59
    INT26                   : origin = 0xFFB4, length = 0x0002
60
    INT27                   : origin = 0xFFB6, length = 0x0002
61
    INT28                   : origin = 0xFFB8, length = 0x0002
62
    INT29                   : origin = 0xFFBA, length = 0x0002
63
    INT30                   : origin = 0xFFBC, length = 0x0002
64
    INT31                   : origin = 0xFFBE, length = 0x0002
65
    INT32                   : origin = 0xFFC0, length = 0x0002
66
    INT33                   : origin = 0xFFC2, length = 0x0002
67
    INT34                   : origin = 0xFFC4, length = 0x0002
68
    INT35                   : origin = 0xFFC6, length = 0x0002
69
    INT36                   : origin = 0xFFC8, length = 0x0002
70
    INT37                   : origin = 0xFFCA, length = 0x0002
71
    INT38                   : origin = 0xFFCC, length = 0x0002
72
    INT39                   : origin = 0xFFCE, length = 0x0002
73
    INT40                   : origin = 0xFFD0, length = 0x0002
74
    INT41                   : origin = 0xFFD2, length = 0x0002
75
    INT42                   : origin = 0xFFD4, length = 0x0002
76
    INT43                   : origin = 0xFFD6, length = 0x0002
77
    INT44                   : origin = 0xFFD8, length = 0x0002
78
    INT45                   : origin = 0xFFDA, length = 0x0002
79
    INT46                   : origin = 0xFFDC, length = 0x0002
80
    INT47                   : origin = 0xFFDE, length = 0x0002
81
    INT48                   : origin = 0xFFE0, length = 0x0002
82
    INT49                   : origin = 0xFFE2, length = 0x0002
83
    INT50                   : origin = 0xFFE4, length = 0x0002
84
    INT51                   : origin = 0xFFE6, length = 0x0002
85
    INT52                   : origin = 0xFFE8, length = 0x0002
86
    INT53                   : origin = 0xFFEA, length = 0x0002
87
    INT54                   : origin = 0xFFEC, length = 0x0002
88
    INT55                   : origin = 0xFFEE, length = 0x0002
89
    INT56                   : origin = 0xFFF0, length = 0x0002
90
    INT57                   : origin = 0xFFF2, length = 0x0002
91
    INT58                   : origin = 0xFFF4, length = 0x0002
92
    INT59                   : origin = 0xFFF6, length = 0x0002
93
    INT60                   : origin = 0xFFF8, length = 0x0002
94
    INT61                   : origin = 0xFFFA, length = 0x0002
95
    INT62                   : origin = 0xFFFC, length = 0x0002
96
    RESET                   : origin = 0xFFFE, length = 0x0002
97
}
98
 
99
/****************************************************************************/
100
/* SPECIFY THE SECTIONS ALLOCATION INTO MEMORY                              */
101
/****************************************************************************/
102
 
103
SECTIONS
104
{
105
    .bss       : {} > RAM                /* GLOBAL & STATIC VARS              */
106
    .sysmem    : {} > RAM                /* DYNAMIC MEMORY ALLOCATION AREA    */
107
    .stack     : {} > RAM (HIGH)         /* SOFTWARE SYSTEM STACK             */
108
 
109
/* Can be modified to test the use of high memory. */
110
/* Original line. */
111
    .text      : {}>> FLASH | FLASH2   /* CODE                              */
112
/* Modified line. */
113
/*    .text      : {}>> FLASH2 */              /* CODE                              */
114
        .main      : {} > FLASH
115
    .text:_isr : {} > FLASH              /* ISR CODE SPACE                    */
116
    .cinit     : {} > FLASH              /* INITIALIZATION TABLES             */
117
//#ifdef (__LARGE_DATA_MODEL__)
118
    .const     : {} > FLASH | FLASH2     /* CONSTANT DATA                     */
119
//#else
120
//    .const     : {} > FLASH              /* CONSTANT DATA                     */
121
//#endif
122
    .cio       : {} > RAM                /* C I/O BUFFER                      */
123
 
124
    .pinit     : {} > FLASH              /* C++ CONSTRUCTOR TABLES            */
125
 
126
    .infoA     : {} > INFOA              /* MSP430 INFO FLASH MEMORY SEGMENTS */
127
    .infoB     : {} > INFOB
128
    .infoC     : {} > INFOC
129
    .infoD     : {} > INFOD
130
 
131
    .int00   : {} > INT00                /* MSP430 INTERRUPT VECTORS          */
132
    .int01   : {} > INT01
133
    .int02   : {} > INT02
134
    .int03   : {} > INT03
135
    .int04   : {} > INT04
136
    .int05   : {} > INT05
137
    .int06   : {} > INT06
138
    .int07   : {} > INT07
139
    .int08   : {} > INT08
140
    .int09   : {} > INT09
141
    .int10   : {} > INT10
142
    .int11   : {} > INT11
143
    .int12   : {} > INT12
144
    .int13   : {} > INT13
145
    .int14   : {} > INT14
146
    .int15   : {} > INT15
147
    .int16   : {} > INT16
148
    .int17   : {} > INT17
149
    .int18   : {} > INT18
150
    .int19   : {} > INT19
151
    .int20   : {} > INT20
152
    .int21   : {} > INT21
153
    .int22   : {} > INT22
154
    .int23   : {} > INT23
155
    .int24   : {} > INT24
156
    .int25   : {} > INT25
157
    .int26   : {} > INT26
158
    .int27   : {} > INT27
159
    .int28   : {} > INT28
160
    .int29   : {} > INT29
161
    .int30   : {} > INT30
162
    .int31   : {} > INT31
163
    .int32   : {} > INT32
164
    .int33   : {} > INT33
165
    .int34   : {} > INT34
166
    .int35   : {} > INT35
167
    .int36   : {} > INT36
168
    .int37   : {} > INT37
169
    .int38   : {} > INT38
170
    .int39   : {} > INT39
171
    .int40   : {} > INT40
172
    .int41   : {} > INT41
173
    .int42   : {} > INT42
174
    .int43   : {} > INT43
175
    .int44   : {} > INT44
176
    .int45   : {} > INT45
177
    .int46   : {} > INT46
178
    .int47   : {} > INT47
179
    .int48   : {} > INT48
180
    .int49   : {} > INT49
181
    .int50   : {} > INT50
182
    .int51   : {} > INT51
183
    .int52   : {} > INT52
184
    .int53   : {} > INT53
185
    .int54   : {} > INT54
186
    .int55   : {} > INT55
187
    .int56   : {} > INT56
188
    .int57   : {} > INT57
189
    .int58   : {} > INT58
190
    .int59   : {} > INT59
191
    .int60   : {} > INT60
192
    .int61   : {} > INT61
193
    .int62   : {} > INT62
194
    .reset   : {} > RESET              /* MSP430 RESET VECTOR               */
195
}
196
 
197
/****************************************************************************/
198
/* INCLUDE PERIPHERALS MEMORY MAP                                           */
199
/****************************************************************************/
200
 
201
-l msp430f5438a.cmd
202
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.