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:
Wed Jun 21 17:31:38 2017 +0100
Revision:
145:64910690c574
Parent:
127:25aea2a3f4e3
Release 145 of the mbed library.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
<> 127:25aea2a3f4e3 1 /*###ICF### Section handled by ICF editor, don't touch! ****/
<> 127:25aea2a3f4e3 2 /*-Editor annotation file-*/
<> 127:25aea2a3f4e3 3 /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
AnnaBridge 145:64910690c574 4
AnnaBridge 145:64910690c574 5 if (!isdefinedsymbol(MBED_APP_START)) { define symbol MBED_APP_START = 0x00000000; }
AnnaBridge 145:64910690c574 6 if (!isdefinedsymbol(MBED_APP_SIZE)) { define symbol MBED_APP_SIZE = 0x00010000; }
AnnaBridge 145:64910690c574 7
<> 127:25aea2a3f4e3 8 /*-Specials-*/
AnnaBridge 145:64910690c574 9 define symbol __ICFEDIT_intvec_start__ = MBED_APP_START;
<> 127:25aea2a3f4e3 10 /*-Memory Regions-*/
AnnaBridge 145:64910690c574 11 define symbol __ICFEDIT_region_ROM_start__ = MBED_APP_START;
AnnaBridge 145:64910690c574 12 define symbol __ICFEDIT_region_ROM_end__ = MBED_APP_START + MBED_APP_SIZE - 1;
<> 127:25aea2a3f4e3 13 define symbol __NVIC_start__ = 0x20000000;
<> 127:25aea2a3f4e3 14 define symbol __NVIC_end__ = 0x20000093;
<> 127:25aea2a3f4e3 15 define symbol __ICFEDIT_region_RAM_start__ = 0x20000094;
<> 127:25aea2a3f4e3 16 define symbol __ICFEDIT_region_RAM_end__ = 0x20001FFF;
<> 127:25aea2a3f4e3 17 /*-Sizes-*/
<> 127:25aea2a3f4e3 18 /*Heap 1/4 of ram and stack 1/8*/
<> 127:25aea2a3f4e3 19 define symbol __ICFEDIT_size_cstack__ = 0x400;
<> 127:25aea2a3f4e3 20 define symbol __ICFEDIT_size_heap__ = 0x800;
<> 127:25aea2a3f4e3 21 /**** End of ICF editor section. ###ICF###*/
<> 127:25aea2a3f4e3 22
<> 127:25aea2a3f4e3 23 define memory mem with size = 4G;
<> 127:25aea2a3f4e3 24 define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
<> 127:25aea2a3f4e3 25 define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
<> 127:25aea2a3f4e3 26
<> 127:25aea2a3f4e3 27 define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
<> 127:25aea2a3f4e3 28 define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
<> 127:25aea2a3f4e3 29
<> 127:25aea2a3f4e3 30 initialize by copy { readwrite };
<> 127:25aea2a3f4e3 31 do not initialize { section .noinit };
<> 127:25aea2a3f4e3 32
<> 127:25aea2a3f4e3 33 keep { section .intvec };
<> 127:25aea2a3f4e3 34 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
<> 127:25aea2a3f4e3 35 place in ROM_region { readonly };
<> 127:25aea2a3f4e3 36 place in RAM_region { readwrite, block CSTACK, block HEAP };
<> 127:25aea2a3f4e3 37