I'm a long time FreeRTOS user and run practically all my projects in it. Over the years I've got two patches that I routinely put in tasks.c with every new FreeRTOS release and I'd like to see if they're worth adding to the trunk to both prevent me having to patch each time and also for others to benefit from.
The two patches consist of:
1) Being able to add arbitrary data to each TCB. Specifically I always use this for saving the newlib reent structs. It's extremely similar to configUSE_APPLICATION_TASK_TAG except that I can define an arbitrary data type (eg some struct) in FreeRTOSConfig.h.
I typically implement it as a:
#if ( configUSE_APPLICATION_TASK_USER_STATE )
2) Many small changes to allow configMAX_TASK_NAME_LEN to be zero. Of course I only use this on tiny (low ram & flash) devices, but when mem is extremely scarce it's invaluable.
The code implications are that for a size of zero I don't even store a task name in the TCB.
Thoughts how to either address these in the existing release or integrating these would be greatly appreciated.