I am looking for a free AVR RTOS which can be used (compiled) with ICC! I think FreeRTOS (http://www.freertos.org) would be a fine OS, but it is written to be used with AVR-GCC respectively WinAVR.
I tried to port FreeRTOS to ICC without success, but I am not a experienced C programmer. I had some troubles with different ICC libraries. I expect further problems because of the different stack handling of the two compilers. As far as I know, GCC-AVR works with only stack, but ICC use two stacks, one for the CPU and one for the compiler (for function parameters). I expect that every task of a RTOS requires its own stack(s), so this difference could be a fundamental problem.
Does anybody know a RTOS ready to use with ICC, or has anybody already tried to port FreeRTOS to ICC? I need a OS that is able to run multiple tasks with defined timing intervals. It needn’t to be preemptive, a fast task switching is from bigger importance.
Thank you very much in anticipation for each feedback, Peter Sager