Hello @carlesls ,
Thanks for your post.
In versions earlier than SDK2.5.0, you can find FreeRTOS examples. Refer to the figure below.

For example, SDK 2.4.1:

Wish it helps. If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!
Best Regard,
Celeste