cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX Task Name Length

LMorr.3
Senior II

When I attempt to create a task with a name longer than 15 characters, CubeMX seems to truncate to 15 characters max. How do I name a Task in CubeMX longer than 15 characcters?

1 ACCEPTED SOLUTION

Accepted Solutions
Artur IWANICKI
ST Employee

Please change MAX_TASK_NAME_LEN (FreeRTOS 'Config parameters' tab) to desired length+1 (this +1 is for NULL at the end of the string). By default it is set to 16 this is why you can use max 15 characters within task name.

View solution in original post

1 REPLY 1
Artur IWANICKI
ST Employee

Please change MAX_TASK_NAME_LEN (FreeRTOS 'Config parameters' tab) to desired length+1 (this +1 is for NULL at the end of the string). By default it is set to 16 this is why you can use max 15 characters within task name.