Hi everyone!
I'm still working on a project based on LPC5536 and LPC5534 MCU. For the LPC5534 version, I need to use/enable the SRAMX memory, because the SRAM memory area is insufficient.
I took a look at the linker scripts for both MCUs (mcux-sdx/devices/LPC553X/gcc/LPC553X_flash.ld), and I found that the SRMAX area memory is defined in the MEMORY command (code below extracted from LPC5534_flash.ld)
MEMORY
{
m_interrupts (RX) : ORIGIN = 0x00000000, LENGTH = 0x00000400
m_text (RX) : ORIGIN = 0x00000400, LENGTH = 0x0001FC00
m_data (RW) : ORIGIN = 0x20000000 + RETENTION_RAMSIZE, LENGTH = 0x00010000 - RETENTION_RAMSIZE
m_data_4 (RW) : ORIGIN = 0x20018000, LENGTH = 0x00004000
m_sramx (RW) : ORIGIN = 0x04000000, LENGTH = 0x00004000
}
However, there isn't any memory section defined in the SECTION command associated to the m_sramx memory area.
So, do you plan to update the linker script to add the definition of a section mapped to m_sramx memory area?
Thanks in advance!
BR,
Martin