Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-dev by
targets/TARGET_NUVOTON/TARGET_M451/device/TOOLCHAIN_IAR/M453.icf@149:156823d33999, 2016-10-28 (annotated)
- Committer:
- <>
- Date:
- Fri Oct 28 11:17:30 2016 +0100
- Revision:
- 149:156823d33999
- Child:
- 151:5eaa88a5bcc7
This updates the lib to the mbed lib v128
NOTE: This release includes a restructuring of the file and directory locations and thus some
include paths in your code may need updating accordingly.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| <> | 149:156823d33999 | 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ |
| <> | 149:156823d33999 | 2 | /*-Editor annotation file-*/ |
| <> | 149:156823d33999 | 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ |
| <> | 149:156823d33999 | 4 | /*-Specials-*/ |
| <> | 149:156823d33999 | 5 | define symbol __ICFEDIT_intvec_start__ = 0x00000000; |
| <> | 149:156823d33999 | 6 | /*-Memory Regions-*/ |
| <> | 149:156823d33999 | 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x00000000; |
| <> | 149:156823d33999 | 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x00040000; |
| <> | 149:156823d33999 | 9 | define symbol __ICFEDIT_region_IRAM_start__ = 0x20000000; |
| <> | 149:156823d33999 | 10 | define symbol __ICFEDIT_region_IRAM_end__ = 0x20008000; |
| <> | 149:156823d33999 | 11 | /*-Sizes-*/ |
| <> | 149:156823d33999 | 12 | define symbol __ICFEDIT_size_cstack__ = 0x1000; |
| <> | 149:156823d33999 | 13 | define symbol __ICFEDIT_size_heap__ = 0x4000; |
| <> | 149:156823d33999 | 14 | /**** End of ICF editor section. ###ICF###*/ |
| <> | 149:156823d33999 | 15 | |
| <> | 149:156823d33999 | 16 | |
| <> | 149:156823d33999 | 17 | define memory mem with size = 4G; |
| <> | 149:156823d33999 | 18 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; |
| <> | 149:156823d33999 | 19 | define region IRAM_region = mem:[from __ICFEDIT_region_IRAM_start__ to __ICFEDIT_region_IRAM_end__]; |
| <> | 149:156823d33999 | 20 | |
| <> | 149:156823d33999 | 21 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; |
| <> | 149:156823d33999 | 22 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; |
| <> | 149:156823d33999 | 23 | /* NOTE: Vector table base requires to be aligned to the power of vector table size. Give a safe value here. */ |
| <> | 149:156823d33999 | 24 | define block IRAMVEC with alignment = 1024, size = 4 * (16 + 64) { }; |
| <> | 149:156823d33999 | 25 | |
| <> | 149:156823d33999 | 26 | |
| <> | 149:156823d33999 | 27 | initialize by copy { readwrite }; |
| <> | 149:156823d33999 | 28 | do not initialize { section .noinit }; |
| <> | 149:156823d33999 | 29 | |
| <> | 149:156823d33999 | 30 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; |
| <> | 149:156823d33999 | 31 | |
| <> | 149:156823d33999 | 32 | place in ROM_region { readonly }; |
| <> | 149:156823d33999 | 33 | place at start of IRAM_region { block CSTACK }; |
| <> | 149:156823d33999 | 34 | place in IRAM_region { block IRAMVEC }; |
| <> | 149:156823d33999 | 35 | place in IRAM_region { readwrite }; |
| <> | 149:156823d33999 | 36 | place in IRAM_region { block HEAP }; |
