Page 1 of 1

STM32L422 GPIOH GPIOD enable mask

Posted: Wed Jul 27, 2022 3:23 pm
by Xelus
It seems the GPIOH and GPIOD enable mask are not set for STM32L422.

As seen here in the github mirror:
https://github.com/ChibiOS/ChibiOS/blob ... #L430-L432

Please enable them :D

Code to fix the issue below:

Code: Select all

#define STM32_GPIO_EN_MASK                  (RCC_AHB2ENR_GPIOAEN |          \
                                             RCC_AHB2ENR_GPIOBEN |          \
                                             RCC_AHB2ENR_GPIOCEN |          \
                                             RCC_AHB2ENR_GPIODEN |          \
                                             RCC_AHB2ENR_GPIOHEN)

Re: STM32L422 GPIOH GPIOD enable mask

Posted: Wed Jul 27, 2022 3:25 pm
by Giovanni
Thanks for finding, will go in next release.

Giovanni

Re: STM32L422 GPIOH GPIOD enable mask

Posted: Sun Sep 18, 2022 11:02 am
by Giovanni
Hi,

Fixed as bug #1237.

There was also a similar error on STM32L496/4A6.

Giovanni