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.

Revision:
170:e95d10626187
Parent:
121:6c34061e7c34
--- a/TARGET_RZ_A1H/TOOLCHAIN_IAR/MBRZA1H.icf	Fri Jun 22 15:38:59 2018 +0100
+++ b/TARGET_RZ_A1H/TOOLCHAIN_IAR/MBRZA1H.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;