Gast
#2005791
Hallo, ich beschäftige mich seit kurzem mit dem AVR NetIO. Habe heute das Board mit OpenMCP geflasht. Lief einwandfrei :-) Dann die IP geändert und neu compiliert. Seitdem bekomme ich immer den Compilerfehler: Compiling C: hardware/pcint/pcint.c avr-gcc -c -mmcu=atmega644 -I. -gdwarf-2 -DF_CPU=16000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wshadow -Wstrict-prototypes -Wa,-adhlns=./hardware/pcint/pcint.lst -std=gnu99 -D__heap_end=0x80ffff -DAVRNETIO -DNONE_ADDON -mcall-prologues -fdata-sections -ffunction-sections -fmerge-constants -mno-tablejump -ffreestanding -fno-move-loop-invariants --param inline-call-cost=5 -finline-limit=2 -MMD -MP -MF .dep/pcint.o.d hardware/pcint/pcint.c -o hardware/pcint/pcint.o In file included from hardware/pcint/pcint.c:49: hardware/pcint/pcint.h:45:3: error: #error "PCINT wird für diese Hardwareplatform nicht unterstützt, bitte in der config.h abwählen!" hardware/pcint/pcint.c:51: error: array type has incomplete element type hardware/pcint/pcint.c:78: error: expected declaration specifiers or '...' before 'PCINT_CALLBACK_FUNC' hardware/pcint/pcint.c: In function 'PCINT_set': hardware/pcint/pcint.c:86: error: 'pFunc' undeclared (first use in this function) hardware/pcint/pcint.c:86: error: (Each undeclared identifier is reported only once hardware/pcint/pcint.c:86: error: for each function it appears in.) make.exe: *** [hardware/pcint/pcint.o] Error 1 Warum kommt jetzt der Fehler: PCint nich für diese HW-Plattform? Habe bereits WinAVR neu installiert, ohne Erfolg. Warum wurde das Prog einmal erfolgreich compiliert und danach gehts nicht mehr? HW: AVR Net IO ohne Addon, AVRISPmkii, ATmega 644 SW: OpenMCP (nur MAKE-File angepasst, sonst unverändert. Kann bitte jemand helfen. Bin sehr neu im Geschäft.