mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Committer:
mbed_official
Date:
Mon Sep 28 14:00:11 2015 +0100
Revision:
632:7687fb9c4f91
Synchronized with git revision f7ce4ed029cc611121464252ff28d5e8beb895b0

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

NUCLEO_F303K8 - add support of the STM32F303K8

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 632:7687fb9c4f91 1 /* [ROM = 64kb = 0x10000] */
mbed_official 632:7687fb9c4f91 2 define symbol __intvec_start__ = 0x08000000;
mbed_official 632:7687fb9c4f91 3 define symbol __region_ROM_start__ = 0x08000000;
mbed_official 632:7687fb9c4f91 4 define symbol __region_ROM_end__ = 0x0800FFFF;
mbed_official 632:7687fb9c4f91 5
mbed_official 632:7687fb9c4f91 6 define symbol __region_CCMRAM_start__ = 0x10000000;
mbed_official 632:7687fb9c4f91 7 define symbol __region_CCMRAM_end__ = 0x10000FFF;
mbed_official 632:7687fb9c4f91 8
mbed_official 632:7687fb9c4f91 9 /* [RAM = 12kb = 0x3000] Vector table dynamic copy: 98 vectors = 392 bytes (0x188) to be reserved in RAM */
mbed_official 632:7687fb9c4f91 10 define symbol __NVIC_start__ = 0x20000000;
mbed_official 632:7687fb9c4f91 11 define symbol __NVIC_end__ = 0x20000187; /* No need to add 4 more bytes to be aligned on 8 bytes */
mbed_official 632:7687fb9c4f91 12 define symbol __region_RAM_start__ = 0x20000188;
mbed_official 632:7687fb9c4f91 13 define symbol __region_RAM_end__ = 0x20002FFF;
mbed_official 632:7687fb9c4f91 14
mbed_official 632:7687fb9c4f91 15 /* Memory regions */
mbed_official 632:7687fb9c4f91 16 define memory mem with size = 4G;
mbed_official 632:7687fb9c4f91 17 define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM_end__];
mbed_official 632:7687fb9c4f91 18 define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__];
mbed_official 632:7687fb9c4f91 19 define region CCMRAM_region = mem:[from __region_CCMRAM_start__ to __region_CCMRAM_end__];
mbed_official 632:7687fb9c4f91 20
mbed_official 632:7687fb9c4f91 21 /* Stack and Heap */
mbed_official 632:7687fb9c4f91 22 /*Heap 1/4 of ram and stack 1/8*/
mbed_official 632:7687fb9c4f91 23 define symbol __size_cstack__ = 0x600;
mbed_official 632:7687fb9c4f91 24 define symbol __size_heap__ = 0xC00;
mbed_official 632:7687fb9c4f91 25 define block CSTACK with alignment = 8, size = __size_cstack__ { };
mbed_official 632:7687fb9c4f91 26 define block HEAP with alignment = 8, size = __size_heap__ { };
mbed_official 632:7687fb9c4f91 27 define block STACKHEAP with fixed order { block HEAP, block CSTACK };
mbed_official 632:7687fb9c4f91 28
mbed_official 632:7687fb9c4f91 29 initialize by copy with packing = zeros { readwrite };
mbed_official 632:7687fb9c4f91 30 do not initialize { section .noinit };
mbed_official 632:7687fb9c4f91 31
mbed_official 632:7687fb9c4f91 32 place at address mem:__intvec_start__ { readonly section .intvec };
mbed_official 632:7687fb9c4f91 33
mbed_official 632:7687fb9c4f91 34 place in ROM_region { readonly };
mbed_official 632:7687fb9c4f91 35 place in RAM_region { readwrite, block STACKHEAP };