STM32H7S7 How to write to external flash
HI,
I'm using stm32h7s78-dk, and setup the external flash following this tutorial
The "appli" project is in external flash and runs with no issue. Now I want to write some config data such as display brightness to the external flash according to user input but I can't find a way to do that.
I tried HAL_FLASH_Program(), but it seems can only modify the internal flash. Then I tried to enable EXTMEM_MANAGER_APPLI in CubeMX to use EXTMEM_WriteInMappedMode(). However, I can't reinitialize the xspi in "appli" project..
What is the appropriate way to do this?
Any input is much appreciated!
