Fixed bug #1114.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13770 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
d1c2a7ced4
commit
8e609e9459
|
@ -276,14 +276,22 @@ void stm32_clock_init(void) {
|
||||||
#endif
|
#endif
|
||||||
while ((RCC->CR & RCC_CR_HSERDY) == 0)
|
while ((RCC->CR & RCC_CR_HSERDY) == 0)
|
||||||
; /* Waits until HSE is stable. */
|
; /* Waits until HSE is stable. */
|
||||||
#endif
|
#endif /* STM32_HSE_ENABLED == TRUE */
|
||||||
|
|
||||||
|
/* HSI48 activation.*/
|
||||||
|
#if STM32_HSI48_ENABLED == TRUE
|
||||||
|
RCC->CR |= RCC_CR_HSI48ON;
|
||||||
|
while ((RCC->CR & RCC_CR_HSI48RDY) == 0)
|
||||||
|
; /* Waits until HSI48 is stable. */
|
||||||
|
|
||||||
|
#endif /* STM32_HSI48_ENABLED == TRUE */
|
||||||
|
|
||||||
/* CSI activation.*/
|
/* CSI activation.*/
|
||||||
#if STM32_CSI_ENABLED == TRUE
|
#if STM32_CSI_ENABLED == TRUE
|
||||||
RCC->CR |= RCC_CR_CSION;
|
RCC->CR |= RCC_CR_CSION;
|
||||||
while ((RCC->CR & RCC_CR_CSIRDY) == 0)
|
while ((RCC->CR & RCC_CR_CSIRDY) == 0)
|
||||||
; /* Waits until CSI is stable. */
|
; /* Waits until CSI is stable. */
|
||||||
#endif /* STM32_HSE_ENABLED == TRUE */
|
#endif /* STM32_CSI_ENABLED == TRUE */
|
||||||
|
|
||||||
/* LSI activation.*/
|
/* LSI activation.*/
|
||||||
#if STM32_LSI_ENABLED == TRUE
|
#if STM32_LSI_ENABLED == TRUE
|
||||||
|
|
|
@ -100,6 +100,8 @@
|
||||||
MEMS Accelerometers.
|
MEMS Accelerometers.
|
||||||
- NEW: Safer messages mechanism for sandboxes (to be backported to 20.3.1).
|
- NEW: Safer messages mechanism for sandboxes (to be backported to 20.3.1).
|
||||||
- NEW: Added latency measurement test application.
|
- NEW: Added latency measurement test application.
|
||||||
|
- FIX: Fixed HSI48 not getting enabled on STM32H7 (bug #1114)
|
||||||
|
(backported to 20.3.2).
|
||||||
- FIX: Fixed LPUART1 support for STM32H7xx (bug #1113)
|
- FIX: Fixed LPUART1 support for STM32H7xx (bug #1113)
|
||||||
(backported to 20.3.2).
|
(backported to 20.3.2).
|
||||||
- FIX: Fixed wrong sector count in EFL driver for L4+ dual bank configuration
|
- FIX: Fixed wrong sector count in EFL driver for L4+ dual bank configuration
|
||||||
|
|
Loading…
Reference in New Issue