Porting from Keil to IAR

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hey Freaks,

Not GCC but more related to compilers and thought that some of you have probably done this sort of thing before.

I've got a theortical knowledge of C/C++ but little experience other that some very basic programs for PIC and AVR. I have been given a copy of IAR embedded workbench and have a bunch of code that it written for Keil's offerings. I need to port Keil to IAR. Has anybody done this sort of thing and how much work does it involve? Do i stand a chance without indepth programming knowledge / experience? I understand that IAR have a program which will do most of the conversion so i would only have to pick up what it misses.

Thanks guys.

Tim

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

w0067814 wrote:
Hey Freaks,

Not GCC but more related to compilers and thought that some of you have probably done this sort of thing before.

I've got a theortical knowledge of C/C++ but little experience other that some very basic programs for PIC and AVR. I have been given a copy of IAR embedded workbench and have a bunch of code that it written for Keil's offerings. I need to port Keil to IAR. Has anybody done this sort of thing and how much work does it involve? Do i stand a chance without indepth programming knowledge / experience? I understand that IAR have a program which will do most of the conversion so i would only have to pick up what it misses.

You need to post this in the AVR Forum since, as you mentioned, it has nothing to do with GCC. There are a number of users on that forum that would probably have something to say about this.

FWIW, you'll probably have to have more in-depth programming knowledge.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If you are the author or know exactly, how the code works, porting C from one machine to another should be easy.

If you know nothing about the code, even the smallest changing would be very dangerful.

Furthermore for porting code from one machine to another you must be familiar with the peripherals of both machines, like timers, ports, adc, pwm, interrupts and so on.

Peter