I am taking an example of a FreeRTOS and develop my own software. There is one task taking the semaphore which is given from a timer ISR.
In the example, both the task function and the ISR are in the main.c. But after either the task function or the ISR is moved to a separate file, the semaphore give and take doesn’t work any more.
Anyone has this kind of experience or knows what might be the cause? Thanks!