bug in cmsisOS api wrapper for FreeRTOS
STM32Cube from ST micro provides project code generation for FreeRTOS along with a wrapper dedicated to use of the CMSIS-OS API.
Nevertheless, it seems that this wrapper is brocken regarding the FreeRTOS API function “vTaskDelayUntil()” wich is wrapped to “osDelayUntil()” according to the following code from cmsisos.c:
~~~~~~
/**
* @brief Delay a task until a specified time
* @param PreviousWakeTime Pointer to a variable that holds the time at which the
* task was last unblocked.
* @param millisec time delay value
* @retval status code that indicates the execution status of the function.
*/
osStatus osDelayUntil (uint32t PreviousWakeTime, uint32_t millisec)
{
bug in cmsisOS api wrapper for FreeRTOS
Thanks for reporting this – we have not been involved in creating the wrapper but I will bring it to ST’s attention for you.
Regards.