From 314a8e21db2df725363c03549016296e420c00dc Mon Sep 17 00:00:00 2001 From: cinsights Date: Wed, 22 Apr 2020 06:54:29 +0000 Subject: [PATCH] Fix bug #1085 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13552 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/hal/ports/STM32/STM32G0xx/hal_efl_lld.h | 4 ++-- readme.txt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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 9c98fae99..36d1f62d4 100644 --- a/readme.txt +++ b/readme.txt @@ -74,6 +74,7 @@ ***************************************************************************** *** Next *** +- FIX: Sector count incorrect in STM32G07/8 EFL driver (bug #1085). - FIX: Sector size incorrect in STM32F413 EFL driver (bug #1084). - NEW: Mail Queues test implementation in CMSIS RTOS wrapper. - NEW: Added dynamic reconfiguration API to lwIP bindings.