The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Committer:
AnnaBridge
Date:
Fri May 26 12:30:20 2017 +0100
Revision:
143:86740a56073b
Parent:
141:794e51388b66
Child:
150:a330f0fddbec
Release 143 of the mbed library.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
<> 128:9bcdf88f62b0 1 /*###ICF### Section handled by ICF editor, don't touch! ****/
<> 128:9bcdf88f62b0 2 /*-Editor annotation file-*/
<> 128:9bcdf88f62b0 3 /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
Anna Bridge 141:794e51388b66 4 if (!isdefinedsymbol(MBED_APP_START)) { define symbol MBED_APP_START = 0x00000000; }
Anna Bridge 141:794e51388b66 5 if (!isdefinedsymbol(MBED_APP_SIZE)) { define symbol MBED_APP_SIZE = 0x00040000; }
<> 128:9bcdf88f62b0 6 /*-Specials-*/
Anna Bridge 141:794e51388b66 7 define symbol __ICFEDIT_intvec_start__ = MBED_APP_START;
<> 128:9bcdf88f62b0 8 /*-Memory Regions-*/
Anna Bridge 141:794e51388b66 9 define symbol __ICFEDIT_region_ROM_start__ = MBED_APP_START;
Anna Bridge 141:794e51388b66 10 define symbol __ICFEDIT_region_ROM_end__ = MBED_APP_START + MBED_APP_SIZE - 1;
<> 128:9bcdf88f62b0 11 define symbol __ICFEDIT_region_IRAM_start__ = 0x20000000;
<> 128:9bcdf88f62b0 12 define symbol __ICFEDIT_region_IRAM_end__ = 0x20008000;
<> 128:9bcdf88f62b0 13 /*-Sizes-*/
<> 130:d75b3fe1f5cb 14 define symbol __ICFEDIT_size_cstack__ = 0x800;
<> 128:9bcdf88f62b0 15 define symbol __ICFEDIT_size_heap__ = 0x4000;
<> 128:9bcdf88f62b0 16 /**** End of ICF editor section. ###ICF###*/
<> 128:9bcdf88f62b0 17
<> 128:9bcdf88f62b0 18
<> 128:9bcdf88f62b0 19 define memory mem with size = 4G;
<> 128:9bcdf88f62b0 20 define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
<> 128:9bcdf88f62b0 21 define region IRAM_region = mem:[from __ICFEDIT_region_IRAM_start__ to __ICFEDIT_region_IRAM_end__];
<> 128:9bcdf88f62b0 22
<> 128:9bcdf88f62b0 23 define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
<> 128:9bcdf88f62b0 24 define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
<> 128:9bcdf88f62b0 25 /* NOTE: Vector table base requires to be aligned to the power of vector table size. Give a safe value here. */
<> 128:9bcdf88f62b0 26 define block IRAMVEC with alignment = 1024, size = 4 * (16 + 64) { };
<> 128:9bcdf88f62b0 27
<> 128:9bcdf88f62b0 28
<> 128:9bcdf88f62b0 29 initialize by copy { readwrite };
<> 128:9bcdf88f62b0 30 do not initialize { section .noinit };
<> 128:9bcdf88f62b0 31
<> 128:9bcdf88f62b0 32 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
<> 128:9bcdf88f62b0 33
<> 128:9bcdf88f62b0 34 place in ROM_region { readonly };
<> 128:9bcdf88f62b0 35 place at start of IRAM_region { block CSTACK };
<> 128:9bcdf88f62b0 36 place in IRAM_region { block IRAMVEC };
<> 128:9bcdf88f62b0 37 place in IRAM_region { readwrite };
<> 128:9bcdf88f62b0 38 place in IRAM_region { block HEAP };