Jetzt habe ich ein weiteres Problem mit AVR Studio compiler.
Hier ist die Fehlermeldung:
Wo werden die Variablen UCSRA, UCSRB, etc. declariert? Welche .h Datei vermisse ich?Code:Build started 13.1.2008 at 14:43:21 avr-gcc.exe -I"C:\Dokumente und Einstellungen\Petersen.PN15\Eigene Dateien\Volker\ProgramCode\ASURO_SRC\MotorTest\..\..\..\..\..\..\..\Programme\WinAVR\AsuroLIB\lib\inc" -mmcu=atmega128 -Wall -gdwarf-2 -O0 -fsigned-char -MD -MP -MT MotorTest.o -MF dep/Mo torTest.o.d -c ../MotorTest.c ../MotorTest.c: In function 'testfahrt': ../MotorTest.c:28: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness ../MotorTest.c: In function 'main': ../MotorTest.c:68: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness ../MotorTest.c:74: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness ../MotorTest.c:80: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness avr-gcc.exe -I"C:\Dokumente und Einstellungen\Petersen.PN15\Eigene Dateien\Volker\ProgramCode\ASURO_SRC\MotorTest\..\..\..\..\..\..\..\Programme\WinAVR\AsuroLIB\lib\inc" -mmcu=atmega128 -Wall -gdwarf-2 -O0 -fsigned-char -MD -MP -MT asuro.o -MF dep/asuro. o.d -c ../../../../../../../../Programme/WinAVR/AsuroLIB/lib/asuro.c ../../../../../../../../Programme/WinAVR/AsuroLIB/lib/asuro.c: In function 'Init': ../../../../../../../../Programme/WinAVR/AsuroLIB/lib/asuro.c:133: error: 'UCSRA' undeclared (first use in this function) ../../../../../../../../Programme/WinAVR/AsuroLIB/lib/asuro.c:133: error: (Each undeclared identifier is reported only once ../../../../../../../../Programme/WinAVR/AsuroLIB/lib/asuro.c:133: error: for each function it appears in.) ../../../../../../../../Programme/WinAVR/AsuroLIB/lib/asuro.c:134: error: 'UCSRB' undeclared (first use in this function) ../../../../../../../../Programme/WinAVR/AsuroLIB/lib/asuro.c:135: error: 'UCSRC' undeclared (first use in this function) ../../../../../../../../Programme/WinAVR/AsuroLIB/lib/asuro.c:136: error: 'UBRRL' undeclared (first use in this function) ../../../../../../../../Programme/WinAVR/AsuroLIB/lib/asuro.c: In function '__vector_2': ../../../../../../../../Programme/WinAVR/AsuroLIB/lib/asuro.c:252: error: 'GICR' undeclared (first use in this function) make: *** [asuro.o] Error 1 Build failed with 7 errors and 4 warnings...
Gruss,
vp







Zitieren

Lesezeichen