Hm..
Ich hab gerade einen weiteren Link dazu gefunden:
http://lists.gnu.org/archive/html/av.../msg00051.html
Es handelt sich dann bei dem Code wohl um C-Code..[...]
I try to compile a original AVR-App-note code (AVR307) with avr-gcc. There
are tons of error-msg, mostly for compiler directives. Is there an easy way
to "translate" it to avr-gcc?
[...]
avr-gcc -c -mmcu=attiny26 -I. -g -Os -Wall -Wstrict-prototypes -std=gnu99
AVR307/USI_UART.c -o AVR307/USI_UART.o
AVR307/USI_UART.c:67: error: parse error before "__regvar"[...]
Muss ich wohl doch noch mit C anfangen.. ok, so groß ist das Programm ja nun auch nicht.
Aber dann bleibt für mich immer noch die Frage offen, woher die USI_UART.c -Datei stammt?!?
Ist die beim Download des AVR Studios dabei?!
Oder steckt die im IAR CC Compiler?!
Gruß und Danke für Hilfe.
Nico
Lesezeichen