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:
Thu Nov 09 11:14:10 2017 +0000
Revision:
157:e7ca05fa8600
Parent:
135:176b8275d35d
Release 155 of the mbed library.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
<> 135:176b8275d35d 1 /* [ROM] */
<> 135:176b8275d35d 2 define symbol __intvec_start__ = 0x00000000;
<> 135:176b8275d35d 3 define symbol __region_ROM_start__ = 0x00000000;
<> 135:176b8275d35d 4 define symbol __region_ROM_end__ = 0x001FFFFF;
<> 135:176b8275d35d 5
<> 135:176b8275d35d 6 /* [RAM] Vector table dynamic copy: 68 vectors * 4 bytes = 272 (0x110) bytes */
<> 135:176b8275d35d 7 define symbol __NVIC_start__ = 0x00000000;
<> 135:176b8275d35d 8 define symbol __NVIC_end__ = 0x00000110; /* to be aligned on 8 bytes */
<> 135:176b8275d35d 9 define symbol __region_RAM_start__ = 0x20000000;
<> 135:176b8275d35d 10 define symbol __region_RAM_end__ = 0x2007FFFF;
<> 135:176b8275d35d 11
<> 135:176b8275d35d 12 /* Memory regions */
<> 135:176b8275d35d 13 define memory mem with size = 4G;
<> 135:176b8275d35d 14 define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM_end__];
<> 135:176b8275d35d 15 define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__];
<> 135:176b8275d35d 16
<> 135:176b8275d35d 17 /* Stack and Heap */
<> 135:176b8275d35d 18 define symbol __size_cstack__ = 0x5000;
<> 135:176b8275d35d 19 define symbol __size_heap__ = 0xA000;
<> 135:176b8275d35d 20 define block CSTACK with alignment = 8, size = __size_cstack__ { };
<> 135:176b8275d35d 21 define block HEAP with alignment = 8, size = __size_heap__ { };
<> 135:176b8275d35d 22
<> 135:176b8275d35d 23 initialize by copy { readwrite };
<> 135:176b8275d35d 24 do not initialize { section .noinit };
<> 135:176b8275d35d 25
<> 135:176b8275d35d 26 place at address mem:__intvec_start__ { readonly section .intvec };
<> 135:176b8275d35d 27 place in ROM_region { readonly };
<> 135:176b8275d35d 28 place in RAM_region { readwrite,
<> 135:176b8275d35d 29 block CSTACK, block HEAP };