Ich habe unpräzise formuliert. Deshalb noch mal, ich kann es kompilieren (keine Fehlermeldungen, nur Warnungen), allerdings funktioniert der von meinem Compiler erzeugte Hex-Code nicht.
Compilerausgabe mit 2 Warnungen:
Der originale Hex-code funktioniert auf meinem ASURO.Code:Build started 26.5.2007 at 15:05:16 avr-gcc.exe -mmcu=atmega8 -Wall -gdwarf-2 -DF_CPU=8000000UL -Os -fsigned-char -MD -MP -MT omtasktest.o -MF dep/omtasktest.o.d -c ../omtasktest.c In file included from ../omtasktest.c:33: ../omttask.h:34: warning: call-clobbered register used for global register variable ../omtasktest.c: In function 'main': ../omtasktest.c:164: warning: passing argument 1 of 'OMT_add_driver' from incompatible pointer type avr-gcc.exe -mmcu=atmega8 omtasktest.o omtasuro.o omtdriver.o omtisrs.o omttask.o -o omt.elf avr-objcopy -O ihex -R .eeprom omt.elf omt.hex avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 --no-change-warnings -O ihex omt.elf omt.eep || exit 0 c:\WinAVR\bin\avr-objcopy.exe: there are no sections to be copied! AVR Memory Usage ---------------- Device: atmega8 Program: 2250 bytes (27.5% Full) (.text + .data + .bootloader) Data: 422 bytes (41.2% Full) (.data + .bss + .noinit) Build succeeded with 2 Warnings...







Zitieren

Lesezeichen