Also in meiner configuration steht das ich den mega128 mit 16Mhz eingestellt habe. Und als fehlermeldungkommt:
rm -rf usart.o usart.elf dep/ usart.hex usart.eep
Build succeeded with 0 Warnings...
avr-gcc -mmcu=atmega128 -Wall -gdwarf-2 -DF_CPU=16000000 -O0 -fsigned-char -Wp,-M,-MP,-MT,usart.o,-MF,dep/usart.o.d -c ../usart.c
../usart.c: In function `__vector_1':
../usart.c:45: error: `GICR' undeclared (first use in this function)
../usart.c:45: error: (Each undeclared identifier is reported only once
../usart.c:45: error: for each function it appears in.)
../usart.c: In function `__vector_16':
../usart.c:102: error: `GIFR' undeclared (first use in this function)
../usart.c:103: error: `GICR' undeclared (first use in this function)
../usart.c: In function `main':
../usart.c:181: error: `UCSRA' undeclared (first use in this function)
../usart.c:182: error: `UCSRB' undeclared (first use in this function)
../usart.c:189: error: `GIFR' undeclared (first use in this function)
../usart.c:190: error: `GICR' undeclared (first use in this function)
make: *** [usart.o] Error 1
Build failed with 9 errors and 0 warnings...
Ich hoffe das hilft dir weiter um mir zu helfen
MFG DanielSan[/img]
Lesezeichen