From b97d65b80fed63a5f31097652f9556659c2338d7 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 20 Feb 2012 19:54:19 +0000 Subject: [PATCH] Fixed bug 3489727. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3963 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM8S/hal_lld.c | 2 +- readme.txt | 5 +++-- 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