mbed library sources. Supersedes mbed-src.

Dependents:   Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more

Committer:
Anna Bridge
Date:
Fri Apr 28 14:04:18 2017 +0100
Revision:
163:74e0ce7f98e8
Parent:
158:b23ee177fd68
Child:
188:bcfe06ba3d64
This updates the lib to the mbed lib v141

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 19:112740acecfa 1 /* [ROM = 2mb = 0x200000] */
mbed_official 19:112740acecfa 2 define symbol __intvec_start__ = 0x08000000;
mbed_official 19:112740acecfa 3 define symbol __region_ROM_start__ = 0x08000000;
mbed_official 19:112740acecfa 4 define symbol __region_ROM_end__ = 0x081FFFFF;
mbed_official 19:112740acecfa 5
mbed_official 19:112740acecfa 6 /* [RAM = 384kb = 0x60000] Vector table dynamic copy: 109 vectors = 436 bytes (0x1B4) to be reserved in RAM */
mbed_official 19:112740acecfa 7 define symbol __NVIC_start__ = 0x20000000;
mbed_official 19:112740acecfa 8 define symbol __NVIC_end__ = 0x200001B3; /* Aligned on 8 bytes */
mbed_official 19:112740acecfa 9 define symbol __region_RAM_start__ = 0x200001B4;
mbed_official 19:112740acecfa 10 define symbol __region_RAM_end__ = 0x2004FFFF;
mbed_official 19:112740acecfa 11
mbed_official 19:112740acecfa 12 /* Memory regions */
mbed_official 19:112740acecfa 13 define memory mem with size = 4G;
mbed_official 19:112740acecfa 14 define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM_end__];
mbed_official 19:112740acecfa 15 define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__];
mbed_official 19:112740acecfa 16
mbed_official 19:112740acecfa 17 /* Stack and Heap */
mbed_official 19:112740acecfa 18 define symbol __size_cstack__ = 0x4000;
Anna Bridge 163:74e0ce7f98e8 19 define symbol __size_heap__ = 0x10000;
mbed_official 19:112740acecfa 20 define block CSTACK with alignment = 8, size = __size_cstack__ { };
mbed_official 19:112740acecfa 21 define block HEAP with alignment = 8, size = __size_heap__ { };
mbed_official 19:112740acecfa 22 define block STACKHEAP with fixed order { block HEAP, block CSTACK };
mbed_official 19:112740acecfa 23
mbed_official 19:112740acecfa 24 initialize by copy with packing = zeros { readwrite };
mbed_official 19:112740acecfa 25 do not initialize { section .noinit };
mbed_official 19:112740acecfa 26
mbed_official 19:112740acecfa 27 place at address mem:__intvec_start__ { readonly section .intvec };
mbed_official 19:112740acecfa 28
mbed_official 19:112740acecfa 29 place in ROM_region { readonly };
mbed_official 19:112740acecfa 30 place in RAM_region { readwrite, block STACKHEAP };