Need support in using PSRAM as internal RAM using memory mapped mode using QSPI
Hi,
I have been working on, interfacing PSRAM(APS6404L) with NUCLEO-H563ZI board.
i'm able to perform read and write operations using QSPI and able to create the memory mapped mode.
I have modified the Linker script,i'm able to declare variables on external RAM.
but i'm unable to get, how can i use externalRAM to allocate dynamic memory
modifications done in Linker script,
/* Memories definition */
MEMORY
{
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 640K
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 2048K
PSRAM (xrw) : ORIGIN = 0x90000000, LENGTH = 8M
}
.psram_section(NOLOAD) :
{
. = ALIGN(4);
__psram_section_start__ = .;
*(.psram_section*)
__psram_section_end__ = .;
} > PSRAM
ASSERT(LENGTH(PSRAM) >= (__psram_section_end__ - __psram_section_start__),"PSRAM memory overflowed!")
