From 540df0650c5767c87f14a9b682e663025fb5dcac Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Mon, 14 Mar 2022 12:22:43 +0000 Subject: [PATCH] Fixed bug #1223. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_20.3.x@15510 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/hal/ports/STM32/STM32L4xx/stm32_registry.h | 3 ++- readme.txt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/os/hal/ports/STM32/STM32L4xx/stm32_registry.h b/os/hal/ports/STM32/STM32L4xx/stm32_registry.h index 95563d393..f8ba63642 100644 --- a/os/hal/ports/STM32/STM32L4xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32L4xx/stm32_registry.h @@ -145,7 +145,8 @@ #define STM32_HAS_GPIOK FALSE #define STM32_GPIO_EN_MASK (RCC_AHB2ENR_GPIOAEN | \ RCC_AHB2ENR_GPIOBEN | \ - RCC_AHB2ENR_GPIOCEN) + RCC_AHB2ENR_GPIOCEN | \ + RCC_AHB2ENR_GPIOHEN) /* I2C attributes.*/ #define STM32_HAS_I2C1 TRUE diff --git a/readme.txt b/readme.txt index 149f2d4b2..f6fac0dfb 100644 --- a/readme.txt +++ b/readme.txt @@ -76,6 +76,7 @@ *** 20.3.5 *** - FIX: Some MISRA-related fixes. - FIX: Re-opened and fixed bug #1100. +- FIX: Fixed GPIOH clock not enabled on STM32L432 (bug #1223) - FIX: Fixed incorrect type cast in TIME_I2US() (bug #1221). - FIX: Fixed missing clock disable for STM32 OCTOSPI2 (bug #1220). - FIX: Fixed Virtual Timers failure in a specific condition (bug #1215).