Giter Club home page Giter Club logo

ee's Introduction

EEPROM EMULATION Library for STM32


Please Do not Forget to get STAR, DONATE and support me on social networks. Thank you. ๐Ÿ’–



Note

Please Test Any MCU you have and tell me the result.

Caution

EEPROM Emulation Library may not be suitable for frequent data alterations.


This library facilitates EEPROM emulation on microcontrollers by selecting the latest sector or page for emulation space.

Tested List:

STM32F

    • STM32F0
    • STM32F1
    • STM32F2
    • STM32F3
    • STM32F4
    • STM32F7

STM32L

    • STM32L0
    • STM32L1
    • STM32L4
    • STM32L5

STM32C

    • STM32C0

STM32G

    • STM32G0
    • STM32G4

STM32H

    • STM32H5
    • STM32H7

STM32U

    • STM32U0
    • STM32U5

STM32W

    • STM32WB
    • STM32WL
    • STM32WBA


Watch the Video:

Video

The old Version: https://github.com/nimaltd/ee/archive/refs/tags/V2.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();
  ee.val1 = 1;
  ee.val2 = 2;
  ee.val3 = 3;
  ee.val4 = 4;
  ee.val5 = 5;
  ee.val6 = 6;
  ee.val7 = 7;
  ee.val8 = 8;
  EE_Write();
  while (1)
  {

  }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.