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:
143:86740a56073b
Release 147 of the mbed library.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Kojto 122:f9eeca106725 1 /*###ICF### Section handled by ICF editor, don't touch! ****/
Kojto 122:f9eeca106725 2 /*-Editor annotation file-*/
Kojto 122:f9eeca106725 3 /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
<> 138:093f2bd7b9eb 4 if (!isdefinedsymbol(MBED_APP_START)) { define symbol MBED_APP_START = 0x08000000; }
<> 138:093f2bd7b9eb 5 if (!isdefinedsymbol(MBED_APP_SIZE)) { define symbol MBED_APP_SIZE = 0x200000; }
Kojto 122:f9eeca106725 6 /*-Specials-*/
<> 138:093f2bd7b9eb 7 define symbol __ICFEDIT_intvec_start__ = MBED_APP_START;
Kojto 122:f9eeca106725 8 /*-Memory Regions-*/
<> 138:093f2bd7b9eb 9 define symbol __ICFEDIT_region_ROM_start__ = MBED_APP_START;
<> 138:093f2bd7b9eb 10 define symbol __ICFEDIT_region_ROM_end__ = MBED_APP_START + MBED_APP_SIZE - 1;
Kojto 122:f9eeca106725 11 define symbol __ICFEDIT_region_NVIC_start__ = 0x20000000;
Kojto 122:f9eeca106725 12 define symbol __ICFEDIT_region_NVIC_end__ = 0x200001AF;
Kojto 122:f9eeca106725 13 define symbol __ICFEDIT_region_RAM_start__ = 0x200001B0;
Kojto 122:f9eeca106725 14 define symbol __ICFEDIT_region_RAM_end__ = 0x2002FFFF;
Kojto 122:f9eeca106725 15 define symbol __ICFEDIT_region_CCMRAM_start__ = 0x10000000;
Kojto 122:f9eeca106725 16 define symbol __ICFEDIT_region_CCMRAM_end__ = 0x1000FFFF;
Kojto 122:f9eeca106725 17 /*-Sizes-*/
AnnaBridge 143:86740a56073b 18 /*Heap 64K and stack 4K */
AnnaBridge 143:86740a56073b 19 define symbol __ICFEDIT_size_cstack__ = 0x1000;
<> 139:856d2700e60b 20 define symbol __ICFEDIT_size_heap__ = 0x10000;
Kojto 122:f9eeca106725 21 /**** End of ICF editor section. ###ICF###*/
Kojto 122:f9eeca106725 22
Kojto 122:f9eeca106725 23
Kojto 122:f9eeca106725 24 define memory mem with size = 4G;
Kojto 122:f9eeca106725 25 define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
Kojto 122:f9eeca106725 26 define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
Kojto 122:f9eeca106725 27 define region CCMRAM_region = mem:[from __ICFEDIT_region_CCMRAM_start__ to __ICFEDIT_region_CCMRAM_end__];
Kojto 122:f9eeca106725 28
Kojto 122:f9eeca106725 29 define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
Kojto 122:f9eeca106725 30 define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
Kojto 122:f9eeca106725 31
Kojto 122:f9eeca106725 32 initialize by copy { readwrite };
Kojto 122:f9eeca106725 33 do not initialize { section .noinit };
Kojto 122:f9eeca106725 34
Kojto 122:f9eeca106725 35 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
Kojto 122:f9eeca106725 36
Kojto 122:f9eeca106725 37 place in ROM_region { readonly };
Kojto 122:f9eeca106725 38 place in RAM_region { readwrite,
<> 138:093f2bd7b9eb 39 block CSTACK, block HEAP };