Question
STM32F7 SDRAM configuration for heap, stack and LTDC buffer (STM32F769-DISCO)
There are examples on how to set up SDRAM on STM32F769-DISCO board but I found no comprehensive example of what I think should be the default setup for this board: SDRAM configured for heap, stack and 2MB LTDC buffer reserved.
So far I figured out SDRAM and FMC ought to be set up upon SystemInit(), typically within SystemInit_ExtMemCtl() method (mbed-os 5). Example of a proper implementation can be found here.
However, I am not sure if:
- additional GCC linker script modifications are required,
- startup code in startup_stm32f769xx.s needs to be altered,
- LTDC buffer can be set up later, how?
- MPU needs to be set up as well and how?
Could someone point me to the right direction please?
