Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
Diff: TARGET_RO359B/TOOLCHAIN_GCC_ARM/MK24FN1M0xxx12.ld
- Revision:
- 160:5571c4ff569f
- Parent:
- 143:86740a56073b
- Child:
- 171:3a7713b1edbc
diff -r 1c57384330a6 -r 5571c4ff569f TARGET_RO359B/TOOLCHAIN_GCC_ARM/MK24FN1M0xxx12.ld
--- a/TARGET_RO359B/TOOLCHAIN_GCC_ARM/MK24FN1M0xxx12.ld Thu Nov 23 11:44:04 2017 +0000
+++ b/TARGET_RO359B/TOOLCHAIN_GCC_ARM/MK24FN1M0xxx12.ld Wed Jan 17 16:13:02 2018 +0000
@@ -56,16 +56,24 @@
__stack_size__ = 0x8000;
__heap_size__ = 0x10000;
-HEAP_SIZE = DEFINED(__heap_size__) ? __heap_size__ : 0x0400;
-STACK_SIZE = DEFINED(__stack_size__) ? __stack_size__ : 0x0400;
+#if !defined(MBED_APP_START)
+ #define MBED_APP_START 0
+#endif
+
+#if !defined(MBED_APP_SIZE)
+ #define MBED_APP_SIZE 0x100000
+#endif
+
+HEAP_SIZE = DEFINED(__heap_size__) ? __heap_size__ : 0x8000;
+STACK_SIZE = DEFINED(__stack_size__) ? __stack_size__ : 0x10000;
M_VECTOR_RAM_SIZE = DEFINED(__ram_vector_table__) ? 0x0400 : 0x0;
/* Specify the memory areas */
MEMORY
{
- m_interrupts (RX) : ORIGIN = 0x00000000, LENGTH = 0x00000400
- m_flash_config (RX) : ORIGIN = 0x00000400, LENGTH = 0x00000010
- m_text (RX) : ORIGIN = 0x00000410, LENGTH = 0x000FFBF0
+ m_interrupts (RX) : ORIGIN = MBED_APP_START, LENGTH = 0x400
+ m_flash_config (RX) : ORIGIN = MBED_APP_START + 0x400, LENGTH = 0x10
+ m_text (RX) : ORIGIN = MBED_APP_START + 0x410, LENGTH = MBED_APP_SIZE - 0x410
m_data (RW) : ORIGIN = 0x1FFF0000, LENGTH = 0x00010000
m_data_2 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00030000
}


