mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
targets/TARGET_NUVOTON/TARGET_M451/device/TOOLCHAIN_IAR/M453.icf@163:74e0ce7f98e8, 2017-04-28 (annotated)
- Committer:
- Anna Bridge
- Date:
- Fri Apr 28 14:04:18 2017 +0100
- Revision:
- 163:74e0ce7f98e8
- Parent:
- 151:5eaa88a5bcc7
- Child:
- 172:7d866c31b3c5
This updates the lib to the mbed lib v141
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" */ |
Anna Bridge |
163:74e0ce7f98e8 | 4 | if (!isdefinedsymbol(MBED_APP_START)) { define symbol MBED_APP_START = 0x00000000; } |
Anna Bridge |
163:74e0ce7f98e8 | 5 | if (!isdefinedsymbol(MBED_APP_SIZE)) { define symbol MBED_APP_SIZE = 0x00040000; } |
<> | 149:156823d33999 | 6 | /*-Specials-*/ |
Anna Bridge |
163:74e0ce7f98e8 | 7 | define symbol __ICFEDIT_intvec_start__ = MBED_APP_START; |
<> | 149:156823d33999 | 8 | /*-Memory Regions-*/ |
Anna Bridge |
163:74e0ce7f98e8 | 9 | define symbol __ICFEDIT_region_ROM_start__ = MBED_APP_START; |
Anna Bridge |
163:74e0ce7f98e8 | 10 | define symbol __ICFEDIT_region_ROM_end__ = MBED_APP_START + MBED_APP_SIZE - 1; |
<> | 149:156823d33999 | 11 | define symbol __ICFEDIT_region_IRAM_start__ = 0x20000000; |
<> | 149:156823d33999 | 12 | define symbol __ICFEDIT_region_IRAM_end__ = 0x20008000; |
<> | 149:156823d33999 | 13 | /*-Sizes-*/ |
<> | 151:5eaa88a5bcc7 | 14 | define symbol __ICFEDIT_size_cstack__ = 0x800; |
<> | 149:156823d33999 | 15 | define symbol __ICFEDIT_size_heap__ = 0x4000; |
<> | 149:156823d33999 | 16 | /**** End of ICF editor section. ###ICF###*/ |
<> | 149:156823d33999 | 17 | |
<> | 149:156823d33999 | 18 | |
<> | 149:156823d33999 | 19 | define memory mem with size = 4G; |
<> | 149:156823d33999 | 20 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; |
<> | 149:156823d33999 | 21 | define region IRAM_region = mem:[from __ICFEDIT_region_IRAM_start__ to __ICFEDIT_region_IRAM_end__]; |
<> | 149:156823d33999 | 22 | |
<> | 149:156823d33999 | 23 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; |
<> | 149:156823d33999 | 24 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; |
<> | 149:156823d33999 | 25 | /* NOTE: Vector table base requires to be aligned to the power of vector table size. Give a safe value here. */ |
<> | 149:156823d33999 | 26 | define block IRAMVEC with alignment = 1024, size = 4 * (16 + 64) { }; |
<> | 149:156823d33999 | 27 | |
<> | 149:156823d33999 | 28 | |
<> | 149:156823d33999 | 29 | initialize by copy { readwrite }; |
<> | 149:156823d33999 | 30 | do not initialize { section .noinit }; |
<> | 149:156823d33999 | 31 | |
<> | 149:156823d33999 | 32 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; |
<> | 149:156823d33999 | 33 | |
<> | 149:156823d33999 | 34 | place in ROM_region { readonly }; |
<> | 149:156823d33999 | 35 | place at start of IRAM_region { block CSTACK }; |
<> | 149:156823d33999 | 36 | place in IRAM_region { block IRAMVEC }; |
<> | 149:156823d33999 | 37 | place in IRAM_region { readwrite }; |
<> | 149:156823d33999 | 38 | place in IRAM_region { block HEAP }; |