aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-08-14 06:40:28 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-08-14 06:40:28 +0000
commit877faae2cf710ff09ae7b9b13b9cd3ae836163cd (patch)
treed367827563f91c9ba51f646be31f561d5ea00b05
parent78c71e487083d8489d1b9fedc1cd1ca68385f7ec (diff)
downloadChibiOS-877faae2cf710ff09ae7b9b13b9cd3ae836163cd.tar.gz
ChibiOS-877faae2cf710ff09ae7b9b13b9cd3ae836163cd.tar.bz2
ChibiOS-877faae2cf710ff09ae7b9b13b9cd3ae836163cd.zip
Fixed bug 3044758.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2127 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/platforms/STM32/hal_lld_f103.h4
-rw-r--r--os/hal/platforms/STM32/hal_lld_f105_f107.h4
-rw-r--r--readme.txt1
3 files changed, 5 insertions, 4 deletions
diff --git a/os/hal/platforms/STM32/hal_lld_f103.h b/os/hal/platforms/STM32/hal_lld_f103.h
index 5149725ea..b58a6778e 100644
--- a/os/hal/platforms/STM32/hal_lld_f103.h
+++ b/os/hal/platforms/STM32/hal_lld_f103.h
@@ -336,8 +336,8 @@
#endif
/* AHB frequency check.*/
-#if STM32_HPRE > 72000000
-#error "STM32_HPRE exceeding maximum frequency (72MHz)"
+#if STM32_HCLK > 72000000
+#error "STM32_HCLK exceeding maximum frequency (72MHz)"
#endif
/**
diff --git a/os/hal/platforms/STM32/hal_lld_f105_f107.h b/os/hal/platforms/STM32/hal_lld_f105_f107.h
index 54b39de71..d68166ba0 100644
--- a/os/hal/platforms/STM32/hal_lld_f105_f107.h
+++ b/os/hal/platforms/STM32/hal_lld_f105_f107.h
@@ -429,8 +429,8 @@
#endif
/* AHB frequency check.*/
-#if STM32_HPRE > 72000000
-#error "STM32_HPRE exceeding maximum frequency (72MHz)"
+#if STM32_HCLK > 72000000
+#error "STM32_HCLK exceeding maximum frequency (72MHz)"
#endif
/**
diff --git a/readme.txt b/readme.txt
index aded26ed0..2a16c4158 100644
--- a/readme.txt
+++ b/readme.txt
@@ -62,6 +62,7 @@
*****************************************************************************
*** 2.1.2 ***
+- FIX: Fixed wrong check on STM32_HCLK (bug 3044758)(backported to 2.0.3).
- FIX: Fixed wrong condition check in STM32 PWM driver (bug 3041414)
(backported in 2.0.3).
- FIX: Corrupted IRQ stack in Cortex-Mx port (bug 3041117)(backported to