How to initialize external SRAM in system_stm32l4xx.c
I am trying to initialize my external SRAM before the main loop runs. Using the STCubeMX it generated the code for me to have me FMC controller initialized after Hal_init() and Hal_GPIO_Init() in Main.c. However, I need the SRAM to be initialized before this.
Doing some research I found that there is a SystemInit_ExtMemCtl() function inside System_init in STM32F4xx.c but I do not seem to have this function in the L4.
Any guidance or example for doing this would be greatly appreciated!
