-
-
Hi,
danke! Aber Funktioniert trotzdem nicht 
Bei compilieren bekomme ich keine Fehlermeldung siehe Anhang:
- -------- begin --------
avr-gcc (GCC) 4.1.2 (WinAVR 20070525)
Copyright (C) 2006 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.
Size before:
main.elf :
section size addr
.text 196 0
.stab 888 0
.stabstr 113 0
.debug_aranges 32 0
.debug_pubnames 43 0
.debug_info 330 0
.debug_abbrev 233 0
.debug_line 397 0
.debug_frame 48 0
.debug_str 196 0
.debug_loc 70 0
Total 2546
Compiling: main.c
avr-gcc -c -mmcu=atmega8 -I. -gdwarf-2 -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.lst -std=gnu99 -DF_OSC=12000000 -MD -MP -MF .dep/main.o.d main.c -o main.o
Linking: main.elf
avr-gcc -mmcu=atmega8 -I. -gdwarf-2 -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.o -std=gnu99 -DF_OSC=12000000 -MD -MP -MF .dep/main.elf.d main.o --output main.elf -Wl,-Map=main.map,--cref -lm
Creating load file for Flash: main.hex
avr-objcopy -O ihex -R .eeprom main.elf main.hex
Creating load file for EEPROM: main.eep
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" \
--change-section-lma .eeprom=0 -O ihex main.elf main.eep
c:\WinAVR-20070525\bin\avr-objcopy.exe: there are no sections to be copied!
c:\WinAVR-20070525\bin\avr-objcopy.exe: --change-section-lma .eeprom=0x00000000 never used
make.exe: [main.eep] Error 1 (ignored)
Creating Extended Listing: main.lss
avr-objdump -h -S main.elf > main.lss
Creating Symbol Table: main.sym
avr-nm -n main.elf > main.sym
Size after:
main.elf :
section size addr
.text 180 0
.stab 888 0
.stabstr 113 0
.debug_aranges 32 0
.debug_pubnames 36 0
.debug_info 309 0
.debug_abbrev 209 0
.debug_line 381 0
.debug_frame 48 0
.debug_str 189 0
.debug_loc 70 0
Total 2455
Errors: none
-------- end --------
> Process Exit Code: 0
> Time Taken: 00:04
Servo dreht sich nicht, ich stecke Pin PB1 rein raus... dann etwas
Sonst kann man glaube leicht hören, wie der Servo klick klick macht
Berechtigungen
- Neue Themen erstellen: Nein
- Themen beantworten: Nein
- Anhänge hochladen: Nein
- Beiträge bearbeiten: Nein
-
Foren-Regeln
Lesezeichen