mbed library sources

Fork of mbed-src by mbed official

Committer:
mbed_official
Date:
Fri Oct 31 13:30:07 2014 +0000
Revision:
377:95186f86029b
Synchronized with git revision 6a705fdadd9506b82acab4f0a20338360d1de636

Full URL: https://github.com/mbedmicro/mbed/commit/6a705fdadd9506b82acab4f0a20338360d1de636/

Tools: IAR export to Kinetis targets

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 377:95186f86029b 1 /*###ICF### Section handled by ICF editor, don't touch! ****/
mbed_official 377:95186f86029b 2 /*-Editor annotation file-*/
mbed_official 377:95186f86029b 3 /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
mbed_official 377:95186f86029b 4 /*-Specials-*/
mbed_official 377:95186f86029b 5 define symbol __ICFEDIT_intvec_start__ = 0x00000000;
mbed_official 377:95186f86029b 6 /*-Memory Regions-*/
mbed_official 377:95186f86029b 7 define symbol __ICFEDIT_region_ROM_start__ = 0x00000000;
mbed_official 377:95186f86029b 8 define symbol __ICFEDIT_region_ROM_end__ = 0x00007fff;
mbed_official 377:95186f86029b 9 define symbol __ICFEDIT_region_RAM_start__ = 0x1ffffc00;
mbed_official 377:95186f86029b 10 define symbol __ICFEDIT_region_RAM_end__ = 0x1fffffff;
mbed_official 377:95186f86029b 11 /*-Sizes-*/
mbed_official 377:95186f86029b 12 define symbol __ICFEDIT_size_cstack__ = 0x200;
mbed_official 377:95186f86029b 13 define symbol __ICFEDIT_size_heap__ = 0x200;
mbed_official 377:95186f86029b 14 /**** End of ICF editor section. ###ICF###*/
mbed_official 377:95186f86029b 15
mbed_official 377:95186f86029b 16 define symbol __region_RAM2_start__ = 0x20000000;
mbed_official 377:95186f86029b 17 define symbol __region_RAM2_end__ = 0x20000bff;
mbed_official 377:95186f86029b 18
mbed_official 377:95186f86029b 19 define symbol __FlashConfig_start__ = 0x00000400;
mbed_official 377:95186f86029b 20 define symbol __FlashConfig_end__ = 0x0000040f;
mbed_official 377:95186f86029b 21
mbed_official 377:95186f86029b 22 define memory mem with size = 4G;
mbed_official 377:95186f86029b 23 define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to (__FlashConfig_start__ - 1)] | mem:[from (__FlashConfig_end__+1) to __ICFEDIT_region_ROM_end__];
mbed_official 377:95186f86029b 24 define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__] | mem:[from __region_RAM2_start__ to __region_RAM2_end__];
mbed_official 377:95186f86029b 25
mbed_official 377:95186f86029b 26 define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
mbed_official 377:95186f86029b 27 define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
mbed_official 377:95186f86029b 28
mbed_official 377:95186f86029b 29 define region FlashConfig_region = mem:[from __FlashConfig_start__ to __FlashConfig_end__];
mbed_official 377:95186f86029b 30
mbed_official 377:95186f86029b 31 initialize by copy { readwrite };
mbed_official 377:95186f86029b 32 do not initialize { section .noinit };
mbed_official 377:95186f86029b 33
mbed_official 377:95186f86029b 34 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
mbed_official 377:95186f86029b 35
mbed_official 377:95186f86029b 36 place in FlashConfig_region {section FlashConfig};
mbed_official 377:95186f86029b 37
mbed_official 377:95186f86029b 38 place in ROM_region { readonly };
mbed_official 377:95186f86029b 39
mbed_official 377:95186f86029b 40 place in RAM_region { readwrite, block CSTACK, block HEAP };