2019-07-04 03:10 AM
How to use SDRAM instead of SRAM memory in STM32F429I-Eval board as the touchgfx generated files need more memory , IAR 7.4 IDE is used.
2019-07-04 04:39 AM
Add in the BSP files for SDRAM, initialize in SystemInit(), and change the memory mapping passed to the linker.
2019-07-05 04:52 AM
Hello Clive,
Can you please elaborate on the changing the memory mapping passed to the linker..
2019-07-09 06:17 AM
Hi @ananya,
All you have to do is pass a pointer to TouchGFX HAL that points to somewhere in external memory. like 0xC0000000, and then pass that pointer to HAL, e.g.
hal.setFrameBufferStartAddress((uint16_t*)frameBuf0, 16);
2019-07-09 06:19 AM
Whereas if you wanted to supply the address of a framebuffer in internal ram you would simply allocate that memory statically (array of e.g. uint16_t) and pass a reference to that.
/Martin