I'am attempting to integrate freeRTOS to my application that run on AT32UC3A0512. I downloaded a freeRTOS project example for EVK1100 (it Supports the AT32UC3A) and try to include the kernel source files, so my application hierarchy looks like :
src
|ASF
|main.c
|freertos
|freertos-7.0.0
|source
the main looks like
int main()
{
char str[5];
uint8_t num;
enable_Timer();
enable_Timer_Interrupt();
sprintf (str, %03d, num);
while(1)
{
// Wait the timer interrupt to happen
}
}
Now by just excluding the freertos folder from my project, the timer interrupt are fired and all works well,
However if i include the freertos folder (no inclusion nor call to freertos sources is done) the timer interrupt are not fired.
It seems crazy but i don't know how the behaviour of sprintf
has changed this way and also i don't see the relation between sprintf
and the interrupt controller