Ilija Stanislevik wrote:
Hi,
I tested the driver at Ethernet level: sending and receiving Ethernet
packets, setting and getting ESA, etc. The tests have been done on
STM3210E evaluation board (ST cortex M3 processor). Now I am trying to
perform tests with lwip stack.
First I did some initial testing with ecos3.0. Using configtool I chose
ecos3.0 repository, ST STM3210E EVAL board template and lwip_eth package
instead of default. I added my driver source and CDL files to my local
ecos3.0 repository. Everything builds fine.
Then I decided to try the lwip from the CVS. Using configtool I chose
current ecos repository (taken from CVS on February 2. 2010), ST
STM3210E EVAL board template and lwip_eth package. I added my driver
source and CDL files to my local repository. Building library does not
yield:
.
.
home/iko/current_ecos/ecos/packages/net/lwip_tcpip/current/src/ecos/simple.c:72:27:
error: netif/ppp/ppp.h: No such file or directory
/home/iko/current_ecos/ecos/packages/net/lwip_tcpip/current/src/ecos/simple.c:73:28:
error: netif/ppp/chat.h: No such file or directory
/home/iko/current_ecos/ecos/packages/net/lwip_tcpip/current/src/ecos/simple.c:190:8:
warning: multi-line comment
make[1]: Leaving directory
`/home/iko/Agenda/Energ/Ramnenje/Dizajn/STM32/EVALB/ecos/test_current_ecos_build/net/lwip_tcpip/current'
make[1]: *** [src/ecos/simple.o.d] Error 1
make: Leaving directory
`/home/iko/Agenda/Energ/Ramnenje/Dizajn/STM32/EVALB/ecos/test_current_ecos_build'
make: *** [build] Error 2
Any suggestions how to get on track?
Hmm, I just did the following, using the latest CVS repository:
ecosconfig new stm3210e_eval lwip_eth
ecosconfig tree
make
make -C net/lwip_tcpip/current/ tests
Everything builds, as far as I can see. Try to recreate your tree, or
start with a clean configuration again.
Simon