aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/platforms/STM8S/hal_lld.c2
-rw-r--r--readme.txt5
2 files changed, 4 insertions, 3 deletions
diff --git a/os/hal/platforms/STM8S/hal_lld.c b/os/hal/platforms/STM8S/hal_lld.c
index fc4f72f5e..980cf4bab 100644
--- a/os/hal/platforms/STM8S/hal_lld.c
+++ b/os/hal/platforms/STM8S/hal_lld.c
@@ -62,7 +62,7 @@ void hal_lld_init(void) {
#if !STM8S_NO_CLOCK_INIT
/* Makes sure that HSI is stable before proceeding.*/
- CLK->ICKR |= CLK_ICKR_HSIRDY;
+ CLK->ICKR |= CLK_ICKR_HSIEN;
while ((CLK->ICKR & CLK_ICKR_HSIRDY) == 0)
;
diff --git a/readme.txt b/readme.txt
index 173c9e7e3..3a4e91696 100644
--- a/readme.txt
+++ b/readme.txt
@@ -79,9 +79,10 @@
*****************************************************************************
*** 2.5.0 ***
+- FIX: Fixed STM8S HSI clock initialization error (bug 3489727)(backported to
+ 2.2.9 and 2.4.1).
- FIX: Fixed MMC over SPI driver performs an unnecessary SPI read (bug
- 3486930)(backported to 2.2.9 and 2.4.1). Also removed unnecessary CRC7
- calculation.
+ 3486930)(backported to 2.2.9 and 2.4.1).
- FIX: Fixed Realtime counter initialization in STM32 HALs (bug 3485500)
(backported to 2.4.1).
- FIX: Fixed PPC port broken when CH_DBG_SYSTEM_STATE_CHECK is activated