AnsweredAssumed Answered

STM32CubeMX initialization code generation error, or STM32F3 Firmware Package error?

Question asked by Izzy84075 on Nov 18, 2015
Latest reply on Nov 20, 2015 by Nesrine M
I have a project that is using USART1 on an STM32F301R8.

The initialization code that CubeMX generates for USART1 includes a reference to "RCC_USART1CLKSOURCE_PCLK1", which does not exist in stm32f3xx_hal_rcc.h . There are equivalent symbols for USART2 and USART3, but there seems to be a missing block for USART1.

STM32CubeMX version: 4.10.1 (I'm currently updating to 4.11.0, but figured I'd write this up while I wait to see if that fixes it.)
Firmware Package for Family STM32F3 version: 1.2.0

I can attempt to make a minimal example for this, but given that the USART1 block seems to be missing from stm32f3xx_hal_rcc.h, I don't think this one will be hard to track down.

Outcomes