|
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:
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),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"
you'll spare some time figuring how to compile correctly. Bernard
[Prev in Thread] | Current Thread | [Next in Thread] |