uwTickPrio not set to TickPriority in timer based HAL_InitTick
x893 opened this issue · 3 comments
x893 commented
Hi,
stm32f7xx_hal.c
__weak HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority)
contain next code
/* Configure the SysTick IRQ priority */
if (TickPriority < (1UL << __NVIC_PRIO_BITS))
{
HAL_NVIC_SetPriority(SysTick_IRQn, TickPriority, 0U);
uwTickPrio = TickPriority;
}
else
{
return HAL_ERROR;
}
but stm32f7xx_hal_timebase_tim.c HAL_StatusTypeDef HAL_InitTick (uint32_t TickPriority) not contain and HAL_RCC_ClockConfig(...) fail with full assert.
RKOUSTM commented
Hi @x893,
The issue you pointed out has been confirmed, a fix will be implemented and made available in future release. Thank you once again for your contribution.
With regards,
RKOUSTM commented
ST Internal Reference: 69397