diff --git a/os/hal/ports/STM32/STM32G0xx/hal_efl_lld.h b/os/hal/ports/STM32/STM32G0xx/hal_efl_lld.h index d8119ee12..19f4b83ca 100644 --- a/os/hal/ports/STM32/STM32G0xx/hal_efl_lld.h +++ b/os/hal/ports/STM32/STM32G0xx/hal_efl_lld.h @@ -65,8 +65,8 @@ */ #define STM32_FLASH_SIZE_64K 64U #define STM32_FLASH_SIZE_128K 128U -#define STM32_FLASH_SECTORS_TOTAL_64K 128 -#define STM32_FLASH_SECTORS_TOTAL_128K 256 +#define STM32_FLASH_SECTORS_TOTAL_64K 32 +#define STM32_FLASH_SECTORS_TOTAL_128K 64 /* 64K flash.*/ #define STM32_FLASH_SECTOR_SIZE_64K ((STM32_FLASH_SIZE_64K \ diff --git a/readme.txt b/readme.txt index 6fc406c2d..7e7765e8b 100644 --- a/readme.txt +++ b/readme.txt @@ -74,6 +74,7 @@ ***************************************************************************** *** 20.3.1 *** +- FIX: Sector count incorrect in STM32G07/8 EFL driver (bug #1085). - FIX: Sector size incorrect in STM32F413 EFL driver (bug #1084). - NEW: Added dynamic reconfiguration API to lwIP bindings. - FIX: Fixed race condition in HAL MAC driver (bug #1083).