When implementing the middleware into a project using V2 of the CMSIS RTOS, and having the TCPM mode enabled, the build fails, as two of the RTOS message calls are either incorrect or missing parameters.
Details
The first instance is osMessageQueueGet is missing the event parameter, and the second is during the linking stage, when the linker cannot see a reference to osMessagePut, as this function does not exist in the V2 RTOS. I have made the appropriate changes to add the event variable in, and used the correct function macro definition to handle the osMessageQueuePut function calls.
Overview
When implementing the middleware into a project using V2 of the CMSIS RTOS, and having the TCPM mode enabled, the build fails, as two of the RTOS message calls are either incorrect or missing parameters.
Details
The first instance is
osMessageQueueGet
is missing theevent
parameter, and the second is during the linking stage, when the linker cannot see a reference to osMessagePut, as this function does not exist in the V2 RTOS. I have made the appropriate changes to add theevent
variable in, and used the correct function macro definition to handle the osMessageQueuePut function calls.Screenshots