Create a type for notify value and chose the type
Hello,
I use Tasknotify for release task. The 32bits is too small for me. Can we create a type for the notifyValue (like TickTypet) NotifyTypet for sample, and chose the type in freertosconfig.h. We can chose 16, 32 or 64 bits ?
Thanks for answers
Create a type for notify value and chose the type
Looking at the code, I think it is possible, but the type would have to
be an unsigned integer. The problem for us would be that it would
change the prototypes of the functions too, as, for example, the type is
also used in the ‘bits to clear’ parameters and as return types (hence
the ‘ul’ prefix to some notification API functions).
Create a type for notify value and chose the type
I do the modification on my project with a uint64_t. Yes, i need to change prototype for each function use value ulBitsToClearOnEntry, ulBitsToClearOnExit, pulNotificationValue. In my project, it’s easier to synchronize task with notify function. Then, if you can modify this type, It’s very well for me.
Thanks