Browse Source

AP_FlashStorage: support L496 MCUs

gps-1.3.1
Andrew Tridgell 3 years ago
parent
commit
ca45fcbc70
  1. 2
      libraries/AP_FlashStorage/AP_FlashStorage.h

2
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 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 #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 STM32G4 can only write in 8 byte chunks, and must only write when all bits are 1
*/ */

Loading…
Cancel
Save