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_RZ_A1H/TOOLCHAIN_IAR/MBRZA1H.icf@121:6c34061e7c34, 2016-05-25 (annotated)
- Committer:
- Kojto
- Date:
- Wed May 25 16:44:06 2016 +0100
- Revision:
- 121:6c34061e7c34
- Child:
- 170:e95d10626187
Release 121 of the mbed library
Changes:
- new targets - EFM32PG_STK3401, NUCLEO_L031K6
- ST - F7 - analogin conversion fix
- F1, F4 - serial flushed prior init fix
- CAN added for F042K6,F072RB,F091RC
- NUCLE_L053R8/F030R8/F070RB,F103RB - ticker 16bit counter fix
- NXP - LPC812 PWMOut conflict issue fix
- KSDK - PWMout fix
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kojto | 121:6c34061e7c34 | 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ |
Kojto | 121:6c34061e7c34 | 2 | /*-Editor annotation file-*/ |
Kojto | 121:6c34061e7c34 | 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\a_v1_0.xml" */ |
Kojto | 121:6c34061e7c34 | 4 | /*-Specials-*/ |
Kojto | 121:6c34061e7c34 | 5 | define symbol __ICFEDIT_intvec_start__ = 0x18004000; |
Kojto | 121:6c34061e7c34 | 6 | /*-Memory Regions-*/ |
Kojto | 121:6c34061e7c34 | 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x18000000; |
Kojto | 121:6c34061e7c34 | 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x187FFFFF; |
Kojto | 121:6c34061e7c34 | 9 | define symbol __ICFEDIT_region_TTB_start__ = 0x20000000; |
Kojto | 121:6c34061e7c34 | 10 | define symbol __ICFEDIT_region_TTB_end__ = 0x2001FFFF; |
Kojto | 121:6c34061e7c34 | 11 | define symbol __ICFEDIT_region_RAM_start__ = 0x20020000; |
Kojto | 121:6c34061e7c34 | 12 | define symbol __ICFEDIT_region_RAM_end__ = 0x209FFFFF; |
Kojto | 121:6c34061e7c34 | 13 | |
Kojto | 121:6c34061e7c34 | 14 | /*-Sizes-*/ |
Kojto | 121:6c34061e7c34 | 15 | define symbol __ICFEDIT_size_cstack__ = 0x00004000; |
Kojto | 121:6c34061e7c34 | 16 | define symbol __ICFEDIT_size_svcstack__ = 0x00008000; |
Kojto | 121:6c34061e7c34 | 17 | define symbol __ICFEDIT_size_irqstack__ = 0x00008000; |
Kojto | 121:6c34061e7c34 | 18 | define symbol __ICFEDIT_size_fiqstack__ = 0x00000100; |
Kojto | 121:6c34061e7c34 | 19 | define symbol __ICFEDIT_size_undstack__ = 0x00000100; |
Kojto | 121:6c34061e7c34 | 20 | define symbol __ICFEDIT_size_abtstack__ = 0x00000100; |
Kojto | 121:6c34061e7c34 | 21 | define symbol __ICFEDIT_size_heap__ = 0x00080000; |
Kojto | 121:6c34061e7c34 | 22 | /**** End of ICF editor section. ###ICF###*/ |
Kojto | 121:6c34061e7c34 | 23 | |
Kojto | 121:6c34061e7c34 | 24 | define symbol __ICFEDIT_region_RetRAM_start__ = 0x20000000; |
Kojto | 121:6c34061e7c34 | 25 | define symbol __ICFEDIT_region_RetRAM_end__ = 0x2001FFFF; |
Kojto | 121:6c34061e7c34 | 26 | |
Kojto | 121:6c34061e7c34 | 27 | define symbol __ICFEDIT_region_MirrorRAM_start__ = 0x60900000; |
Kojto | 121:6c34061e7c34 | 28 | define symbol __ICFEDIT_region_MirrorRAM_end__ = 0x609FFFFF; |
Kojto | 121:6c34061e7c34 | 29 | |
Kojto | 121:6c34061e7c34 | 30 | define symbol __ICFEDIT_region_MirrorRetRAM_start__ = 0x60000000; |
Kojto | 121:6c34061e7c34 | 31 | define symbol __ICFEDIT_region_MirrorRetRAM_end__ = 0x6001FFFF; |
Kojto | 121:6c34061e7c34 | 32 | |
Kojto | 121:6c34061e7c34 | 33 | define memory mem with size = 4G; |
Kojto | 121:6c34061e7c34 | 34 | |
Kojto | 121:6c34061e7c34 | 35 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; |
Kojto | 121:6c34061e7c34 | 36 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; |
Kojto | 121:6c34061e7c34 | 37 | define region RetRAM_region = mem:[from __ICFEDIT_region_RetRAM_start__ to __ICFEDIT_region_RetRAM_end__]; |
Kojto | 121:6c34061e7c34 | 38 | define region MirrorRAM_region = mem:[from __ICFEDIT_region_MirrorRAM_start__ to __ICFEDIT_region_MirrorRAM_end__]; |
Kojto | 121:6c34061e7c34 | 39 | define region MirrorRetRAM_region = mem:[from __ICFEDIT_region_MirrorRetRAM_start__ to __ICFEDIT_region_MirrorRetRAM_end__]; |
Kojto | 121:6c34061e7c34 | 40 | |
Kojto | 121:6c34061e7c34 | 41 | define block ROM_FIXED_ORDER with fixed order { ro code, ro data }; |
Kojto | 121:6c34061e7c34 | 42 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; |
Kojto | 121:6c34061e7c34 | 43 | define block SVC_STACK with alignment = 8, size = __ICFEDIT_size_svcstack__ { }; |
Kojto | 121:6c34061e7c34 | 44 | define block IRQ_STACK with alignment = 8, size = __ICFEDIT_size_irqstack__ { }; |
Kojto | 121:6c34061e7c34 | 45 | define block FIQ_STACK with alignment = 8, size = __ICFEDIT_size_fiqstack__ { }; |
Kojto | 121:6c34061e7c34 | 46 | define block UND_STACK with alignment = 8, size = __ICFEDIT_size_undstack__ { }; |
Kojto | 121:6c34061e7c34 | 47 | define block ABT_STACK with alignment = 8, size = __ICFEDIT_size_abtstack__ { }; |
Kojto | 121:6c34061e7c34 | 48 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; |
Kojto | 121:6c34061e7c34 | 49 | |
Kojto | 121:6c34061e7c34 | 50 | initialize by copy { readwrite }; |
Kojto | 121:6c34061e7c34 | 51 | do not initialize { section .noinit }; |
Kojto | 121:6c34061e7c34 | 52 | do not initialize { section .retram }; |
Kojto | 121:6c34061e7c34 | 53 | |
Kojto | 121:6c34061e7c34 | 54 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; |
Kojto | 121:6c34061e7c34 | 55 | |
Kojto | 121:6c34061e7c34 | 56 | place in ROM_region { readonly, block ROM_FIXED_ORDER }; |
Kojto | 121:6c34061e7c34 | 57 | place in RAM_region { readwrite, |
Kojto | 121:6c34061e7c34 | 58 | block CSTACK, block SVC_STACK, block IRQ_STACK, block FIQ_STACK, |
Kojto | 121:6c34061e7c34 | 59 | block UND_STACK, block ABT_STACK, block HEAP }; |
Kojto | 121:6c34061e7c34 | 60 | |
Kojto | 121:6c34061e7c34 | 61 | place in RetRAM_region { section .retram }; |
Kojto | 121:6c34061e7c34 | 62 | place in MirrorRAM_region { section .mirrorram }; |
Kojto | 121:6c34061e7c34 | 63 | place in MirrorRetRAM_region { section .mirrorretram }; |