From ca45fcbc70f2d0a3774fdb104f9b740df94553e3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 19 Sep 2021 16:37:29 +1000 Subject: [PATCH] AP_FlashStorage: support L496 MCUs --- libraries/AP_FlashStorage/AP_FlashStorage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_FlashStorage/AP_FlashStorage.h b/libraries/AP_FlashStorage/AP_FlashStorage.h index 0ba00fff89..3c8738ccbf 100644 --- a/libraries/AP_FlashStorage/AP_FlashStorage.h +++ b/libraries/AP_FlashStorage/AP_FlashStorage.h @@ -59,7 +59,7 @@ STM32H7 can only write in 32 byte chunks, and must only write when all bits are 1 */ #define AP_FLASHSTORAGE_TYPE AP_FLASHSTORAGE_TYPE_H7 -#elif defined(STM32G4) +#elif defined(STM32G4) || defined(STM32L4) /* STM32G4 can only write in 8 byte chunks, and must only write when all bits are 1 */