[Top][All Lists]

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

Re: [avr-gcc-list] simple program

From: Bernard Fouché
Subject: Re: [avr-gcc-list] simple program
Date: Thu, 25 Aug 2005 09:29:04 +0200
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

Timothy Smith wrote:

titan# avr-gcc led.c

In file included from led.c:2:
warning: #warning "device type not defined"

The warning says it all: you must tell avr-gcc what device you use (-mmc=....) since ports,etc differ from one chip to the other. Have a look a the nice Makefile provided with Winavr (it works also on unix/linux),
you'll spare some time figuring how to compile correctly.


reply via email to

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