Hello @GSaw and welcome to the Community :)
Please have a look at this AN4894 Application note EEPROM emulation techniques and software for STM32 microcontrollers, showing how to exploit the EEPROM emulation driver.
When your question is answered, please close this topic by choosing Select as Best.
Imen
In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks