Simple way to store data on internal memory?

I have Nuchelo H743ZI2. I try KVStore but it crush on standard example. There are a lot of incomprehensible types of storage in the examples. I need two simple methods - read and write with a memory address.
On Arduino it’s
eeprom_write_byte(0, dataB);
for read
dataB_read = eeprom_read_byte(0);

Why complicate things so much? I need to store about 60 KB of data and no more.


yes the example is large but Mbed is not Arduino.
You can try this shorter.

BR, Jan