i’m trying to port FreeRTOS on a new architecture (PPC).
Till now I haven’t had any problem: in general it seems the OS works.
Unfortunately, trying to optimize the port I’ve discovered that probably something goes wrong. Adding ISRs the system crash. Playing with taskYield priority it seems that the system goes better.
My question (dummy of course) is: taking into account that tick irq task (the scheduler) has the lowest priority, what should be the priority assigned to taskYield? Maybe equal to configMAX_SYSCALL_INTERRUPT_PRIORITY?