Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Wi-Fi Combo

Anonymous
Not applicable

Hello,

What is the minimal stack size requirement for a thread doing almost nothing more that get/set a couple of semaphores: 256 bytes? 512? 1024? 2048? 4096? ...

Is it the same requirement for both RTOS (threadX/FreeRTOS) ?

Is there some Wiced framework components more stack greedy than others ?

Thanks for your answers.

Pascal.

0 Likes
1 Reply
SeyhanA_31
Employee
100 likes received 50 likes received 25 likes received
Employee

Hi,

Creating a thread and passing a semaphore hook to the created thread to get/set semaphore, 256 bytes stack size is enough.

Ones you utilize the network stack more memory needs to be allocated for the thread.

Seyhan

0 Likes