Missing ifdefs – FreeRTOS V10
Posted by
kelvinens on December 6, 2017
I am porting my current project (TMS570 with MPU) to FreeRTOS V10 and found some small issues.
In the mpu_wrappers.c provided by FreeRTOS:
Definition of MPU_xQueueGetMutexHolder
is not within #if ( ( configUSE_MUTEXES == 1 ) && ( INCLUDE_xSemaphoreGetMutexHolder == 1 ) )
... #endif
but it calls xQueueGetMutexHolder
.
In stream_buffer.c:
xStreamBufferReceive(...)
calls xTaskGetCurrentTaskHandle
, but also do not check if INCLUDE_xTaskGetCurrentTaskHandle == 1
.
I already fixed it in my code, but it would be nice to have to have these issues fixed for the next release.
Missing ifdefs – FreeRTOS V10
Posted by
rtel on December 6, 2017
Thanks for taking the time to report these issues, which we will fix.