Problems with io.h

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

Having installed the latest AVR GCC and followed the instructions in the PDF , I keep getting a warning:
device type not defined

I have MCU=atmega16 in the makefile.

Then, the next time I try to make all, I get a message about a null characted being encountered in file test1

What is the file "test1" anyway?
If I delete it, I go back to the "device not defined" warning.

What is going on?

Four legs good, two legs bad, three legs stable.

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

Many thanks for your reply, I think the makefile was incompatible with the latest WinAVR, I downloaded some other example code (avrgcc-examples.zip) which all behave.

BTW I did mean WinAVR 20030913 and "Installing and Configuring WinAVR"

Regards,

John Brown

Four legs good, two legs bad, three legs stable.