1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

AVRstudio - Building for ATmega8

  1. Jan 24, 2014 #1
    1. The problem statement, all variables and given/known data
    Hi there,

    I have just installed AVRstudio version 5 to be able to write programs so that we can use the micro controller ATmega 8. The encountered problem is that after the code has been build, the compiler complains on lines which doesn't even exists! How is this possible?
    I have a screen shot here so that you may see the problem:

    Skaumlrmklipp_zps16530f8e.jpg
    2. Relevant equations



    3. The attempt at a solution
    Any idea?
     
  2. jcsd
  3. Jan 24, 2014 #2

    berkeman

    User Avatar

    Staff: Mentor

    Is it finding errors in the Include file?
     
  4. Jan 24, 2014 #3
    Thx for replying!
    Umm. I'm totally new to this but as I can see, the include file I added which I suppose is correct would be the one the compiler complains about. It says down in the right corner that File: m8def.inc
    I have no idea why it would complain on lines which don't exist?
    I'm very certain that there are no lines after the 27 line.

    It keeps complaining on every single lines up to line 732? :S
     
  5. Jan 24, 2014 #4

    berkeman

    User Avatar

    Staff: Mentor

    Can you attach the include file to this thread (upload it)?

    Are there some Build settings in the tool?
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: AVRstudio - Building for ATmega8
  1. Atmega8 - USART issue (Replies: 6)

Loading...