From f2f2afe13ba3ae1da8a546ad85eb9e69ddc70a8a Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Thu, 12 Mar 2020 12:59:55 +1100 Subject: Add support for STM32L0/L1 onboard EEPROM. (#8002) * Add support for STM32L0/L1 onboard EEPROM. * Update docs/eeprom_driver.md Co-Authored-By: Joel Challis Co-authored-by: Joel Challis --- common_features.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common_features.mk') diff --git a/common_features.mk b/common_features.mk index fe65974e7..b71dbc77e 100644 --- a/common_features.mk +++ b/common_features.mk @@ -141,6 +141,10 @@ else SRC += $(PLATFORM_COMMON_DIR)/flash_stm32.c OPT_DEFS += -DEEPROM_EMU_STM32F072xB OPT_DEFS += -DSTM32_EEPROM_ENABLE + else ifneq ($(filter $(MCU_SERIES),STM32L0xx STM32L1xx),) + OPT_DEFS += -DEEPROM_DRIVER + COMMON_VPATH += $(DRIVER_PATH)/eeprom + SRC += eeprom_driver.c eeprom_stm32_L0_L1.c else # This will effectively work the same as "transient" if not supported by the chip SRC += $(PLATFORM_COMMON_DIR)/eeprom_teensy.c -- cgit v1.2.3