AnsweredAssumed Answered

Bug Report: CubeMX 4.8.0 with STM32F4 1.6.0 asserts from missing parameters in generated code + unused variable

Question asked by Andrei Chichak on May 30, 2015
Latest reply on Jun 16, 2015 by bastiand.yves
Here are a few parameters that are not filled in by the generated code that are then caught by the 1.6.0 library code:

HAL_TIM_ConfigClockSource needs these values to be filled in with something:

sClockSourceConfig.ClockPrescaler
sClockSourceConfig.ClockPolarity
sClockSourceConfig.ClockFilter

HAL_TIM_Base_Init needs:

htim6.Init.ClockDivision


While you're in there,

stm32f4xx_hal_spi.c has an unused variable at line 2118 (tmpreg)

If warnings are treated as errors, this causes compiles to bomb.


Finally, getting rid of the dates and times in the Inc and Src files is highly appreciated.

Outcomes