aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demos/STM32/NIL-STM32L011K4-NUCLEO32/mcuconf.h1
-rw-r--r--demos/STM32/RT-STM32L031K6-NUCLEO32/mcuconf.h1
-rw-r--r--os/hal/ports/STM32/STM32L0xx/hal_lld.h2
-rw-r--r--readme.txt2
4 files changed, 3 insertions, 3 deletions
diff --git a/demos/STM32/NIL-STM32L011K4-NUCLEO32/mcuconf.h b/demos/STM32/NIL-STM32L011K4-NUCLEO32/mcuconf.h
index 064707691..733485505 100644
--- a/demos/STM32/NIL-STM32L011K4-NUCLEO32/mcuconf.h
+++ b/demos/STM32/NIL-STM32L011K4-NUCLEO32/mcuconf.h
@@ -62,7 +62,6 @@
#define STM32_LPUART1SEL STM32_LPUART1SEL_APB
#define STM32_I2C1SEL STM32_I2C1SEL_APB
#define STM32_LPTIM1SEL STM32_LPTIM1SEL_APB
-#define STM32_HSI48SEL STM32_HSI48SEL_HSI48
/*
* ADC driver system settings.
diff --git a/demos/STM32/RT-STM32L031K6-NUCLEO32/mcuconf.h b/demos/STM32/RT-STM32L031K6-NUCLEO32/mcuconf.h
index 21f900cdd..183375896 100644
--- a/demos/STM32/RT-STM32L031K6-NUCLEO32/mcuconf.h
+++ b/demos/STM32/RT-STM32L031K6-NUCLEO32/mcuconf.h
@@ -63,7 +63,6 @@
#define STM32_LPUART1SEL STM32_LPUART1SEL_APB
#define STM32_I2C1SEL STM32_I2C1SEL_APB
#define STM32_LPTIM1SEL STM32_LPTIM1SEL_APB
-#define STM32_HSI48SEL STM32_HSI48SEL_HSI48
/*
* ADC driver system settings.
diff --git a/os/hal/ports/STM32/STM32L0xx/hal_lld.h b/os/hal/ports/STM32/STM32L0xx/hal_lld.h
index 1d93ac4c5..94d28c565 100644
--- a/os/hal/ports/STM32/STM32L0xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32L0xx/hal_lld.h
@@ -512,7 +512,7 @@
* @bief USB/RNG clock source.
*/
#if !defined(STM32_HSI48SEL) || defined(__DOXYGEN__)
-#define STM32_HSI48SEL STM32_HSI48SEL_HSI48
+#define STM32_HSI48SEL STM32_HSI48SEL_USBPLL
#endif
/** @} */
diff --git a/readme.txt b/readme.txt
index 11488342e..801a7ae26 100644
--- a/readme.txt
+++ b/readme.txt
@@ -97,6 +97,8 @@
(backported to 17.6.1).
- HAL: Fixed STM32 USARTv2 serial incorrect buffer size declarations
(bug #871)(backported to 17.6.1).
+- HAL: Fixed bug in STM32L0xx port related to STM32L0x1 (bug #870)
+ (backported to 17.6.1).
- HAL: Fixed board file configuration for STM32F3 Discovery REVC (bug #869)
(backported to 17.6.1).
- HAL: Fixed wrong PPRE2 and LSI related macros in STM32L0 hal lld (bug #868)