On STM32F4 application, I need to synchronize access to a resource (SPI/Flash).
So, I am going to use a mutex.
However, before starting the scheduler, I need to access the resource to get some data.
The synchronization code is there [xSemaphoreTake( h,10 ) / xSemaphoreGive( h )]
At the beginning (before scheduler starts) all accesses are serial.
Will this work as I use ticks in the call to take function?