File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed
targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 65
65
#define m_interrupts_start MBED_APP_START
66
66
#define m_interrupts_size 0x00000400
67
67
68
- #if MBED_APP_SIZE == 0
68
+ #if MBED_APP_START == 0
69
69
70
70
#define m_flash_config_start MBED_APP_START + 0x400
71
71
#define m_flash_config_size 0x00000010
@@ -111,7 +111,7 @@ LR_IROM1 m_interrupts_start m_text_start+m_text_size-m_interrupts_start { ; lo
111
111
VECTOR_ROM m_interrupts_start m_interrupts_size { ; load address = execution address
112
112
* (RESET,+FIRST)
113
113
}
114
- #if MBED_APP_SIZE == 0
114
+ #if MBED_APP_START == 0
115
115
ER_m_flash_config m_flash_config_start FIXED m_flash_config_size { ; load address = execution address
116
116
* (FlashConfig)
117
117
}
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ M_CRASH_DATA_RAM_SIZE = 0x100;
74
74
/* Specify the memory areas */
75
75
MEMORY
76
76
{
77
- #if MBED_APP_SIZE == 0
77
+ #if MBED_APP_START == 0
78
78
m_interrupts (RX) : ORIGIN = MBED_APP_START, LENGTH = 0x400
79
79
m_flash_config (RX) : ORIGIN = MBED_APP_START + 0x400, LENGTH = 0x10
80
80
m_text (RX) : ORIGIN = MBED_APP_START + 0x410, LENGTH = MBED_APP_SIZE - 0x410
@@ -95,7 +95,7 @@ SECTIONS
95
95
. = ALIGN (8);
96
96
KEEP(*(.isr_vector)) /* Startup code */
97
97
. = ALIGN (8);
98
- #if MBED_APP_SIZE == 0
98
+ #if MBED_APP_START == 0
99
99
} > m_interrupts
100
100
101
101
.flash_config :
Original file line number Diff line number Diff line change 57
57
#endif
58
58
59
59
#if !defined(MBED_APP_START)
60
+
60
61
#define MBED_APP_START 0
61
62
#elif MBED_APP_START > 0 && MBED_APP_START < 0x410
62
63
#error MBED_APP_START too small and will overwrite interrupts and flash config
77
78
#define m_interrupts_start MBED_APP_START
78
79
#define m_interrupts_size 0x00000400
79
80
80
- #if MBED_APP_SIZE == 0
81
+ #if MBED_APP_START == 0
81
82
82
83
#define m_flash_config_start MBED_APP_START + 0x400
83
84
#define m_flash_config_size 0x00000010
@@ -115,7 +116,7 @@ LR_IROM1 m_interrupts_start m_text_start+m_text_size-m_interrupts_start { ; load
115
116
VECTOR_ROM m_interrupts_start m_interrupts_size { ; load address = execution address
116
117
* (RESET,+FIRST)
117
118
}
118
- #if MBED_APP_SIZE == 0
119
+ #if MBED_APP_START == 0
119
120
ER_m_flash_config m_flash_config_start FIXED m_flash_config_size { ; load address = execution address
120
121
* (FlashConfig)
121
122
}
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ M_CRASH_DATA_RAM_SIZE = 0x100;
76
76
/* Specify the memory areas */
77
77
MEMORY
78
78
{
79
- #if MBED_APP_SIZE == 0
79
+ #if MBED_APP_START == 0
80
80
m_interrupts (RX) : ORIGIN = MBED_APP_START, LENGTH = 0x400
81
81
m_flash_config (RX) : ORIGIN = MBED_APP_START + 0x400, LENGTH = 0x10
82
82
m_text (RX) : ORIGIN = MBED_APP_START + 0x410, LENGTH = MBED_APP_SIZE - 0x410
@@ -97,7 +97,7 @@ SECTIONS
97
97
. = ALIGN (8);
98
98
KEEP(*(.isr_vector)) /* Startup code */
99
99
. = ALIGN (8);
100
- #if MBED_APP_SIZE == 0
100
+ #if MBED_APP_START == 0
101
101
} > m_interrupts
102
102
103
103
.flash_config :
You can’t perform that action at this time.
0 commit comments