aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/ports/STM32/STM32F1xx/stm32_registry.h14
-rw-r--r--readme.txt4
2 files changed, 11 insertions, 7 deletions
diff --git a/os/hal/ports/STM32/STM32F1xx/stm32_registry.h b/os/hal/ports/STM32/STM32F1xx/stm32_registry.h
index 8eeab9747..c2f635977 100644
--- a/os/hal/ports/STM32/STM32F1xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F1xx/stm32_registry.h
@@ -116,7 +116,7 @@
#define STM32_TIM1_CHANNELS 4
#define STM32_HAS_TIM2 TRUE
-#define STM32_TIM2_IS_32BITS TRUE
+#define STM32_TIM2_IS_32BITS FALSE
#define STM32_TIM2_CHANNELS 4
#define STM32_HAS_TIM3 TRUE
@@ -278,7 +278,7 @@
#define STM32_TIM1_CHANNELS 4
#define STM32_HAS_TIM2 TRUE
-#define STM32_TIM2_IS_32BITS TRUE
+#define STM32_TIM2_IS_32BITS FALSE
#define STM32_TIM2_CHANNELS 4
#define STM32_HAS_TIM3 TRUE
@@ -436,7 +436,7 @@
#define STM32_TIM1_CHANNELS 4
#define STM32_HAS_TIM2 TRUE
-#define STM32_TIM2_IS_32BITS TRUE
+#define STM32_TIM2_IS_32BITS FALSE
#define STM32_TIM2_CHANNELS 4
#define STM32_HAS_TIM3 TRUE
@@ -579,7 +579,7 @@
#define STM32_TIM1_CHANNELS 4
#define STM32_HAS_TIM2 TRUE
-#define STM32_TIM2_IS_32BITS TRUE
+#define STM32_TIM2_IS_32BITS FALSE
#define STM32_TIM2_CHANNELS 4
#define STM32_HAS_TIM3 TRUE
@@ -738,7 +738,7 @@
#define STM32_TIM1_CHANNELS 4
#define STM32_HAS_TIM2 TRUE
-#define STM32_TIM2_IS_32BITS TRUE
+#define STM32_TIM2_IS_32BITS FALSE
#define STM32_TIM2_CHANNELS 4
#define STM32_HAS_TIM3 TRUE
@@ -930,7 +930,7 @@
#define STM32_TIM1_CHANNELS 4
#define STM32_HAS_TIM2 TRUE
-#define STM32_TIM2_IS_32BITS TRUE
+#define STM32_TIM2_IS_32BITS FALSE
#define STM32_TIM2_CHANNELS 4
#define STM32_HAS_TIM3 TRUE
@@ -1122,7 +1122,7 @@
#define STM32_TIM1_CHANNELS 4
#define STM32_HAS_TIM2 TRUE
-#define STM32_TIM2_IS_32BITS TRUE
+#define STM32_TIM2_IS_32BITS FALSE
#define STM32_TIM2_CHANNELS 4
#define STM32_HAS_TIM3 TRUE
diff --git a/readme.txt b/readme.txt
index 962607c6a..01ccfa03a 100644
--- a/readme.txt
+++ b/readme.txt
@@ -73,6 +73,10 @@
*** Releases and Change Log ***
*****************************************************************************
+*** 3.0.0 ***
+- HAL: Fixed TIM2 wrongly classified as 32bits in STM32F1xx devices
+ (bug #610).
+
*** 3.0.0p6 ***
- HAL: Removed call to localtime_r() function for non-GNU compilers in
STM32F1xx RTC driver.