avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] simple program


From: Lars Noschinski
Subject: Re: [avr-gcc-list] simple program
Date: Thu, 25 Aug 2005 09:51:50 +0200
User-agent: mutt-ng devel (Linux)

* Timothy Smith <address@hidden> [2005-08-25 09:45]:
titan# avr-gcc led.c

In file included from led.c:2:
/usr/local/lib/gcc/avr/3.4.4/../../../../avr/include/avr/io.h:252:6:
warning: #warning "device type not defined"

avr-gcc does not know for which device it should compile. You need to
pass the -mmcu option with the correct device, e.g.

# avr-gcc -mmcu=atmega8 led.c

to compile it for an atmega8.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]