[Quote = " Martinius11 "] ABER beim Selbsttest Hat Sich NOCH Die Farbe geändert ? [/ Quote]
[I] Ja! ABER ALS ich der Programm geflasht Habe, ER Nicht Leuchtet rot ? [/ I]
[Code] # include " asuro.h "

int main ( void)
{
Init () ;
StatusLED (RED)
while (1) ;
return 0;
}
[/ Code]
[I] DABEI Erscheint folgende Meldung : [/ i]
[I] > "C: \ FirstTry \ Test - all.bat "

C: \ FirstTry > make all
set- e; avr- GCC -MM- mmcu = atmega8 -I. -G- Os - funsigned -char- funsigned - Bitfelder - fpack - struct - fshort - Enumerationen -Wall- Wstrict - Prototypen - Wa, - = ahlms asuro.lst asuro.c \
| sed ' s, \ (.* \) \. o [ : ] * \ 1.o \ 1.d : , g '> asuro.d ; \
[ S - asuro.d ] | | rm- f asuro.d
set- e; avr- GCC -MM- mmcu = atmega8 -I. -G- Os - funsigned -char- funsigned - Bitfelder - fpack - struct - fshort - Enumerationen -Wall- Wstrict - Prototypen - Wa, - = ahlms TEST.LST test.c \
| sed ' s, \ (.* \) \. o [ : ] * \ 1.o \ 1.d : , g '> test.d ; \
[ S - test.d ] | | rm- f test.d
-------- -------- Beginnen
avr- GCC - version
avr- GCC ( WinAVR 20100110 ) 4.3.3
Copyright ( C) 2008 Free Software Foundation , Inc.
Dies ist freie Software, siehe sterben Quelle für Das KOPIEREN von Bedingungen . Es GIBT KEINE
Garantie, für Nicht Einmal MARKTREIFE Oder der eignung FÜR EINEN BESTIMMTEN zweck .

avr- GCC -c- mmcu = atmega8 -I. -G- Os - funsigned -char- funsigned - Bitfelder - fpack - struct - fshort - Enumerationen -Wall- Wstrict - Prototypen - Wa, - = ahlms TEST.LST test.c -o test.o
In der mitgelieferten Datei asuro.h : 34,
von test.c : 1:
c: / winavr-20100110/lib/gcc/../../avr/include/avr/signal.h : 36:2 : Warnung : # warning " This Header -Datei ist veraltet . Verwenden < AVR / interrupt.h > . "
avr- GCC -c- mmcu = atmega8 -I. -G- Os - funsigned -char- funsigned - Bitfelder - fpack - struct - fshort - Enumerationen -Wall- Wstrict - Prototypen - Wa, - = ahlms asuro.lst asuro.c -o asuro.o
In der mitgelieferten Datei asuro.h : 34,
von asuro.c : 29:
c: / winavr-20100110/lib/gcc/../../avr/include/avr/signal.h : 36:2 : Warnung : # warning " This Header -Datei ist veraltet . Verwenden < AVR / interrupt.h > . "
avr- gcc- mmcu = atmega8 -I. -G- Os - funsigned -char- funsigned - Bitfelder - fpack - struct - fshort - Enumerationen -Wall- Wstrict - Prototypen - Wa, - = ahlms test.o test.o asuro.o - output test.elf -Wl , - Karte = test.map , - cref -lm
AVR- objcopy -O ihex -R. eeprom test.elf test.hex
AVR- objcopy -j . EEPROM - set- ABSCHNITT - flags = =. eeprom " Alloc , load " \
- Change -section- LMA . eeprom = 0 -O ihex test.elf TEST.EEP
c: \ WinAVR - 20100110 \ bin \ avr- objcopy.exe : - change- section- LMA . eeprom = 0x00000000 nie benutzt
AVR -objdump- h -S test.elf > test.lss
Größe nach:
test.elf :
ABSCHNITT Größe addr
. Text 1692 0
. bss 1 8388704
. debug_aranges 64 0
. debug_pubnames 263 0
. debug_info 1060 0
. debug_abbrev 401 0
. debug_line 1120 0
. debug_frame 288 0
. debug_str 350 0
. debug_loc 388 0
Total 5627


Fehler: none
-------- -------- Ende

> Process Exit Code: 0
> Time Taken : 00:04
[ / i]