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:
127:25aea2a3f4e3
Child:
145:64910690c574
Release 143 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" */
<> 127:25aea2a3f4e3 4 /*-Specials-*/
<> 127:25aea2a3f4e3 5 define symbol __ICFEDIT_intvec_start__ = 0x00000000;
<> 127:25aea2a3f4e3 6 /*-Memory Regions-*/
<> 127:25aea2a3f4e3 7 define symbol __ICFEDIT_region_ROM_start__ = 0x00000000;
<> 127:25aea2a3f4e3 8 define symbol __ICFEDIT_region_ROM_end__ = 0x00007FFF;
<> 127:25aea2a3f4e3 9 define symbol __NVIC_start__ = 0x20000000;
<> 127:25aea2a3f4e3 10 define symbol __NVIC_end__ = 0x2000008B;
<> 127:25aea2a3f4e3 11 define symbol __ICFEDIT_region_RAM_start__ = 0x2000008C;
<> 127:25aea2a3f4e3 12 define symbol __ICFEDIT_region_RAM_end__ = 0x20000FFF;
<> 127:25aea2a3f4e3 13 /*-Sizes-*/
<> 127:25aea2a3f4e3 14 /*Heap 1/4 of ram and stack 1/8*/
<> 127:25aea2a3f4e3 15 define symbol __ICFEDIT_size_cstack__ = 0x200;
<> 127:25aea2a3f4e3 16 define symbol __ICFEDIT_size_heap__ = 0x400;
<> 127:25aea2a3f4e3 17 /**** End of ICF editor section. ###ICF###*/
<> 127:25aea2a3f4e3 18
<> 127:25aea2a3f4e3 19 define memory mem with size = 4G;
<> 127:25aea2a3f4e3 20 define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
<> 127:25aea2a3f4e3 21 define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
<> 127:25aea2a3f4e3 22
<> 127:25aea2a3f4e3 23 define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
<> 127:25aea2a3f4e3 24 define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
<> 127:25aea2a3f4e3 25
<> 127:25aea2a3f4e3 26 initialize by copy { readwrite };
<> 127:25aea2a3f4e3 27 do not initialize { section .noinit };
<> 127:25aea2a3f4e3 28
<> 127:25aea2a3f4e3 29 keep { section .intvec };
<> 127:25aea2a3f4e3 30 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
<> 127:25aea2a3f4e3 31 place in ROM_region { readonly };
<> 127:25aea2a3f4e3 32 place in RAM_region { readwrite, block CSTACK, block HEAP };
<> 127:25aea2a3f4e3 33