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:
136:ef9c61f8c49f
Release 145 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" */
AnnaBridge 145:64910690c574 4 if (!isdefinedsymbol(MBED_APP_START)) { define symbol MBED_APP_START = 0x08000000; }
AnnaBridge 145:64910690c574 5 if (!isdefinedsymbol(MBED_APP_SIZE)) { define symbol MBED_APP_SIZE = 0x200000; }
<> 128:9bcdf88f62b0 6 /*-Specials-*/
AnnaBridge 145:64910690c574 7 define symbol __ICFEDIT_intvec_start__ = MBED_APP_START;
<> 128:9bcdf88f62b0 8 /*-Memory Regions-*/
AnnaBridge 145:64910690c574 9 define symbol __ICFEDIT_region_ROM_start__ = MBED_APP_START;
AnnaBridge 145:64910690c574 10 define symbol __ICFEDIT_region_ROM_end__ = MBED_APP_START + MBED_APP_SIZE - 1;
<> 128:9bcdf88f62b0 11 define symbol __ICFEDIT_region_NVIC_start__ = 0x20000000;
<> 128:9bcdf88f62b0 12 define symbol __ICFEDIT_region_NVIC_end__ = 0x200001AF;
<> 128:9bcdf88f62b0 13 define symbol __ICFEDIT_region_RAM_start__ = 0x200001B0;
<> 128:9bcdf88f62b0 14 define symbol __ICFEDIT_region_RAM_end__ = 0x2002FFFF;
<> 128:9bcdf88f62b0 15 define symbol __ICFEDIT_region_CCMRAM_start__ = 0x10000000;
<> 128:9bcdf88f62b0 16 define symbol __ICFEDIT_region_CCMRAM_end__ = 0x1000FFFF;
<> 128:9bcdf88f62b0 17 /*-Sizes-*/
AnnaBridge 145:64910690c574 18 /*Heap 64kB and stack 24kB */
<> 128:9bcdf88f62b0 19 define symbol __ICFEDIT_size_cstack__ = 0x6000;
<> 128:9bcdf88f62b0 20 define symbol __ICFEDIT_size_heap__ = 0x10000;
<> 128:9bcdf88f62b0 21 /**** End of ICF editor section. ###ICF###*/
<> 128:9bcdf88f62b0 22
<> 128:9bcdf88f62b0 23
<> 128:9bcdf88f62b0 24 define memory mem with size = 4G;
<> 128:9bcdf88f62b0 25 define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
<> 128:9bcdf88f62b0 26 define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
<> 128:9bcdf88f62b0 27 define region CCMRAM_region = mem:[from __ICFEDIT_region_CCMRAM_start__ to __ICFEDIT_region_CCMRAM_end__];
<> 128:9bcdf88f62b0 28
<> 128:9bcdf88f62b0 29 define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
<> 128:9bcdf88f62b0 30 define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
<> 128:9bcdf88f62b0 31
<> 128:9bcdf88f62b0 32 initialize by copy { readwrite };
<> 128:9bcdf88f62b0 33 do not initialize { section .noinit };
<> 128:9bcdf88f62b0 34
<> 128:9bcdf88f62b0 35 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
<> 128:9bcdf88f62b0 36
<> 128:9bcdf88f62b0 37 place in ROM_region { readonly };
<> 128:9bcdf88f62b0 38 place in RAM_region { readwrite,
<> 128:9bcdf88f62b0 39 block CSTACK, block HEAP };