aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-03-26 12:37:54 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-03-26 12:37:54 +0000
commita072acd8bc362c079f3d2b9869954858f8092ea7 (patch)
tree1f0a134a91c2d9c6176e88cfd28d66fbdce4f263
parent5acf1106551fd474f98458f68704acb599b02da8 (diff)
downloadChibiOS-a072acd8bc362c079f3d2b9869954858f8092ea7.tar.gz
ChibiOS-a072acd8bc362c079f3d2b9869954858f8092ea7.tar.bz2
ChibiOS-a072acd8bc362c079f3d2b9869954858f8092ea7.zip
Fixed bug #819.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10130 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/ports/STM32/STM32L0xx/hal_lld.h2
-rw-r--r--readme.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/STM32L0xx/hal_lld.h b/os/hal/ports/STM32/STM32L0xx/hal_lld.h
index 843e66dff..24d8a8107 100644
--- a/os/hal/ports/STM32/STM32L0xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32L0xx/hal_lld.h
@@ -269,7 +269,7 @@
#define STM32_LPTIM1SEL_MASK (3 << 18) /**< LPTIM1 clock source mask. */
#define STM32_LPTIM1SEL_APB (0 << 18) /**< LPTIM1 clock is APB. */
-#define STM32_LPTIM1SEL_SYSCLK (1 << 18) /**< LPTIM1 clock is SYSCLK. */
+#define STM32_LPTIM1SEL_LSI (1 << 18) /**< LPTIM1 clock is LSI. */
#define STM32_LPTIM1SEL_HSI16 (2 << 18) /**< LPTIM1 clock is HSI16. */
#define STM32_LPTIM1SEL_LSE (3 << 18) /**< LPTIM1 clock is LSE. */
diff --git a/readme.txt b/readme.txt
index 54d3f0f40..4999821c1 100644
--- a/readme.txt
+++ b/readme.txt
@@ -157,6 +157,8 @@
- RT: Merged RT4.
- NIL: Merged NIL2.
- NIL: Added STM32F7 demo.
+- HAL: Fixed wrong clock source definition for LPTIM on STM32L0xx (bug #819)
+ (backported to 16.1.8).
- HAL: Fixed STM32L432 bringup issues (bug #818)(backported to 16.1.8).
- HAL: Fixed DAC driver problem with API signature (bug #817)(backported
to 16.1.8).