psilva2007 wrote on Wednesday, April 29, 2009:
Hi.
My application has aproximately 8 thread and it is running ok, but if I put the 9th thread it hangs.
Has freertos a variable to configure the total threads that I can create?
Best regards.
Paulo
psilva2007 wrote on Wednesday, April 29, 2009:
Hi.
My application has aproximately 8 thread and it is running ok, but if I put the 9th thread it hangs.
Has freertos a variable to configure the total threads that I can create?
Best regards.
Paulo
anonymous wrote on Wednesday, April 29, 2009:
Do you have enough RAM to hold all the threads stacks? Have you checked xTaskCreate return value?
davedoors wrote on Wednesday, April 29, 2009:
> Has freertos a variable to configure the total threads that I
> can create?
No you can continue to create tasks until you run out of heap RAM. Which memory file are you using? Heap_1 and heap_2 are sized using configTOTAL_HEAP_SIZE in FreeRTOSConfig.h.
psilva2007 wrote on Wednesday, April 29, 2009:
I am using heap_2, and all of you are right, I decreased the amount of stack to the new thread and it was created without a problem. So my problem is not enough memory.
Thak you all.
Paulo