2015-07-29 08:09 AM
This file was provided in the L4 release V1.0.0.
osSemaphoreWait should return an int representing how many tokens are remaining. However, the implementation supplied instead returns a value of type osStatus. They are not compatible. Does ST maintain this file?2015-07-31 05:38 AM
Hi jmonset,
If you see the osStatus type, you will find that it's an enum structure and all parameters are of type int32_t. So, I agree with you that an enhancement should be done by making the return value of type osStatus, but in any case it is a bug. -Shahrazad-2015-07-31 06:49 AM
Shouldn't it follow the CMSIS standard and return the number of objects available?
Changing the return status type to osStatus makes it non-standard.2015-09-09 02:56 AM
Hi jmonset,
You are right the returned value should be similar to the CMSIS standard (number of objects and not of type osStatus). The issue is reported for enhancement. Thank you for your feedback. -Shahrzad-