mbed library sources

Fork of mbed-src by mbed official

Committer:
mbed_official
Date:
Tue Dec 02 15:45:09 2014 +0000
Revision:
423:560d1a9f3083
Child:
434:53c4d348572c
Synchronized with git revision a88eaace6bafba6477cf071369e01c87ccf541b6

Full URL: https://github.com/mbedmicro/mbed/commit/a88eaace6bafba6477cf071369e01c87ccf541b6/

Targets: DISCO_F051R8 - Updated driver files with HAL driver.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 423:560d1a9f3083 1 /* [ROM = 512kb = 0x80000] */
mbed_official 423:560d1a9f3083 2 define symbol __intvec_start__ = 0x08000000;
mbed_official 423:560d1a9f3083 3 define symbol __region_ROM_start__ = 0x08000000;
mbed_official 423:560d1a9f3083 4 define symbol __region_ROM_end__ = 0x0807FFFF;
mbed_official 423:560d1a9f3083 5
mbed_official 423:560d1a9f3083 6 define symbol __region_CCMRAM_start__ = 0x10000000;
mbed_official 423:560d1a9f3083 7 define symbol __region_CCMRAM_end__ = 0x10003FFF;
mbed_official 423:560d1a9f3083 8
mbed_official 423:560d1a9f3083 9 /* [RAM = 64kb = 0x10000] Vector table dynamic copy: 101 vectors = 404 bytes (0x194) to be reserved in RAM */
mbed_official 423:560d1a9f3083 10 define symbol __NVIC_start__ = 0x20000000;
mbed_official 423:560d1a9f3083 11 define symbol __NVIC_end__ = 0x20000197; /* Add 4 more bytes to be aligned on 8 bytes */
mbed_official 423:560d1a9f3083 12 define symbol __region_RAM_start__ = 0x20000198;
mbed_official 423:560d1a9f3083 13 define symbol __region_RAM_end__ = 0x2000FFFF;
mbed_official 423:560d1a9f3083 14
mbed_official 423:560d1a9f3083 15 /* Memory regions */
mbed_official 423:560d1a9f3083 16 define memory mem with size = 4G;
mbed_official 423:560d1a9f3083 17 define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM_end__];
mbed_official 423:560d1a9f3083 18 define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__];
mbed_official 423:560d1a9f3083 19 define region CCMRAM_region = mem:[from __region_CCMRAM_start__ to __region_CCMRAM_end__];
mbed_official 423:560d1a9f3083 20
mbed_official 423:560d1a9f3083 21 /* Stack and Heap */
mbed_official 423:560d1a9f3083 22 define symbol __size_cstack__ = 0x400;
mbed_official 423:560d1a9f3083 23 define symbol __size_heap__ = 0x400;
mbed_official 423:560d1a9f3083 24 define block CSTACK with alignment = 8, size = __size_cstack__ { };
mbed_official 423:560d1a9f3083 25 define block HEAP with alignment = 8, size = __size_heap__ { };
mbed_official 423:560d1a9f3083 26 define block STACKHEAP with fixed order { block HEAP, block CSTACK };
mbed_official 423:560d1a9f3083 27
mbed_official 423:560d1a9f3083 28 initialize by copy with packing = zeros { readwrite };
mbed_official 423:560d1a9f3083 29 do not initialize { section .noinit };
mbed_official 423:560d1a9f3083 30
mbed_official 423:560d1a9f3083 31 place at address mem:__intvec_start__ { readonly section .intvec };
mbed_official 423:560d1a9f3083 32
mbed_official 423:560d1a9f3083 33 place in ROM_region { readonly };
mbed_official 423:560d1a9f3083 34 place in RAM_region { readwrite, block STACKHEAP };