commit
11729d4869
|
@ -7,6 +7,7 @@ This is the EEPROM emulation STM32 HAL Library
|
||||||
You can add your MCU config.
|
You can add your MCU config.
|
||||||
|
|
||||||
* [x] F0 tested.
|
* [x] F0 tested.
|
||||||
|
* [ ] G0 tested. (STM32G030xx)
|
||||||
* [ ] L0 tested.
|
* [ ] L0 tested.
|
||||||
* [x] F1 tested.
|
* [x] F1 tested.
|
||||||
* [ ] L1 tested.
|
* [ ] L1 tested.
|
||||||
|
|
9
ee.c
9
ee.c
|
@ -144,6 +144,15 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(STM32G030xx_H)
|
||||||
|
#define _EE_SIZE 2048
|
||||||
|
#define _EE_ADDR_INUSE (((uint32_t)0x08000000) | (_EE_SIZE * _EE_USE_FLASH_PAGE_OR_SECTOR))
|
||||||
|
#define _EE_PAGE_OR_SECTOR PAGE_NUM
|
||||||
|
#if (_EE_USE_FLASH_PAGE_OR_SECTOR > 31)
|
||||||
|
#error "Please Enter correct address, maximum is (31)"
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(STM32L433xx)
|
#if defined(STM32L433xx)
|
||||||
#define _EE_SIZE 2048
|
#define _EE_SIZE 2048
|
||||||
#define _EE_ADDR_INUSE (((uint32_t)0x08000000) | (_EE_SIZE * _EE_USE_FLASH_PAGE_OR_SECTOR))
|
#define _EE_ADDR_INUSE (((uint32_t)0x08000000) | (_EE_SIZE * _EE_USE_FLASH_PAGE_OR_SECTOR))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user