in the Main(), i need to initialize some low level components and their FreeRTOS drivers.
Drivers are implemented through queues, semaphores and/or tasks.
in some components i need to insert a precise DELAY, so i am using internally a timer.
the function Delay(ms) set up the timer and then poll on a variable. The Timer handler is finally called and the loop will stop.
NB: i am doing this because the scheduler is not started yet.
the problem i am experiencing is that if i use such Delay(ms) _after_ i created even one queue/semaphore/task (whatever it is), then the delay works iff the timer priority level is lower than 11 (–>it is high priority)
any suggestions or hints on why is this happening?