Further tidy up of STM32 eeprom emulation (#14591)
This commit is contained in:
1 parent
5c6a8f599f
commit
83e978da1f
3 files changed
+10
-38
No files matched your search
@@ -19,11 +19,11 @@
|
||||
#include <hal.h>
|
||||
#include "flash_stm32.h"
|
||||
|
||||
#if defined(EEPROM_EMU_STM32F103xB)
|
||||
#if defined(STM32F1XX)
|
||||
# define FLASH_SR_WRPERR FLASH_SR_WRPRTERR
|
||||
#endif
|
||||
|
||||
#if defined(EEPROM_EMU_STM32F401xC)
|
||||
#if defined(STM32F4XX)
|
||||
# define FLASH_SR_PGERR (FLASH_SR_PGSERR | FLASH_SR_PGPERR | FLASH_SR_PGAERR)
|
||||
|
||||
# define FLASH_KEY1 0x45670123U
|
||||
|
||||
Reference in new issue
Block a user