SDRAM = MT48LC16M16A2B4 256Mb (16M x 16)
eMMC = MTFC2GMVEA 2GByte
I am using the FileX fx_media_check() API that needs 500000 Bytes. This much temporary memory can't be allocated from RAM, so it must be allocated from SDRAM.
I can statically allocate it like below:
static UCHAR sratch_memory[SCRATCH_MEMORY_SIZE] __attribute__ ((section(".sdram")));
The default heap is using only the MCU's RAM. So, if I use malloc(), it will fail because there is not enough free space in the heap.
Has anyone setup the linker file with 2 heap sections, one for RAM and the other for SDRAM?
In reply to garyj:
In reply to larry_c_not_Renesas:
In reply to bgraham: