summaryrefslogtreecommitdiffstats
path: root/platforms/eeprom.h
diff options
context:
space:
mode:
authorlokher <lokher@gmail.com>2022-08-03 16:53:42 +0800
committerlokher <lokher@gmail.com>2022-08-05 14:45:45 +0800
commit968655c74cc13a1a63320ef795fe436449708429 (patch)
treeb37716e10d16dcf760ba608dc66051cdb47eb31b /platforms/eeprom.h
parent068bfc49de127c1f1305ee7680f51425ca9cd1f1 (diff)
Add K8 pro
Diffstat (limited to 'platforms/eeprom.h')
-rw-r--r--platforms/eeprom.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/platforms/eeprom.h b/platforms/eeprom.h
index 091e6e4400..42afd643f6 100644
--- a/platforms/eeprom.h
+++ b/platforms/eeprom.h
@@ -39,6 +39,9 @@ void eeprom_update_block(const void *__src, void *__dst, size_t __n);
#elif defined(EEPROM_STM32_L0_L1)
# include "eeprom_stm32_L0_L1.h"
# define TOTAL_EEPROM_BYTE_COUNT (STM32_ONBOARD_EEPROM_SIZE)
+#elif defined(EEPROM_STM32_L4)
+# include "eeprom_stm32_defs.h"
+# define TOTAL_EEPROM_BYTE_COUNT (FEE_DENSITY_BYTES)
#elif defined(EEPROM_TEENSY)
# include "eeprom_teensy.h"
# define TOTAL_EEPROM_BYTE_COUNT (EEPROM_SIZE)