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.
Diff: TARGET_GR_LYCHEE/TOOLCHAIN_IAR/MBRZA1LU.icf
- Revision:
- 170:e95d10626187
- Parent:
- 161:aa5281ff4a02
--- a/TARGET_GR_LYCHEE/TOOLCHAIN_IAR/MBRZA1LU.icf Fri Jun 22 15:38:59 2018 +0100 +++ b/TARGET_GR_LYCHEE/TOOLCHAIN_IAR/MBRZA1LU.icf Thu Sep 06 13:39:34 2018 +0100 @@ -2,10 +2,20 @@ /*-Editor annotation file-*/ /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\a_v1_0.xml" */ /*-Specials-*/ -define symbol __ICFEDIT_intvec_start__ = 0x18004000; +if (!isdefinedsymbol(MBED_APP_START)) { + define symbol MBED_APP_START = 0x18000000; +} +if (MBED_APP_START == 0x18000000) { + define symbol __ICFEDIT_intvec_start__ = MBED_APP_START + 0x4000; +} else { + define symbol __ICFEDIT_intvec_start__ = MBED_APP_START; +} +if (!isdefinedsymbol(MBED_APP_SIZE)) { + define symbol MBED_APP_SIZE = 0x800000; +} /*-Memory Regions-*/ -define symbol __ICFEDIT_region_ROM_start__ = 0x18000000; -define symbol __ICFEDIT_region_ROM_end__ = 0x187FFFFF; +define symbol __ICFEDIT_region_ROM_start__ = MBED_APP_START; +define symbol __ICFEDIT_region_ROM_end__ = MBED_APP_START + MBED_APP_SIZE - 1; define symbol __ICFEDIT_region_TTB_start__ = 0x20000000; define symbol __ICFEDIT_region_TTB_end__ = 0x2001FFFF; define symbol __ICFEDIT_region_RAM_start__ = 0x20020000;