Skip to content

Commit 3052257

Browse files
committed
MIMXRT1050: Reduce NOR size used by mbed-os
Reserve 4MB for mbed-os. The rest is used by storage driver Signed-off-by: Mahesh Mahadevan <[email protected]>
1 parent 398f815 commit 3052257

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_MIMXRT1050/device/TOOLCHAIN_ARM_STD/MIMXRT1052xxxxx.sct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
#define m_interrupts_size 0x00000400
4545

4646
#define m_text_start 0x60002400
47-
#define m_text_size 0x03FFDC00
47+
#define m_text_size 0x003FDC00
4848

4949
#define m_text2_start 0x00000000
5050
#define m_text2_size 0x00020000

targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_MIMXRT1050/device/TOOLCHAIN_GCC_ARM/MIMXRT1052xxxxx.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ MEMORY
4545
m_flash_config (RX) : ORIGIN = 0x60000000, LENGTH = 0x00001000
4646
m_ivt (RX) : ORIGIN = 0x60001000, LENGTH = 0x00001000
4747
m_interrupts (RX) : ORIGIN = 0x60002000, LENGTH = 0x00000400
48-
m_text (RX) : ORIGIN = 0x60002400, LENGTH = 0x03FFDC00
48+
m_text (RX) : ORIGIN = 0x60002400, LENGTH = 0x003FDC00
4949
m_text2 (RX) : ORIGIN = 0x00000000, LENGTH = 0x00020000
5050
m_data (RW) : ORIGIN = 0x80000000, LENGTH = 0x01E00000
5151
m_ncache (RW) : ORIGIN = 0x81E00000, LENGTH = 0x00200000

targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_MIMXRT1050/device/TOOLCHAIN_IAR/MIMXRT1052xxxxx.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ define symbol m_interrupts_start = 0x60002000;
4242
define symbol m_interrupts_end = 0x600023FF;
4343

4444
define symbol m_text_start = 0x60002400;
45-
define symbol m_text_end = 0x63FFFFFF;
45+
define symbol m_text_end = 0x603FFFFF;
4646

4747
define symbol m_text2_start = 0x00000000;
4848
define symbol m_text2_end = 0x0001FFFF;

0 commit comments

Comments
 (0)