ach verdammt war wirklich ein sau blöder fehler... hatte die source datei nich im selben ordner wie das projekt und das makefile...
also jetz hab ich aber ein anderes problem.
Source:
Fehler:Code:#include <avr/io.h> //Zugriff auf IO's des Controllers #include <simple_delayroutinen.c> int main (void) { DDRB = 0xff; //PB0...PB7 als Ausgänge definieren for (;;) { //Endlosschleife PORTB = 0x00; //LEDs leuchten delay_ms (750); //warte PORTB = 0xff; //LEDs aus delay_ms (750); }}
Hoffe das war jetz nich zuviel text ich weiss nicht wie man so ein code fenster einfügt...Code:> "make.exe" all -------- begin -------- avr-gcc (GCC) 3.4.1 Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiling: blinker.c avr-gcc -c -mmcu=atmega8 -I. -gstabs -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=blinker.lst -std=gnu99 -Wp,-M,-MP,-MT,blinker.o,-MF,.dep/blinker.o.d blinker.c -o blinker.o blinker.c:2:34: simple_delayroutinen.c: No such file or directory blinker.c: In function `main': blinker.c:8: warning: implicit declaration of function `delay_ms' make.exe: *** [blinker.o] Error 1 > Process Exit Code: 2
( Ich habs mal geändert, schaus dir mal im Edit Fenster an, Kjion )







Zitieren

Lesezeichen