>> How to convert hiware C codes into cosmic C( For IDEA ST7) codes? Is there any formal format to follow? there's nothing to convert, C is portable. For those parts of the code that are not not directly compatible between Hiware and Cosmic, you an take a look