IAR header to WinAVR header [SOLVED]

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

I have WinAVR, I am trying out an ATMEL suggested code (IAR) having #include "inavr.h" and "ioavr.h", the nearest WinAVR I could think of, was and , the code usage seems same in WinAVR, but the code does not compile in WinAVR. If I am missing something any suggestions would be highly appreciated.
India_AVR

-----------------------------------------
Wonderful world of "0"s & "1"s
-----------------------------------------

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

The header file changes seems reasonable. Please post your code and the error mesages from compiling with avr-gcc so we can help debug the issue.

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

kmr wrote:
The header file changes seems reasonable.

Thanks for the confirmation. Hence on re-checking the project it was found the "local" Makefile was not being used but the project was pointing to the pickedup Makefile from another directory. On correcting the project the compilation is working okay. Thanks once again for the guidance.

India_AVR

-----------------------------------------
Wonderful world of "0"s & "1"s
-----------------------------------------

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

Great, glad you got the problem fixed.