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_K24F/TARGET_MCU_K24F1M/device/TOOLCHAIN_ARM_STD/MK24FN1M0xxx12.sct
Copy file name to clipboardExpand all lines: targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K24F/TARGET_MCU_K24F1M/device/TOOLCHAIN_GCC_ARM/MK24FN1M0xxx12.ld
Copy file name to clipboardExpand all lines: targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K24F/TARGET_MCU_K24F1M/device/TOOLCHAIN_IAR/MK24FN1M0xxx12.icf
+14-6Lines changed: 14 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -52,17 +52,25 @@ define symbol __ram_vector_table__ = 1;
52
52
define symbol __stack_size__=0x8000;
53
53
define symbol __heap_size__=0x10000;
54
54
55
+
if (!isdefinedsymbol(MBED_APP_START)) {
56
+
define symbol MBED_APP_START = 0;
57
+
}
58
+
59
+
if (!isdefinedsymbol(MBED_APP_SIZE)) {
60
+
define symbol MBED_APP_SIZE = 0x100000;
61
+
}
62
+
55
63
define symbol __ram_vector_table_size__ = isdefinedsymbol(__ram_vector_table__) ? 0x00000400 : 0;
56
64
define symbol __ram_vector_table_offset__ = isdefinedsymbol(__ram_vector_table__) ? 0x000003FF : 0;
57
65
58
-
define symbol m_interrupts_start = 0x00000000;
59
-
define symbol m_interrupts_end = 0x000003FF;
66
+
define symbol m_interrupts_start = MBED_APP_START;
67
+
define symbol m_interrupts_end = MBED_APP_START + 0x3FF;
60
68
61
-
define symbol m_flash_config_start = 0x00000400;
62
-
define symbol m_flash_config_end = 0x0000040F;
69
+
define symbol m_flash_config_start = MBED_APP_START + 0x400;
70
+
define symbol m_flash_config_end = MBED_APP_START + 0x40F;
63
71
64
-
define symbol m_text_start = 0x00000410;
65
-
define symbol m_text_end = 0x000FFFFF;
72
+
define symbol m_text_start = MBED_APP_START + 0x410;
73
+
define symbol m_text_end = MBED_APP_START + MBED_APP_SIZE - 1;
66
74
67
75
define symbol m_interrupts_ram_start = 0x1FFF0000;
68
76
define symbol m_interrupts_ram_end = 0x1FFF0000 + __ram_vector_table_offset__;
0 commit comments