I started to studying freeRTOS recently, and now I’m working in my first project. And I have a doubt about design, thinking about performace and solve memory, what is the best practise?
My application has a simple state machine, each state is a Task. I started the development implement binary semaphores, then, the tasks was waiting forever to take its semaphore, then execute. But with a lot of tasks, I was think about to change this N semaphores per One Event group.
My question is, is this the best process? Or should use a Suspend/Resume mechanism to coordinate this process.