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:
Kojto
Date:
Wed Jul 19 16:46:19 2017 +0100
Revision:
147:a97add6d7e64
Parent:
145:64910690c574
Release 147 of the mbed library.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
<> 139:856d2700e60b 1 /*###ICF### Section handled by ICF editor, don't touch! ****/
<> 139:856d2700e60b 2 /*-Editor annotation file-*/
<> 139:856d2700e60b 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 = 0x00100000; }
AnnaBridge 145:64910690c574 7
<> 139:856d2700e60b 8 /*-Specials-*/
AnnaBridge 145:64910690c574 9 define symbol __ICFEDIT_intvec_start__ = MBED_APP_START;
<> 139:856d2700e60b 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;
<> 139:856d2700e60b 13 define symbol __NVIC_start__ = 0x20000000;
<> 139:856d2700e60b 14 define symbol __NVIC_end__ = 0x2000010B;
<> 139:856d2700e60b 15 define symbol __ICFEDIT_region_RAM_start__ = 0x2000010C;
<> 139:856d2700e60b 16 define symbol __ICFEDIT_region_RAM_end__ = 0x2003FFFF;
<> 139:856d2700e60b 17 /*-Sizes-*/
<> 139:856d2700e60b 18 /*Heap 1/4 of ram and stack 1/8*/
<> 139:856d2700e60b 19 define symbol __ICFEDIT_size_cstack__ = 0x4000;
<> 139:856d2700e60b 20 define symbol __ICFEDIT_size_heap__ = 0x10000;
<> 139:856d2700e60b 21 /**** End of ICF editor section. ###ICF###*/
<> 139:856d2700e60b 22
<> 139:856d2700e60b 23 define memory mem with size = 4G;
<> 139:856d2700e60b 24 define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
<> 139:856d2700e60b 25 define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
<> 139:856d2700e60b 26
<> 139:856d2700e60b 27 define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
<> 139:856d2700e60b 28 define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
<> 139:856d2700e60b 29
<> 139:856d2700e60b 30 initialize by copy { readwrite };
<> 139:856d2700e60b 31 do not initialize { section .noinit };
<> 139:856d2700e60b 32
<> 139:856d2700e60b 33 keep { section .intvec };
<> 139:856d2700e60b 34 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
<> 139:856d2700e60b 35 place in ROM_region { readonly };
<> 139:856d2700e60b 36 place in RAM_region { readwrite, block CSTACK, block HEAP };
<> 139:856d2700e60b 37