Hallo,
ich habe ein Problem beim compilieren der Programme. Immer wenn ich ein Programm compiliere bekomme folgende Fehlermeldung:
wie kann ich das Programm auf Atmega8 umstellen, weil der das mit Atmega64 compilieren will.Code:Linking: Project1.elf avr-gcc -mmcu=atmega64 -DF_CPU=16000000UL -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=new.o -ID:\ASURO\AsuroFlash\include new.o --output Project1.elf -Wl,-Map=Project1.map,--cref -ID:\ASURO\AsuroFlash\lib -lm new.o: In function `main': D:\ASURO\Programme\TestProgramm/new.c:6: undefined reference to `StatusLED' make: *** [Project1.elf] Error 1 Compiling C: new.c avr-gcc -c -mmcu=atmega64 -DF_CPU=16000000UL -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=new.lst -ID:\ASURO\AsuroFlash\include new.c -o new.o ExitCode 2 >Ready.
Mario







Zitieren

Lesezeichen