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:
Anna Bridge
Date:
Fri Jun 22 15:38:59 2018 +0100
Revision:
169:a7c7b631e539
Parent:
143:86740a56073b
Child:
171:3a7713b1edbc
mbed library. Release version 162

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AnnaBridge 143:86740a56073b 1 /*###ICF### Section handled by ICF editor, don't touch! ****/
AnnaBridge 143:86740a56073b 2 /*-Editor annotation file-*/
AnnaBridge 143:86740a56073b 3 /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
AnnaBridge 143:86740a56073b 4 /*-Specials-*/
AnnaBridge 143:86740a56073b 5 define symbol __ICFEDIT_intvec_start__ = 0x00000000;
AnnaBridge 143:86740a56073b 6 /*-Memory Regions-*/
AnnaBridge 143:86740a56073b 7 define symbol __ICFEDIT_region_ROM_start__ = 0x00000000;
AnnaBridge 143:86740a56073b 8 define symbol __ICFEDIT_region_ROM_end__ = 0x00020000;
AnnaBridge 143:86740a56073b 9 define symbol __ICFEDIT_region_RAM_start__ = 0x20000000;
AnnaBridge 143:86740a56073b 10 define symbol __ICFEDIT_region_RAM_end__ = 0x20004000;
AnnaBridge 143:86740a56073b 11 /*-Sizes-*/
AnnaBridge 143:86740a56073b 12 define symbol __ICFEDIT_size_cstack__ = 0x00000400;
AnnaBridge 143:86740a56073b 13 define symbol __ICFEDIT_size_heap__ = 0x00000400;
AnnaBridge 143:86740a56073b 14 /**** End of ICF editor section. ###ICF###*/
AnnaBridge 143:86740a56073b 15
AnnaBridge 143:86740a56073b 16
AnnaBridge 143:86740a56073b 17 define memory mem with size = 4G;
AnnaBridge 143:86740a56073b 18 define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
AnnaBridge 143:86740a56073b 19 define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
AnnaBridge 143:86740a56073b 20
AnnaBridge 143:86740a56073b 21 define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
AnnaBridge 143:86740a56073b 22 define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
AnnaBridge 143:86740a56073b 23
AnnaBridge 143:86740a56073b 24 initialize by copy { readwrite };
AnnaBridge 143:86740a56073b 25 do not initialize { section .noinit };
AnnaBridge 143:86740a56073b 26
AnnaBridge 143:86740a56073b 27 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
AnnaBridge 143:86740a56073b 28
AnnaBridge 143:86740a56073b 29 place in ROM_region { readonly };
AnnaBridge 143:86740a56073b 30 place in RAM_region { readwrite,
AnnaBridge 143:86740a56073b 31 block CSTACK, block HEAP };