Merge branch 'master' of https://gitea.iotxs.de/RainerWieland/EEE4STM32
This commit is contained in:
commit
66764fbc25
53
README.md
53
README.md
|
@ -42,61 +42,14 @@ This library facilitates EEPROM emulation on microcontrollers by selecting the l
|
|||
- - [X] STM32WL
|
||||
- - [ ] STM32WBA
|
||||
---
|
||||
* Install Library from https://gitea.iotxs.de/RainerWieland/EEE4STM32/raw/branch/master/STM32-PACK/RWD-EEE4STM32.pdsc
|
||||
* Install Library from <a href="https://gitea.iotxs.de/RainerWieland/EEE4STM32/raw/branch/master/STM32-PACK/Files/RainerWieland.EEE4STM32.pdsc">here </a>
|
||||
* 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()
|
||||
* Call the Functions and be happy()
|
||||
|
||||
---
|
||||
# Watch the Video:
|
||||
|
||||
<div align="center">
|
||||
<a href="https://www.youtube.com/watch?v=o80ugfjuZ-o"><img src="https://img.youtube.com/vi/o80ugfjuZ-o/0.jpg" alt="Video"></a>
|
||||
</div>
|
||||
|
||||
---
|
||||
The old Version: https://github.com/nimaltd/ee/archive/refs/tags/V2.0.6.zip
|
||||
# No Video present:
|
||||
|
||||
```
|
||||
#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)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue
Block a user