summaryrefslogtreecommitdiffstats
path: root/platforms/eeprom.h
diff options
context:
space:
mode:
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)