diff options
Diffstat (limited to 'nuttx/arch/arm/src/stm32/stm32f30xxx_rcc.c')
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32f30xxx_rcc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32f30xxx_rcc.c b/nuttx/arch/arm/src/stm32/stm32f30xxx_rcc.c index 399363b9e..f272217a3 100644 --- a/nuttx/arch/arm/src/stm32/stm32f30xxx_rcc.c +++ b/nuttx/arch/arm/src/stm32/stm32f30xxx_rcc.c @@ -122,7 +122,8 @@ static inline void rcc_enableahb(void) regval = RCC_AHBENR_FLITFEN | RCC_AHBENR_SRAMEN; - /* Enable GPIOA, GPIOB, ... and AFIO clocks */ + /* Enable GPIO PORTA, PORTB, ... PORTF */ + regval |= (RCC_AHBENR_IOPAEN | RCC_AHBENR_IOPBEN | RCC_AHBENR_IOPCEN | RCC_AHBENR_IOPDEN | RCC_AHBENR_IOPEEN | RCC_AHBENR_IOPFEN); |