diff options
Diffstat (limited to 'lib/chibios/os/common/startup/ARM/compilers/GCC/ld/LPC2148.ld')
-rw-r--r-- | lib/chibios/os/common/startup/ARM/compilers/GCC/ld/LPC2148.ld | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/lib/chibios/os/common/startup/ARM/compilers/GCC/ld/LPC2148.ld b/lib/chibios/os/common/startup/ARM/compilers/GCC/ld/LPC2148.ld new file mode 100644 index 000000000..45046cfcb --- /dev/null +++ b/lib/chibios/os/common/startup/ARM/compilers/GCC/ld/LPC2148.ld | |||
@@ -0,0 +1,43 @@ | |||
1 | /* | ||
2 | ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio | ||
3 | |||
4 | Licensed under the Apache License, Version 2.0 (the "License"); | ||
5 | you may not use this file except in compliance with the License. | ||
6 | You may obtain a copy of the License at | ||
7 | |||
8 | http://www.apache.org/licenses/LICENSE-2.0 | ||
9 | |||
10 | Unless required by applicable law or agreed to in writing, software | ||
11 | distributed under the License is distributed on an "AS IS" BASIS, | ||
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
13 | See the License for the specific language governing permissions and | ||
14 | limitations under the License. | ||
15 | */ | ||
16 | |||
17 | /* | ||
18 | * LPC2148 memory setup. | ||
19 | */ | ||
20 | MEMORY | ||
21 | { | ||
22 | flash : org = 0x00000000, len = 512k - 12k | ||
23 | ram0 : org = 0x40000200, len = 32k - 0x200 - 288 | ||
24 | ram1 : org = 0x00000000, len = 0 | ||
25 | ram2 : org = 0x00000000, len = 0 | ||
26 | ram3 : org = 0x00000000, len = 0 | ||
27 | ram4 : org = 0x00000000, len = 0 | ||
28 | ram5 : org = 0x00000000, len = 0 | ||
29 | ram6 : org = 0x00000000, len = 0 | ||
30 | ram7 : org = 0x00000000, len = 0 | ||
31 | } | ||
32 | |||
33 | /* RAM region to be used for stacks. This stack accommodates the processing | ||
34 | of all exceptions and interrupts*/ | ||
35 | REGION_ALIAS("STACKS_RAM", ram0); | ||
36 | |||
37 | /* RAM region to be used for data segment.*/ | ||
38 | REGION_ALIAS("DATA_RAM", ram0); | ||
39 | |||
40 | /* RAM region to be used for BSS segment.*/ | ||
41 | REGION_ALIAS("BSS_RAM", ram0); | ||
42 | |||
43 | INCLUDE rules.ld | ||