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

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Committer:
Kojto
Date:
Fri Aug 12 13:04:35 2016 +0200
Revision:
123:b0220dba8be7
Release 123 of the mbed library

Changes:
- new targets: nucleo_f207zg, beetle, nrf51_dk, hexiwear,
nuvoton nuc472, vk rz a1h
- ST - fix timer interrupt handler, sleep api fix
- NXP - lpc15xx us ticker fix
- Nordic - analogin fixes, LF clock init addition, enable i2c async

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Kojto 123:b0220dba8be7 1 /*###ICF### Section handled by ICF editor, don't touch! ****/
Kojto 123:b0220dba8be7 2 /*-Editor annotation file-*/
Kojto 123:b0220dba8be7 3 /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\a_v1_0.xml" */
Kojto 123:b0220dba8be7 4 /*-Specials-*/
Kojto 123:b0220dba8be7 5 define symbol __ICFEDIT_intvec_start__ = 0x18020000;
Kojto 123:b0220dba8be7 6 /*-Memory Regions-*/
Kojto 123:b0220dba8be7 7 define symbol __ICFEDIT_region_ROM_start__ = 0x18020000;
Kojto 123:b0220dba8be7 8 define symbol __ICFEDIT_region_ROM_end__ = 0x19FFFFFF;
Kojto 123:b0220dba8be7 9 define symbol __ICFEDIT_region_TTB_start__ = 0x20000000;
Kojto 123:b0220dba8be7 10 define symbol __ICFEDIT_region_TTB_end__ = 0x2001FFFF;
Kojto 123:b0220dba8be7 11 define symbol __ICFEDIT_region_RAM_start__ = 0x20020000;
Kojto 123:b0220dba8be7 12 define symbol __ICFEDIT_region_RAM_end__ = 0x209FFFFF;
Kojto 123:b0220dba8be7 13 define symbol __ICFEDIT_region_SDRAM_start__ = 0x08000000;
Kojto 123:b0220dba8be7 14 define symbol __ICFEDIT_region_SDRAM_end__ = 0x09FFFFFF;
Kojto 123:b0220dba8be7 15
Kojto 123:b0220dba8be7 16 /*-Sizes-*/
Kojto 123:b0220dba8be7 17 define symbol __ICFEDIT_size_cstack__ = 0x00004000;
Kojto 123:b0220dba8be7 18 define symbol __ICFEDIT_size_svcstack__ = 0x00008000;
Kojto 123:b0220dba8be7 19 define symbol __ICFEDIT_size_irqstack__ = 0x00008000;
Kojto 123:b0220dba8be7 20 define symbol __ICFEDIT_size_fiqstack__ = 0x00000100;
Kojto 123:b0220dba8be7 21 define symbol __ICFEDIT_size_undstack__ = 0x00000100;
Kojto 123:b0220dba8be7 22 define symbol __ICFEDIT_size_abtstack__ = 0x00000100;
Kojto 123:b0220dba8be7 23 define symbol __ICFEDIT_size_heap__ = 0x00080000;
Kojto 123:b0220dba8be7 24 /**** End of ICF editor section. ###ICF###*/
Kojto 123:b0220dba8be7 25
Kojto 123:b0220dba8be7 26 define symbol __ICFEDIT_region_RetRAM_start__ = 0x20000000;
Kojto 123:b0220dba8be7 27 define symbol __ICFEDIT_region_RetRAM_end__ = 0x2001FFFF;
Kojto 123:b0220dba8be7 28
Kojto 123:b0220dba8be7 29 define symbol __ICFEDIT_region_MirrorRAM_start__ = 0x60900000;
Kojto 123:b0220dba8be7 30 define symbol __ICFEDIT_region_MirrorRAM_end__ = 0x609FFFFF;
Kojto 123:b0220dba8be7 31
Kojto 123:b0220dba8be7 32 define symbol __ICFEDIT_region_MirrorRetRAM_start__ = 0x60000000;
Kojto 123:b0220dba8be7 33 define symbol __ICFEDIT_region_MirrorRetRAM_end__ = 0x6001FFFF;
Kojto 123:b0220dba8be7 34
Kojto 123:b0220dba8be7 35 define memory mem with size = 4G;
Kojto 123:b0220dba8be7 36
Kojto 123:b0220dba8be7 37 define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
Kojto 123:b0220dba8be7 38 define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
Kojto 123:b0220dba8be7 39 define region SDRAM_region = mem:[from __ICFEDIT_region_SDRAM_start__ to __ICFEDIT_region_SDRAM_end__];
Kojto 123:b0220dba8be7 40 define region RetRAM_region = mem:[from __ICFEDIT_region_RetRAM_start__ to __ICFEDIT_region_RetRAM_end__];
Kojto 123:b0220dba8be7 41 define region MirrorRAM_region = mem:[from __ICFEDIT_region_MirrorRAM_start__ to __ICFEDIT_region_MirrorRAM_end__];
Kojto 123:b0220dba8be7 42 define region MirrorRetRAM_region = mem:[from __ICFEDIT_region_MirrorRetRAM_start__ to __ICFEDIT_region_MirrorRetRAM_end__];
Kojto 123:b0220dba8be7 43
Kojto 123:b0220dba8be7 44 define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
Kojto 123:b0220dba8be7 45 define block SVC_STACK with alignment = 8, size = __ICFEDIT_size_svcstack__ { };
Kojto 123:b0220dba8be7 46 define block IRQ_STACK with alignment = 8, size = __ICFEDIT_size_irqstack__ { };
Kojto 123:b0220dba8be7 47 define block FIQ_STACK with alignment = 8, size = __ICFEDIT_size_fiqstack__ { };
Kojto 123:b0220dba8be7 48 define block UND_STACK with alignment = 8, size = __ICFEDIT_size_undstack__ { };
Kojto 123:b0220dba8be7 49 define block ABT_STACK with alignment = 8, size = __ICFEDIT_size_abtstack__ { };
Kojto 123:b0220dba8be7 50 define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
Kojto 123:b0220dba8be7 51
Kojto 123:b0220dba8be7 52 initialize by copy { readwrite };
Kojto 123:b0220dba8be7 53 do not initialize { section .noinit };
Kojto 123:b0220dba8be7 54 do not initialize { section MMU_TT };
Kojto 123:b0220dba8be7 55
Kojto 123:b0220dba8be7 56 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
Kojto 123:b0220dba8be7 57
Kojto 123:b0220dba8be7 58 place in ROM_region { readonly };
Kojto 123:b0220dba8be7 59 place in RAM_region { readwrite,
Kojto 123:b0220dba8be7 60 block CSTACK, block SVC_STACK, block IRQ_STACK, block FIQ_STACK,
Kojto 123:b0220dba8be7 61 block UND_STACK, block ABT_STACK, block HEAP };
Kojto 123:b0220dba8be7 62
Kojto 123:b0220dba8be7 63 place in RetRAM_region { section .retram };
Kojto 123:b0220dba8be7 64 place in MirrorRAM_region { section .mirrorram };
Kojto 123:b0220dba8be7 65 place in MirrorRetRAM_region { section .mirrorretram };