Question
Hal bug using rtos
Posted on August 05, 2014 at 12:50
I imported an example with RTOS (FatFs_uSD_RTOS) and I found some bug. In function HAL_Init() is called HAL_SYSTICK_Config() but SysTick_Handler() call xPortSysTickHandler() before osKernelStart() so we have an HardFault_Handler.
The systick is configured also in function HAL_RCC_ClockConfig called by SystemClock_Config always before osKernelStart(). In addition the function HAL_IncTick() is not called in SysTick_Handler() and due the priority level is not possible add this funcion, #hal-rtos-bug