This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Convert IAR to Keil

I have Source code in IAR compiler.
I would like to convert them and run on Keil, but i don't know how to do this.
If there is a way can anyone give example of how to do it or some instruction to do this.

Parents
  • Do you have competence in either tool chain?

    Create an equivalent project framework in Keil, bringing in all of your source files, set include paths and defines. Compile the C files and determine which have errors, and issues specific to IAR unique features.

    .S files may be more problematic as the formatting/controls are different. You should review the board/example directories for chip/architecture appropriate startup.s files, and merge/port in any assembler functions unique to your project implementation.

    .LIB/.A files may also be a problem, you'll want to recreate them for the Keil chain, or obtain Keil versions from the vendors.

Reply
  • Do you have competence in either tool chain?

    Create an equivalent project framework in Keil, bringing in all of your source files, set include paths and defines. Compile the C files and determine which have errors, and issues specific to IAR unique features.

    .S files may be more problematic as the formatting/controls are different. You should review the board/example directories for chip/architecture appropriate startup.s files, and merge/port in any assembler functions unique to your project implementation.

    .LIB/.A files may also be a problem, you'll want to recreate them for the Keil chain, or obtain Keil versions from the vendors.

Children
No data