Hallo m.a.r.v.i.n
Habe gerade dein makefile hinnein kopiert und
noch meinen LIBPATH = C:\ASURO271\Asuro_libv271\lib geändert.
Alle asuro.h aus AsuroFlash2 entfernt und es hat sofort compeliert ohne Fehlermeldung!!!
Klasse ich bin begeistert und sage tausend mal Dank für die schnelle Hilfe.
Werde Morgen mein erstes Programm mit Asuroflash und AsuroLib schreiben und das kleine Monster auf drei Beinen zum geradeausfahren bringen.
So sieht die Fehlermeldung die kein Fehler ist aus:
Code:
Session Environment Variables:
AF_AVRDIR=C:\WinAVR-20071221
AF_PROJECT=TestFirstTry
AF_SOURCE_FILES=FirstTry\test.c
AF_ASM_SRC_FILES=
AF_PRGDIR=C:\Programme\AsuroFlash2
File test.c saved.
Default make_all.cmd file created.
Default makefile created.
Make
C:\Programme\AsuroFlash2>C:\WinAVR-20071221\utils\bin\make.exe all
set -e; avr-gcc -MM -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=asuro.lst -IC:\Programme\AsuroFlash2\include -IC:\ASURO271\Asuro_libv271\lib\inc asuro.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > asuro.d; \
[ -s asuro.d ] || rm -f asuro.d
asuro.c:29:19: error: asuro.h: No such file or directory
set -e; avr-gcc -MM -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=FirstTry\test.lst -IC:\Programme\AsuroFlash2\include -IC:\ASURO271\Asuro_libv271\lib\inc FirstTry\test.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > FirstTry\test.d; \
[ -s FirstTry\test.d ] || rm -f FirstTry\test.d
avr-gcc.exe: FirstTrytest.c: No such file or directory
avr-gcc.exe: no input files
-------- begin --------
avr-gcc --version
avr-gcc (GCC) 4.2.2 (WinAVR 20071221)
Copyright (C) 2007 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.
avr-gcc -c -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=FirstTry\test.lst -IC:\Programme\AsuroFlash2\include -IC:\ASURO271\Asuro_libv271\lib\inc FirstTry\test.c -o FirstTry\test.o
avr-gcc -c -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=asuro.lst -IC:\Programme\AsuroFlash2\include -IC:\ASURO271\Asuro_libv271\lib\inc asuro.c -o asuro.o
avr-gcc -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=FirstTry\test.o -IC:\Programme\AsuroFlash2\include -IC:\ASURO271\Asuro_libv271\lib\inc FirstTry\test.o asuro.o --output TestFirstTry.elf -Wl,-Map=TestFirstTry.map,--cref -IC:\Programme\AsuroFlash2\lib -LC:\ASURO271\Asuro_libv271\lib -lm -lasuro
avr-objcopy -O ihex -R .eeprom TestFirstTry.elf TestFirstTry.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" \
--change-section-lma .eeprom=0 -O ihex TestFirstTry.elf TestFirstTry.eep
c:\WinAVR-20071221\bin\avr-objcopy.exe: --change-section-lma .eeprom=0x00000000 never used
avr-objdump -h -S TestFirstTry.elf > TestFirstTry.lss
Size after:
TestFirstTry.elf :
section size addr
.text 2650 0
.data 256 8388704
.bss 14 8388960
.stab 888 0
.stabstr 95 0
.debug_aranges 96 0
.debug_pubnames 430 0
.debug_info 1496 0
.debug_abbrev 665 0
.debug_line 1507 0
.debug_frame 368 0
.debug_str 567 0
.debug_loc 457 0
Total 9489
Errors: none
-------- end --------
ExitCode 0
Ready.
C:\Programme\AsuroFlash2\Project1.hex
is set as default flash file.
Use program button to flash it to hardware.
besonders gefällt mir der Satz :
Use program button to flash it to hardware.
Noch mal Danke
Gruß Juelicher
Lesezeichen