File tree Expand file tree Collapse file tree 2 files changed +10
-12
lines changed
targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_MIMXRT105x/device/TOOLCHAIN_GCC_ARM Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 247247 "MCU_STM32H7" : {
248248 "crash-capture-enabled" : true
249249 },
250- "MIMXRT105X-P " : {
250+ "MIMXRT105X" : {
251251 "crash-capture-enabled" : true
252252 }
253253 }
Original file line number Diff line number Diff line change @@ -74,10 +74,7 @@ MEMORY
7474
7575#ifdef MBED_RAM_BANK_SDRAM_SIZE
7676 /* Use the external RAM as main memory */
77- m_data (RW) : ORIGIN = MBED_RAM_BANK_SDRAM_START, LENGTH = MBED_RAM_BANK_SDRAM_SIZE
78- #else
79- /* No external data memory, store data in DTCM (significantly faster than OCRAM)*/
80- #define m_data m_dtcm
77+ m_sdram (RW) : ORIGIN = MBED_RAM_BANK_SDRAM_START, LENGTH = MBED_RAM_BANK_SDRAM_SIZE
8178#endif
8279
8380 /* ITCM bank -- used for functions that need to execute from RAM
@@ -256,7 +253,7 @@ SECTIONS
256253 KEEP (*(.jcr *))
257254 . = ALIGN (8 );
258255 __data_end__ = .; /* define a global symbol at data end */
259- } > m_data AT> m_text :ram_init
256+ } > m_dtcm AT> m_text :ram_init
260257 __ram_function_flash_start = __DATA_ROM + (__data_end__ - __data_start__); /* Symbol is used by startup for TCM data initialization */
261258
262259 .ram_function :
@@ -339,18 +336,19 @@ SECTIONS
339336 . = ALIGN (8 );
340337 __bss_end__ = .;
341338 __END_BSS = .;
342- } > m_data :ram_noinit
339+ } > m_dtcm :ram_noinit
340+
341+ . = ALIGN (8 );
342+ __end__ = .;
343+ PROVIDE (end = .);
343344
344345 .heap (NOLOAD) :
345346 {
346- . = ALIGN (8 );
347- __end__ = .;
348- PROVIDE (end = .);
349347 __HeapBase = .;
350- . = ORIGIN (m_data ) + LENGTH (m_data ) - STACK_SIZE;
348+ . = ORIGIN (m_dtcm ) + LENGTH (m_dtcm ) - STACK_SIZE;
351349 __HeapLimit = .;
352350 __heap_limit = .; /* Add for _sbrk */
353- } > m_data :ram_noinit
351+ } > m_dtcm :ram_noinit
354352
355353 /* Reserve space for stack (even though stack is always at the end of DTCM regardless
356354 of where this section is located) */
You can’t perform that action at this time.
0 commit comments