Question
STM32CubeF7 assertion bug (with fix)
Posted on October 30, 2015 at 11:53
Hi,
I think the line 2577 of Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_rcc_ex.h should be:#define IS_RCC_PLLSAIP_VALUE(VALUE) ((VALUE) == RCC_PLLSAIP_DIV2) || (VALUE) == RCC_PLLSAIP_DIV4 || (VALUE) == RCC_PLLSAIP_DIV6 || (VALUE) == RCC_PLLSAIP_DIV8)
instead of
#define IS_RCC_PLLSAIP_VALUE(VALUE) ((2 <= (VALUE)) && ((VALUE) <= 8))