From a072acd8bc362c079f3d2b9869954858f8092ea7 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 26 Mar 2017 12:37:54 +0000 Subject: [PATCH] Fixed bug #819. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10130 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/STM32L0xx/hal_lld.h | 2 +- readme.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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).