| 1 |
/* |
| 2 |
Copyright (c) 2020 ARM Limited |
| 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 |
/* Memory regions */ |
| 18 |
MEMORY |
| 19 |
{ |
| 20 |
/* Ram configurations are for smallest KL25 in family - 4K */ |
| 21 |
m_all (rwx) : ORIGIN = 0x00000000, LENGTH = 0x600 |
| 22 |
} |
| 23 |
|
| 24 |
/* Define output sections */ |
| 25 |
SECTIONS |
| 26 |
{ |
| 27 |
|
| 28 |
.text : |
| 29 |
{ |
| 30 |
. = ALIGN(4); |
| 31 |
|
| 32 |
*(.text) /* .text sections (code) */ |
| 33 |
*(.text*) /* .text* sections (code) */ |
| 34 |
|
| 35 |
. = ALIGN(4); |
| 36 |
*(.data) /* .data sections */ |
| 37 |
*(.data*) /* .data* sections */ |
| 38 |
|
| 39 |
. = ALIGN(4); |
| 40 |
*(.bss) |
| 41 |
*(.bss*) |
| 42 |
*(COMMON) |
| 43 |
|
| 44 |
. = ALIGN(4); |
| 45 |
*(.rodata) /* .rodata sections (constants, strings, etc.) */ |
| 46 |
*(.rodata*) /* .rodata* sections (constants, strings, etc.) */ |
| 47 |
|
| 48 |
} >m_all |
| 49 |
|
| 50 |
} |