I am currently studying the pic18-port and I was wondering why tskMAX_TASK_NAME_LEN is defined in task.h instead of partable.h. I think it would be nice when this was changed. On 8-bit micro’s as the pic18, every saved byte of ram is valuable.
Perhaps it’s even possible to change the taskname (optionally, portable) from a string to a char, eliminating the need for the terminating \0.
A char for taskname gives plenty possibilities for tasknames (a-z, A-Z, 0-9) without using lots of ram.