Hey Zhenhua,
Thanks for such a quick response. I've tested and looked through the generated code and understand how it works now. Its good to know that FreeRTOS is nota requirement of the generated code so i can continue with my work.
Kind regards and my thanks,
Lexi