diff --git a/os/hal/platforms/STM32L1xx/hal_lld.c b/os/hal/platforms/STM32L1xx/hal_lld.c index 529099e6a..5ed7d5476 100644 --- a/os/hal/platforms/STM32L1xx/hal_lld.c +++ b/os/hal/platforms/STM32L1xx/hal_lld.c @@ -154,7 +154,6 @@ void stm32_clock_init(void) { Trim fields are not altered from reset values.*/ RCC->CFGR = 0; RCC->ICSCR = (RCC->ICSCR & ~STM32_MSIRANGE_MASK) | STM32_MSIRANGE; - RCC->CSR = RCC_CSR_RMVF; RCC->CR = RCC_CR_MSION; while ((RCC->CR & RCC_CR_MSIRDY) == 0) ; /* Waits until MSI is stable. */ diff --git a/readme.txt b/readme.txt index 5a429b9e7..ed183f690 100644 --- a/readme.txt +++ b/readme.txt @@ -91,6 +91,7 @@ *** 2.7.0 *** - FIX: Fixed timing issue in the STM32 OTGv1 USB driver (bug #436)(backported to 2.6.2). +- FIX: Fixed STM32L1 remove reset flag (bug #435)(backported to 2.6.2). - FIX: Fixed add RTC to STM32L1 (bug #433)(backported to 2.6.2). - FIX: Fixed possible unalignment in GCC Cortex-M scatter files (bug #430) (backported to 2.6.2 and 2.4.6).