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_HEXIWEAR/TOOLCHAIN_ARM_STD/MK64FN1M0xxx12.sct
- Revision:
- 172:65be27845400
- Parent:
- 170:e95d10626187
--- a/TARGET_HEXIWEAR/TOOLCHAIN_ARM_STD/MK64FN1M0xxx12.sct Thu Nov 08 11:45:42 2018 +0000 +++ b/TARGET_HEXIWEAR/TOOLCHAIN_ARM_STD/MK64FN1M0xxx12.sct Wed Feb 20 20:53:29 2019 +0000 @@ -64,6 +64,10 @@ #define MBED_APP_SIZE 0x100000 #endif +#if !defined(MBED_BOOT_STACK_SIZE) + #define MBED_BOOT_STACK_SIZE 0x400 +#endif + #define m_interrupts_start MBED_APP_START #define m_interrupts_size 0x00000400 @@ -76,8 +80,11 @@ #define m_interrupts_ram_start 0x1FFF0000 #define m_interrupts_ram_size __ram_vector_table_size__ -#define m_data_start (m_interrupts_ram_start + m_interrupts_ram_size) -#define m_data_size (0x00010000 - m_interrupts_ram_size) +#define m_crash_report_ram_start (m_interrupts_ram_start + m_interrupts_ram_size) +#define m_crash_report_ram_size (0x100) + +#define m_data_start (m_crash_report_ram_start + m_crash_report_ram_size) +#define m_data_size (0x00010000 - (m_interrupts_ram_size+m_crash_report_ram_size)) #define m_data_2_start 0x20000000 #define m_data_2_size 0x00030000 @@ -86,7 +93,7 @@ #if (defined(__stack_size__)) #define Stack_Size __stack_size__ #else - #define Stack_Size 0x0400 + #define Stack_Size MBED_BOOT_STACK_SIZE #endif #if (defined(__heap_size__)) @@ -114,6 +121,8 @@ VECTOR_RAM m_interrupts_start EMPTY 0 { } #endif + RW_m_crash_data m_crash_report_ram_start EMPTY m_crash_report_ram_size { ; RW data + } RW_m_data m_data_start m_data_size { ; RW data .ANY (+RW +ZI) } @@ -122,4 +131,6 @@ } RW_IRAM1 ImageLimit(RW_m_data_2) { ; Heap region growing up } + ARM_LIB_STACK m_data_2_start+m_data_2_size EMPTY -Stack_Size { ; Stack region growing down + } }