Create a variable in SDRAM
Hi i have configured the FMC and can read and write in SDRAM extern, begin in 0xC0000000, i now want create a variable in this SDRAM, then i define:
uint32_t myFrameBuffer[65280] __attribute__((section(".sdram_data"))) = {0};
but when i see the debugger direction of myFrameBuffer is 0x2000000C,
I have intent also with these:
uint32_t myFrameBuffer[65280] __attribute__((section(".mySection")));
and in .ld file i write inside of .section, this :
.mySection :
{
. = 0xC0000000; // Dirección de inicio de la RAM externa
*(.mySection)
} >EXT_RAM
but follow the direction in 0x2000000C, How can make for what
myFrameBuffer begin in the direction 0xC0000000 ?