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:
Mon Mar 19 15:30:13 2018 +0000
Revision:
162:dbaafcfe0e9d
Child:
171:3a7713b1edbc
mbed library. Release version 160

Who changed what in which revision?

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