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.
TARGET_EFM32PG_STK3401/TOOLCHAIN_IAR/efm32pg1b200f256.icf@145:64910690c574, 2017-06-21 (annotated)
- Committer:
- AnnaBridge
- Date:
- Wed Jun 21 17:31:38 2017 +0100
- Revision:
- 145:64910690c574
- Parent:
- 122:f9eeca106725
Release 145 of the mbed library.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kojto | 122:f9eeca106725 | 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ |
Kojto | 122:f9eeca106725 | 2 | /*-Editor annotation file-*/ |
Kojto | 122:f9eeca106725 | 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ |
AnnaBridge | 145:64910690c574 | 4 | |
AnnaBridge | 145:64910690c574 | 5 | if (!isdefinedsymbol(MBED_APP_START)) { define symbol MBED_APP_START = 0x00000000; } |
AnnaBridge | 145:64910690c574 | 6 | if (!isdefinedsymbol(MBED_APP_SIZE)) { define symbol MBED_APP_SIZE = 0x00040000; } |
AnnaBridge | 145:64910690c574 | 7 | |
Kojto | 122:f9eeca106725 | 8 | /*-Specials-*/ |
AnnaBridge | 145:64910690c574 | 9 | define symbol __ICFEDIT_intvec_start__ = MBED_APP_START; |
Kojto | 122:f9eeca106725 | 10 | /*-Memory Regions-*/ |
AnnaBridge | 145:64910690c574 | 11 | define symbol __ICFEDIT_region_ROM_start__ = MBED_APP_START; |
AnnaBridge | 145:64910690c574 | 12 | define symbol __ICFEDIT_region_ROM_end__ = MBED_APP_START + MBED_APP_SIZE - 1; |
Kojto | 122:f9eeca106725 | 13 | define symbol __NVIC_start__ = 0x20000000; |
Kojto | 122:f9eeca106725 | 14 | define symbol __NVIC_end__ = 0x200000C7; |
Kojto | 122:f9eeca106725 | 15 | define symbol __ICFEDIT_region_RAM_start__ = 0x200000C8; |
Kojto | 122:f9eeca106725 | 16 | define symbol __ICFEDIT_region_RAM_end__ = 0x20007FFF; |
Kojto | 122:f9eeca106725 | 17 | /*-Sizes-*/ |
Kojto | 122:f9eeca106725 | 18 | /*Heap 1/4 of ram and stack 1/8*/ |
Kojto | 122:f9eeca106725 | 19 | define symbol __ICFEDIT_size_cstack__ = 0x1000; |
Kojto | 122:f9eeca106725 | 20 | define symbol __ICFEDIT_size_heap__ = 0x2000; |
Kojto | 122:f9eeca106725 | 21 | /**** End of ICF editor section. ###ICF###*/ |
Kojto | 122:f9eeca106725 | 22 | |
Kojto | 122:f9eeca106725 | 23 | define memory mem with size = 4G; |
Kojto | 122:f9eeca106725 | 24 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; |
Kojto | 122:f9eeca106725 | 25 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; |
Kojto | 122:f9eeca106725 | 26 | |
Kojto | 122:f9eeca106725 | 27 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; |
Kojto | 122:f9eeca106725 | 28 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; |
Kojto | 122:f9eeca106725 | 29 | |
Kojto | 122:f9eeca106725 | 30 | initialize by copy { readwrite }; |
Kojto | 122:f9eeca106725 | 31 | do not initialize { section .noinit }; |
Kojto | 122:f9eeca106725 | 32 | |
Kojto | 122:f9eeca106725 | 33 | keep { section .intvec }; |
Kojto | 122:f9eeca106725 | 34 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; |
Kojto | 122:f9eeca106725 | 35 | place in ROM_region { readonly }; |
Kojto | 122:f9eeca106725 | 36 | place in RAM_region { readwrite, block CSTACK, block HEAP }; |
Kojto | 122:f9eeca106725 | 37 |