Hi aggarg,
Thank by your answers!
When I do a vTaskCreate, I would like to specify the right size of memory required. Today I don´t know how to calculate the memory size for each task. Then, I am using the vTaskList to see how much memory is being used for each task:
I am think that every time that I have a task that I will use just one time, it should be better, in the end of the task, I set a vTaskDelete to release the resources that I won´t need anymore. But this release process can create a memory fragmentation that it could be a problem using heap3.c (the default for Nordic nRF52840 from RAKWireless implementation). Then I would like to try to use heap4.c, but I don´t know where that I need to configure for heap4.c Scheme.
Could you help me with some suggestions?
Regards,
Cláudio