Gast
#2066047
hi zusammen, habe mir neulich ein AVR 128 board gekauft (http://cgi.ebay.com/ATmega-ATmega128-AVR-MINI-Development-Board-/260667006636?pt=LH_DefaultDomain_0&hash=item3cb0f6deac#shId) und naja jetzt bin ich soweit das ich uart implementieren will, habs mit dem testcode hier auf mikrocontroller.net probiert aber es kommen diesen error.... Build started 16.2.2011 at 15:44:19 avr-gcc -mmcu=atmega128 -Wall -gdwarf-2 -std=gnu99 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -MD -MP -MT main.o -MF dep/main.o.d -c ../../main.c ../../main.c: In function 'uart_putc': ../../main.c:40: error: 'UCSRA' undeclared (first use in this function) ../../main.c:40: error: (Each undeclared identifier is reported only once ../../main.c:40: error: for each function it appears in.) ../../main.c:44: error: 'UDR' undeclared (first use in this function) ../../main.c: In function 'USART_Init': ../../main.c:63: error: 'UBRRH' undeclared (first use in this function) ../../main.c:64: error: 'UBRRL' undeclared (first use in this function) ../../main.c:66: error: 'UCSRB' undeclared (first use in this function) ../../main.c:68: error: 'UCSRC' undeclared (first use in this function) ../../main.c: In function 'main': ../../main.c:83: warning: pointer targets in assignment differ in signedness ../../main.c:87: warning: pointer targets in assignment differ in signedness make: *** [main.o] Error 1 Build failed with 8 errors and 2 warnings... hat jemand ne ahnung?? wäre sehr dankbar!!