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:
171:3a7713b1edbc
Parent:
169:a7c7b631e539
--- a/TARGET_MAX32625PICO/TOOLCHAIN_GCC_ARM/max32625.ld	Thu Sep 06 13:39:34 2018 +0100
+++ b/TARGET_MAX32625PICO/TOOLCHAIN_GCC_ARM/max32625.ld	Thu Nov 08 11:45:42 2018 +0000
@@ -31,9 +31,17 @@
  *******************************************************************************
  */
 
+#if !defined(MBED_APP_START)
+   #define MBED_APP_START 0x00010000
+#endif
+
+#if !defined(MBED_APP_SIZE)
+   #define MBED_APP_SIZE 0x00070000
+#endif
+
 MEMORY
 {
-    FLASH (rx) : ORIGIN = 0x00010000, LENGTH = 0x00070000
+    FLASH (rx) : ORIGIN = MBED_APP_START, LENGTH = MBED_APP_SIZE
     RAM  (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00028000
 }
 
@@ -114,13 +122,13 @@
         *(vtable)
         *(.data*)
 
-        . = ALIGN(4);
+        . = ALIGN(8);
         /* preinit data */
         PROVIDE_HIDDEN (__preinit_array_start = .);
         KEEP(*(.preinit_array))
         PROVIDE_HIDDEN (__preinit_array_end = .);
 
-        . = ALIGN(4);
+        . = ALIGN(8);
         /* init data */
         PROVIDE_HIDDEN (__init_array_start = .);
         KEEP(*(SORT(.init_array.*)))
@@ -128,14 +136,14 @@
         PROVIDE_HIDDEN (__init_array_end = .);
 
 
-        . = ALIGN(4);
+        . = ALIGN(8);
         /* finit data */
         PROVIDE_HIDDEN (__fini_array_start = .);
         KEEP(*(SORT(.fini_array.*)))
         KEEP(*(.fini_array))
         PROVIDE_HIDDEN (__fini_array_end = .);
 
-        . = ALIGN(4);
+        . = ALIGN(8);
         /* All data end */
         __data_end__ = .;