aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/ports/STM32/STM32L0xx/hal_lld.c4
-rw-r--r--readme.txt4
2 files changed, 5 insertions, 3 deletions
diff --git a/os/hal/ports/STM32/STM32L0xx/hal_lld.c b/os/hal/ports/STM32/STM32L0xx/hal_lld.c
index 7df02718a..c3bb6dd87 100644
--- a/os/hal/ports/STM32/STM32L0xx/hal_lld.c
+++ b/os/hal/ports/STM32/STM32L0xx/hal_lld.c
@@ -273,8 +273,8 @@ void stm32_clock_init(void) {
#endif
/* Peripherals clock sources setup.*/
- RCC->CCIPR = STM32_HSI48SEL | STM32_LPTIM1CLK | STM32_I2C1CLK |
- STM32_LPUART1CLK | STM32_USART2CLK | STM32_USART1CLK;
+ RCC->CCIPR = STM32_HSI48SEL | STM32_LPTIM1SEL | STM32_I2C1SEL |
+ STM32_LPUART1SEL | STM32_USART2SEL | STM32_USART1SEL;
/* SYSCFG clock enabled here because it is a multi-functional unit shared
among multiple drivers.*/
diff --git a/readme.txt b/readme.txt
index 4907a8fe1..8e8df4c62 100644
--- a/readme.txt
+++ b/readme.txt
@@ -145,7 +145,9 @@
- RT: Merged RT4.
- NIL: Merged NIL2.
- NIL: Added STM32F7 demo.
-- HAL: Fixed STM32F105 port not compiling. (bug #782)
+- HAL: Fixed STM32L0xx CCIPR initialization (bug #783)
+ (backported to 16.1.6).
+- HAL: Fixed STM32F105 port not compiling (bug #782)
(backported to 16.1.6, 3.0.6, 2.6.10).
(bug #780)(backported to 16.1.6, 3.0.6).
- HAL: Fixed wrong registry for STM32F205xx and STM32F215xx port