fix(bw): bootloader not working with F407xG targets and > 512kb fw (#4991)

This commit is contained in:
Peter Feerick
2024-05-12 16:12:58 +10:00
committed by GitHub
parent 287dd75d1c
commit f7876b0ee8
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ void rotaryEncoderInit();
void rotaryEncoderCheck();
#endif
#if defined(STM32F413xx)
#if defined(STM32F413xx) || defined(STM32F407xG)
#define FLASHSIZE 0x100000 // 1M
#else
#define FLASHSIZE 0x80000 // 512k