Create a type for notify value and chose the type

totof95 wrote on Friday, January 18, 2019:

I use Tasknotify for release task. The 32bits is too small for me. Can we create a type for the notifyValue (like TickType_t) NotifyType_t for sample, and chose the type in freertosconfig.h. We can chose 16, 32 or 64 bits ?

Thanks for answers

rtel wrote on Friday, January 18, 2019:

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).

totof95 wrote on Monday, January 21, 2019:

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.