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
As the build tool in mbed-os 5.13 cannot appropriately deal with a segmented
bootloader when combining it with an application, this commit adjusts the
size reserved for interrupts (via the linker file) to avoid a bootloader
segmentation due to an unpopulated ROM area.
The microcontroller has a total of 60 vector interrupts + 16 exception
handlers. The allocated ROM flash for interrupts should be (60 + 16) x word
size in bytes = 76 x 4 = 304 = 0x130.
This commit changes the interrupt reserved space from 0x140 to 0x130.
Copy file name to clipboardExpand all lines: targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC55S69/TARGET_M33_NS/device/TOOLCHAIN_ARMC6/LPC55S69_cm33_core0_flash.sct
Copy file name to clipboardExpand all lines: targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC55S69/TARGET_M33_NS/device/TOOLCHAIN_GCC_ARM/LPC55S69_cm33_core0_flash.ld
Copy file name to clipboardExpand all lines: targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC55S69/TARGET_M33_NS/device/TOOLCHAIN_IAR/LPC55S69_cm33_core0_flash.icf
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -81,9 +81,9 @@ if (isdefinedsymbol(__heap_size__)) {
81
81
}
82
82
83
83
define symbol m_interrupts_start = MBED_APP_START;
84
-
define symbol m_interrupts_end = (MBED_APP_START + 0x13F);
84
+
define symbol m_interrupts_end = (MBED_APP_START + 0x12F);
85
85
86
-
define symbol m_text_start = (MBED_APP_START + 0x140);
86
+
define symbol m_text_start = (MBED_APP_START + 0x130);
87
87
define symbol m_text_end = (MBED_APP_START + MBED_APP_SIZE - 1);
88
88
89
89
define symbol m_interrupts_ram_start = MBED_RAM_START;
0 commit comments