Eeprom emulation for STM32, ESP32 and RP2350

I had an interesting discussion with GPT about nonVolatile storage of (motor) parameters without reflashing the whole chip everytime.
GPT stated, that all of our favourite MCUs have inbuild means to use flash memory to emulate EEprom.
Comparison chart:

It also came up with a SimpleFOC_EEPROM.h proposal, but I’m sure it’s not bulletproof

Your abstraction header (SimpleFOC_EEPROM.h) should expose basic functions like:

bool sys_eeprom_init();
bool sys_eeprom_write(uint16_t address, uint8_t *data, uint16_t length);
bool sys_eeprom_read(uint16_t address, uint8_t *data, uint16_t length);
bool sys_eeprom_commit(); // Crucial for platforms that queue writes

I wanted to start a discussion, whether this is a useful feature (especially when using the webcontroller)
I can provide a few more code snippets GPT spat out, but they should not be taken too seriously.