AnsweredAssumed Answered

FreeRTOS Signals issues (any vs all signals)

Question asked by wired on Mar 28, 2016
Latest reply on Apr 13, 2016 by FTITI.Walid
I am trying to use the CMSIS interface to FreeRTOS that is generated by the Cube application.  Specifically, I am trying to use the osSignalWait, osSignalSet, and osSignalClear functions.

Problem 1: osSignalClear is only defined as a function prototype. There is no code for it.

Problem 2: My understanding from reading about osSignalWait is that if there are signal events returned, it will always clear them all automatically.  If you want to wait on ANY signal instead of all of the defined signals, you pass 0 in for the signals parameter, e.g. osSignalWait (0, osWaitForever).

What I am seeing is that the reported signals are not being cleared.  Is this the correct behavior for this function?