AVRstudio - Building for ATmega8

  • Thread starter Thread starter Gliese123
  • Start date Start date
  • Tags Tags
    Building
Click For Summary

Discussion Overview

The discussion revolves around issues encountered while using AVRstudio version 5 to program the ATmega 8 microcontroller. Participants are addressing a specific problem where the compiler reports errors on non-existent lines in the code, particularly related to an include file.

Discussion Character

  • Homework-related
  • Technical explanation
  • Exploratory

Main Points Raised

  • One participant reports that the compiler is generating errors on lines that do not exist in their code, raising questions about the source of these errors.
  • Another participant suggests that the errors might be related to the include file, specifically mentioning a file named m8def.inc.
  • A later reply asks for the include file to be uploaded for further examination and inquires about the build settings in the tool.

Areas of Agreement / Disagreement

Participants are exploring the issue without a clear consensus on the cause of the compiler errors. Multiple viewpoints are presented regarding the potential source of the problem, particularly concerning the include file.

Contextual Notes

There may be limitations related to the specific configurations of the AVRstudio environment or the content of the include file that are not fully explored in the discussion.

Gliese123
Messages
143
Reaction score
0

Homework Statement


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

Homework Equations





The Attempt at a Solution


Any idea?
 
Physics news on Phys.org
Is it finding errors in the Include file?
 
berkeman said:
Is it finding errors in the Include file?
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
 
Can you attach the include file to this thread (upload it)?

Are there some Build settings in the tool?
 

Similar threads

Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
4
Views
5K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
6
Views
3K
Replies
7
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
6
Views
3K