Fork of the official mbed C/C SDK provides the software platform and libraries to build your applications for RenBED.

Dependents:   1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB

Fork of mbed by mbed official

Committer:
Kojto
Date:
Wed Sep 16 15:32:31 2015 +0100
Revision:
107:4f6c30876dfa
Child:
108:34e6b704fe68
Release 107  of the mbed library

Changes:
- new platforms - DISCO_F746NG, DISCO_L476VG, NUCLEO_L476RG
- KL43Z - bugfix RTC init function
- K20 - SPI mode fix

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Kojto 107:4f6c30876dfa 1 /* [ROM = 1024kb = 0x100000] */
Kojto 107:4f6c30876dfa 2 define symbol __intvec_start__ = 0x08000000;
Kojto 107:4f6c30876dfa 3 define symbol __region_ROM_start__ = 0x08000000;
Kojto 107:4f6c30876dfa 4 define symbol __region_ROM_end__ = 0x080FFFFF;
Kojto 107:4f6c30876dfa 5
Kojto 107:4f6c30876dfa 6 /* [RAM = 128kb = 0x20000] */
Kojto 107:4f6c30876dfa 7 /* Vector table dynamic copy: Total: 98 vectors = 392 bytes (0x188) to be reserved in RAM */
Kojto 107:4f6c30876dfa 8 define symbol __NVIC_start__ = 0x20000000;
Kojto 107:4f6c30876dfa 9 define symbol __NVIC_end__ = 0x20000187; /* Aligned on 8 bytes (392 = 49 x 8) */
Kojto 107:4f6c30876dfa 10 define symbol __region_RAM_start__ = 0x20000188;
Kojto 107:4f6c30876dfa 11 define symbol __region_RAM_end__ = 0x2001FFFF;
Kojto 107:4f6c30876dfa 12 define symbol __region_SRAM2_start__ = 0x10000000;
Kojto 107:4f6c30876dfa 13 define symbol __region_SRAM2_end__ = 0x10007FFF;
Kojto 107:4f6c30876dfa 14
Kojto 107:4f6c30876dfa 15 /* Memory regions */
Kojto 107:4f6c30876dfa 16 define memory mem with size = 4G;
Kojto 107:4f6c30876dfa 17 define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM_end__];
Kojto 107:4f6c30876dfa 18 define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__];
Kojto 107:4f6c30876dfa 19 define region SRAM2_region = mem:[from __region_SRAM2_start__ to __region_SRAM2_end__];
Kojto 107:4f6c30876dfa 20
Kojto 107:4f6c30876dfa 21 /* Stack 1/8 and Heap 1/4 of RAM */
Kojto 107:4f6c30876dfa 22 define symbol __size_cstack__ = 0x4000;
Kojto 107:4f6c30876dfa 23 define symbol __size_heap__ = 0x8000;
Kojto 107:4f6c30876dfa 24 define block CSTACK with alignment = 8, size = __size_cstack__ { };
Kojto 107:4f6c30876dfa 25 define block HEAP with alignment = 8, size = __size_heap__ { };
Kojto 107:4f6c30876dfa 26 define block STACKHEAP with fixed order { block HEAP, block CSTACK };
Kojto 107:4f6c30876dfa 27
Kojto 107:4f6c30876dfa 28 initialize by copy with packing = zeros { readwrite };
Kojto 107:4f6c30876dfa 29 do not initialize { section .noinit };
Kojto 107:4f6c30876dfa 30
Kojto 107:4f6c30876dfa 31 place at address mem:__intvec_start__ { readonly section .intvec };
Kojto 107:4f6c30876dfa 32
Kojto 107:4f6c30876dfa 33 place in ROM_region { readonly };
Kojto 107:4f6c30876dfa 34 place in RAM_region { readwrite, block STACKHEAP };
Kojto 107:4f6c30876dfa 35 place in SRAM2_region { };