STM32L422 GPIOH GPIOD enable mask
Posted: Wed Jul 27, 2022 3:23 pm
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
Code to fix the issue below:
As seen here in the github mirror:
https://github.com/ChibiOS/ChibiOS/blob ... #L430-L432
Please enable them
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)