From 6f75f0074e89106912b0013058639d9dd0bc7e83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nima=20Askari=20=28=D9=86=DB=8C=D9=85=D8=A7=20=D8=B9=D8=B3?= =?UTF-8?q?=DA=A9=D8=B1=DB=8C=29?= Date: Mon, 25 Mar 2024 20:44:14 +0100 Subject: [PATCH] Update README.md --- README.md | 81 +++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 58 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index fcaff4a..12892f7 100644 --- a/README.md +++ b/README.md @@ -1,27 +1,62 @@ -# EEPROM emulation STM32 series library -* http://www.github.com/NimaLTD -* https://www.instagram.com/github.nimaltd/ -* https://www.youtube.com/@nimaltd +# EEPROM EMULATION Library for STM32 +--- +## Please Do not Forget to get STAR, DONATE and support me on social networks. Thank you. :sparkling_heart: +--- +- Author: Nima Askari +- Github: https://www.github.com/NimaLTD +- Youtube: https://www.youtube.com/@nimaltd +- LinkedIn: https://www.linkedin.com/in/nimaltd +- Instagram: https://instagram.com/github.NimaLTD +--- +- Please Test Any MCU you have and tell me the result. +--- +* Install Library from https://github.com/nimaltd/STM32-PACK/raw/main/EE/NimaLTD.I-CUBE-EE.pdsc +* Add and enable it. +* It does not need to any configuration. This Library Select the latest page/sector of the MCU. +* Generate Code. +* Set a buffer for Storing the Data ( array, struct, ...) +* Call EE_Init() -This is the EEPROM emulation STM32 HAL Library -You can add your MCU. +--- +# Watch the Video: -* [x] F0 tested. -* [x] G0 tested. -* [ ] L0 tested. -* [x] F1 tested. -* [ ] L1 tested. -* [ ] F2 tested. -* [ ] F3 tested. -* [x] F4 tested. -* [x] L4 tested. -* [ ] F7 tested. -* [ ] H7 tested. -* [x] U5 tested. +Coming Soon -How to use this Library: -* Select "General peripheral Initalizion as a pair of '.c/.h' file per peripheral" on project settings. -* Include Header and source into your project. -* Config "eeConfig.h". -* Call ee_init(). +--- +The old Version: https://github.com/nimaltd/EE/archive/refs/tags/2.0.6.zip +''' +#include "ee.h" +typedef struct +{ + uint32_t val1; + uint32_t val2; + uint32_t val3; + uint32_t val4; + uint32_t val5; + uint32_t val6; + uint32_t val7; + uint32_t val8; + +} Stotrage_t; + +Stotrage_t ee; + +. +. + +int main(void) +{ + . + . + EE_Init(&ee, sizeof(Stotrage_t)); + EE_Read(); + + while (1) + { + + } +} + + +'''