You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/device/TOOLCHAIN_ARM_STD/MK64FN1M0xxx12.sct
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,10 @@
64
64
#define MBED_APP_SIZE 0x100000
65
65
#endif
66
66
67
+
#if !defined(MBED_BOOT_STACK_SIZE)
68
+
#define MBED_BOOT_STACK_SIZE 0x400
69
+
#endif
70
+
67
71
#define m_interrupts_start MBED_APP_START
68
72
#define m_interrupts_size 0x00000400
69
73
@@ -86,7 +90,7 @@
86
90
#if (defined(__stack_size__))
87
91
#define Stack_Size __stack_size__
88
92
#else
89
-
#define Stack_Size 0x0400
93
+
#define Stack_Size MBED_BOOT_STACK_SIZE
90
94
#endif
91
95
92
96
#if (defined(__heap_size__))
@@ -122,4 +126,6 @@ LR_IROM1 m_interrupts_start m_text_start+m_text_size-m_interrupts_start { ; lo
122
126
}
123
127
RW_IRAM1 ImageLimit(RW_m_data_2) { ; Heap region growing up
124
128
}
129
+
ARM_LIB_STACK m_data_2_start+m_data_2_size EMPTY -Stack_Size { ; Stack region growing down
Copy file name to clipboardExpand all lines: targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/device/TOOLCHAIN_GCC_ARM/MK64FN1M0xxx12.ld
+11-7Lines changed: 11 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -53,12 +53,6 @@ ENTRY(Reset_Handler)
53
53
54
54
__ram_vector_table__ = 1;
55
55
56
-
/* With the RTOS in use, this does not affect the main stack size. The size of
57
-
* the stack where main runs is determined via the RTOS. */
58
-
__stack_size__ = 0x400;
59
-
60
-
__heap_size__ = 0x6000;
61
-
62
56
#if !defined(MBED_APP_START)
63
57
#define MBED_APP_START 0
64
58
#endif
@@ -67,6 +61,16 @@ __heap_size__ = 0x6000;
67
61
#define MBED_APP_SIZE 0x100000
68
62
#endif
69
63
64
+
#if !defined(MBED_BOOT_STACK_SIZE)
65
+
#define MBED_BOOT_STACK_SIZE 0x400
66
+
#endif
67
+
68
+
/* With the RTOS in use, this does not affect the main stack size. The size of
69
+
* the stack where main runs is determined via the RTOS. */
0 commit comments