hallo
so hab die hardware zusammengebaut.... hab die config geändert ...
#define MYMAC1 0x00
#define MYMAC2 0x22
#define MYMAC3 0xF9
#define MYMAC4 0x01
#define MYMAC5 0x00
#define MYMAC6 0x01
nun bekomme ich den code einfach nicht kompiliert ....
bekomme immer "eine" fehlermeldung
Compiling C: main.c
avr-gcc -c -mmcu=atmega16 -I. -gstabs -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=./main.lst -std=gnu89 -MMD -MP -MF .dep/main.o.d main.c -o main.o
In file included from main.c:26:
config.h:74:1: warning: "F_CPU" redefined
<command-line>: warning: this is the location of the previous definition
In file included from usart.h:53,
from main.c:27:
stack.h:107: error: 'MTU_SIZE' undeclared here (not in a function)
stack.h:197: error: 'MAX_ARP_ENTRY' undeclared here (not in a function)
stack.h:198: error: 'MAX_TCP_ENTRY' undeclared here (not in a function)
main.c: In function 'main':
main.c:67: error: 'ETH_INT_ENABLE' undeclared (first use in this function)
main.c:67: error: (Each undeclared identifier is reported only once
main.c:67: error: for each function it appears in.)
make.exe: *** [main.o] Error 1
kann mir jemand sagen was ich falsch mache???
danke für die hilfe
lg