cancel
Showing results for 
Search instead for 
Did you mean: 

Is there an updated eeprom emulation example for STM32F10x and CubeMX generated projects using HAL?

m12lrpv
Associate III

I've gone through AN2594 and the associated examples. They're all for the standard peripheral library which is now deprecated.

Someone has an example of a port on github that looks reasonably complete https://github.com/lamik/EEPROM-emulation-STM32F1-HAL/blob/master/Src/eeprom.c

and at this stage it looks like I will be using that

however...

I'm wondering it ST have (or are planning to have) an official update?

1 ACCEPTED SOLUTION

Accepted Solutions

I thought they did, or had Cube auto-generate the boiler plate code.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

2 REPLIES 2

I thought they did, or had Cube auto-generate the boiler plate code.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Thanks. Your suggestion regarding Cube generating the code sent me looking there.

I found that they ship examples in the CubeMX firmwares i.e. STM32Cube_FW_F1_V1.8.3

For the F4 firmware (STM32Cube_FW_F4_V1.25.2 ) the examples are selectable in the CubeMX example selector but not for the F1 examples.

:thumbs_up: