mbed library sources. Supersedes mbed-src.

Fork of mbed-dev by mbed official

Committer:
<>
Date:
Thu Nov 24 17:03:03 2016 +0000
Revision:
151:5eaa88a5bcc7
Parent:
149:156823d33999
This updates the lib to the mbed lib v130

Who changed what in which revision?

UserRevisionLine numberNew 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__ = 0x00080000;
<> 149:156823d33999 9 define symbol __ICFEDIT_region_IRAM_start__ = 0x20000000;
<> 149:156823d33999 10 define symbol __ICFEDIT_region_IRAM_end__ = 0x20010000;
<> 149:156823d33999 11 define symbol __ICFEDIT_region_XRAM_start__ = 0x60000000;
<> 149:156823d33999 12 define symbol __ICFEDIT_region_XRAM_end__ = 0x60100000;
<> 149:156823d33999 13 /*-Sizes-*/
<> 151:5eaa88a5bcc7 14 define symbol __ICFEDIT_size_cstack__ = 0x800;
<> 149:156823d33999 15 define symbol __ICFEDIT_size_heap__ = 0xC0000;
<> 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 define region XRAM_region = mem:[from __ICFEDIT_region_XRAM_start__ to __ICFEDIT_region_XRAM_end__];
<> 149:156823d33999 23
<> 149:156823d33999 24 define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
<> 149:156823d33999 25 define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
<> 149:156823d33999 26 /* NOTE: Vector table base requires to be aligned to the power of vector table size. Give a safe value here. */
<> 149:156823d33999 27 define block IRAMVEC with alignment = 1024, size = 4 * (16 + 142) { };
<> 149:156823d33999 28 /* Move non-critical libraries to external SRAM while internal SRAM is insufficient. */
<> 149:156823d33999 29 define block XRAM_NC with alignment = 8 { zeroinit object *lwip_*, zeroinit object *mesh_system.o };
<> 149:156823d33999 30
<> 149:156823d33999 31
<> 149:156823d33999 32 initialize by copy { readwrite };
<> 149:156823d33999 33 do not initialize { section .noinit };
<> 149:156823d33999 34
<> 149:156823d33999 35 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
<> 149:156823d33999 36
<> 149:156823d33999 37 place in ROM_region { readonly };
<> 149:156823d33999 38 place at start of IRAM_region { block CSTACK };
<> 149:156823d33999 39 place in IRAM_region { block IRAMVEC };
<> 149:156823d33999 40 place in IRAM_region { readwrite };
<> 149:156823d33999 41 place in XRAM_region { block XRAM_NC, block HEAP };