I am working on the IAR workbench, with AT91sam7s256 processor.
I have ported the freertos to this processor based on the relevant docs.
I have a problem with the freertos IDLE task.
When the IDLE task is created by the freertos vTaskStartSchedulervTaskStartScheduler function, its stack and TCB is being allocated, the problem is that it’s run over other tasks that created before by the user.
Then I get "stack overflow" (using freertos hook) on tasks that really not doing anything.
Does any one have a clue what can be the problem?