EEPROM in STM32CUbe IDE
Hi,
I had requirement of storing some application data in to EEPROM of MCU.
I am using STM32L151RCT6 MCU for my application.
Please suggest me any tried examples on this?
Hi,
I had requirement of storing some application data in to EEPROM of MCU.
I am using STM32L151RCT6 MCU for my application.
Please suggest me any tried examples on this?
STM32CubeIDE and STM32CubeMX only overwrite their own code, not the one you inserted, when you regenerate the project - and have followed the conventions. If your own code is concerned, you have apparently inserted it outside of the USER CODE blocks.
You could refer to this hand-on, step 6, if you are interested how user code should be inserted. Alternatively, you can find this information in UM1718, appendix B.1
Regards
/Peter
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.