aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-02-20 19:54:19 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-02-20 19:54:19 +0000
commitb97d65b80fed63a5f31097652f9556659c2338d7 (patch)
treedd9b4683b352d2e4c20d6ea08037c72a2cc6be8f
parent3cb4ca415b5fa9b7f0157a9d49f844be127d746e (diff)
downloadChibiOS-b97d65b80fed63a5f31097652f9556659c2338d7.tar.gz
ChibiOS-b97d65b80fed63a5f31097652f9556659c2338d7.tar.bz2
ChibiOS-b97d65b80fed63a5f31097652f9556659c2338d7.zip
Fixed bug 3489727.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3963 35acf78f-673a-0410-8e92-d51de3d6d3f4
-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