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:
Wed Jul 01 09:45:11 2015 +0100
Revision:
579:53297373a894
Parent:
483:37da4976ca27
Synchronized with git revision d5b4d2ab9c47edb4dc5776e7177b0c2263459081

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

Initial version of drivers for SAMR21

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 373:8297eafdddcb 1 /*###ICF### Section handled by ICF editor, don't touch! ****/
mbed_official 373:8297eafdddcb 2 /*-Editor annotation file-*/
mbed_official 373:8297eafdddcb 3 /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
mbed_official 373:8297eafdddcb 4 /*-Specials-*/
mbed_official 373:8297eafdddcb 5 define symbol __ICFEDIT_intvec_start__ = 0x08000000;
mbed_official 373:8297eafdddcb 6 /*-Memory Regions-*/
mbed_official 373:8297eafdddcb 7 define symbol __ICFEDIT_region_ROM_start__ = 0x08000000;
mbed_official 373:8297eafdddcb 8 define symbol __ICFEDIT_region_ROM_end__ = 0x080FFFFF;
mbed_official 420:8e6e2662709e 9 define symbol __NVIC_start__ = 0x20000000;
mbed_official 420:8e6e2662709e 10 define symbol __NVIC_end__ = 0x20000187; /* Aligned on 8 bytes */
mbed_official 420:8e6e2662709e 11 define symbol __ICFEDIT_region_RAM_start__ = 0x20000188;
mbed_official 373:8297eafdddcb 12 define symbol __ICFEDIT_region_RAM_end__ = 0x2001FFFF;
mbed_official 373:8297eafdddcb 13 /*-Sizes-*/
mbed_official 483:37da4976ca27 14 /*Heap 1/4 of ram and stack 1/8*/
mbed_official 483:37da4976ca27 15 define symbol __ICFEDIT_size_cstack__ = 0x4000;
mbed_official 483:37da4976ca27 16 define symbol __ICFEDIT_size_heap__ = 0x8000;
mbed_official 373:8297eafdddcb 17 /**** End of ICF editor section. ###ICF###*/
mbed_official 373:8297eafdddcb 18
mbed_official 373:8297eafdddcb 19 define symbol __region_RAM1_start__ = 0x10000000;
mbed_official 373:8297eafdddcb 20 define symbol __region_RAM1_end__ = 0x1000FFFF;
mbed_official 373:8297eafdddcb 21
mbed_official 373:8297eafdddcb 22 define memory mem with size = 4G;
mbed_official 373:8297eafdddcb 23 define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
mbed_official 373:8297eafdddcb 24 define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
mbed_official 373:8297eafdddcb 25 define region RAM1_region = mem:[from __region_RAM1_start__ to __region_RAM1_end__];
mbed_official 373:8297eafdddcb 26
mbed_official 373:8297eafdddcb 27 define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
mbed_official 373:8297eafdddcb 28 define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
mbed_official 373:8297eafdddcb 29
mbed_official 373:8297eafdddcb 30 initialize by copy { readwrite };
mbed_official 373:8297eafdddcb 31 do not initialize { section .noinit };
mbed_official 373:8297eafdddcb 32
mbed_official 373:8297eafdddcb 33 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
mbed_official 373:8297eafdddcb 34
mbed_official 373:8297eafdddcb 35 place in ROM_region { readonly };
mbed_official 373:8297eafdddcb 36 place in RAM_region { readwrite,
mbed_official 373:8297eafdddcb 37 block CSTACK, block HEAP };
mbed_official 373:8297eafdddcb 38 place in RAM1_region { section .sram };