AP_FlashStorage: port for STM32L4+ processor

Added support for stm32l4+ processor

- Added scripts for hwdef generation
- Tested in custom hardware prototype (stm32l4r5vit6)
- Tested all peripherals and auto pilot modes.
This commit is contained in:
tsubashmail@gmail.com 2023-04-12 13:41:35 +10:00 committed by Peter Barker
parent 48acb1a2f7
commit 880e6366bd
1 changed files with 1 additions and 1 deletions

View File

@ -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) || defined(STM32L4)
#elif defined(STM32G4) || defined(STM32L4) || defined(STM32L4PLUS)
/*
STM32G4 can only write in 8 byte chunks, and must only write when all bits are 1
*/