mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
targets/TARGET_NUVOTON/TARGET_NUC472/device/TOOLCHAIN_IAR/TARGET_NU_XRAM_SUPPORTED/NUC472_442.icf@163:74e0ce7f98e8, 2017-04-28 (annotated)
- Committer:
- Anna Bridge
- Date:
- Fri Apr 28 14:04:18 2017 +0100
- Revision:
- 163:74e0ce7f98e8
- Parent:
- 160:d5399cc887bb
- 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 = 0x00080000; } |
<> | 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__ = 0x20010000; |
<> | 149:156823d33999 | 13 | define symbol __ICFEDIT_region_XRAM_start__ = 0x60000000; |
<> | 149:156823d33999 | 14 | define symbol __ICFEDIT_region_XRAM_end__ = 0x60100000; |
<> | 149:156823d33999 | 15 | /*-Sizes-*/ |
<> | 151:5eaa88a5bcc7 | 16 | define symbol __ICFEDIT_size_cstack__ = 0x800; |
<> | 149:156823d33999 | 17 | define symbol __ICFEDIT_size_heap__ = 0xC0000; |
<> | 149:156823d33999 | 18 | /**** End of ICF editor section. ###ICF###*/ |
<> | 149:156823d33999 | 19 | |
<> | 149:156823d33999 | 20 | |
<> | 149:156823d33999 | 21 | define memory mem with size = 4G; |
<> | 149:156823d33999 | 22 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; |
<> | 149:156823d33999 | 23 | define region IRAM_region = mem:[from __ICFEDIT_region_IRAM_start__ to __ICFEDIT_region_IRAM_end__]; |
<> | 149:156823d33999 | 24 | define region XRAM_region = mem:[from __ICFEDIT_region_XRAM_start__ to __ICFEDIT_region_XRAM_end__]; |
<> | 149:156823d33999 | 25 | |
<> | 149:156823d33999 | 26 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; |
<> | 149:156823d33999 | 27 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; |
<> | 149:156823d33999 | 28 | /* NOTE: Vector table base requires to be aligned to the power of vector table size. Give a safe value here. */ |
<> | 149:156823d33999 | 29 | define block IRAMVEC with alignment = 1024, size = 4 * (16 + 142) { }; |
<> | 149:156823d33999 | 30 | /* Move non-critical libraries to external SRAM while internal SRAM is insufficient. */ |
<> | 149:156823d33999 | 31 | define block XRAM_NC with alignment = 8 { zeroinit object *lwip_*, zeroinit object *mesh_system.o }; |
<> | 149:156823d33999 | 32 | |
<> | 149:156823d33999 | 33 | |
<> | 149:156823d33999 | 34 | initialize by copy { readwrite }; |
<> | 149:156823d33999 | 35 | do not initialize { section .noinit }; |
<> | 149:156823d33999 | 36 | |
<> | 149:156823d33999 | 37 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; |
<> | 149:156823d33999 | 38 | |
<> | 149:156823d33999 | 39 | place in ROM_region { readonly }; |
<> | 149:156823d33999 | 40 | place at start of IRAM_region { block CSTACK }; |
<> | 149:156823d33999 | 41 | place in IRAM_region { block IRAMVEC }; |
<> | 149:156823d33999 | 42 | place in IRAM_region { readwrite }; |
<> | 149:156823d33999 | 43 | place in XRAM_region { block XRAM_NC, block HEAP }; |