--- Quote Start ---
Hi, thanks for answer.
In LwIP 1.3.1, it seems to lack some file like :
- lwipopts.h to Define# define NO_SYS 1, etc
- arch/cc.h to Define generic types used in lwIP
--- Quote End ---
These are user supplied files - copy and past opts.h into lwipopts.h and make change as necessary for your system (depends on amount of memory and other lwIP features that you require). cc.h is your platform dependent include file - start with another from the contrib folder as a starting point for yours.
--- Quote Start ---
That answers to my "syntax errors".I look for examples like lwIPv1_1.zip in
niosforum.com http://www.niosforum.com/pages/project_details.php?p_id=68&t_id=17 which provides a few answers.
I am new to IP stacks and have a very light knowledge of all about networking.
I had hoped that it must be simple because Ethernet is wiiiiiiiiiiiiiiidely used. As for SD cards.
--- Quote End ---
You don't need to know about networking to bring lwIP up - but you must get an ethernet driver working. The Altera tse driver is a start and it's not super hard to get that talking through lwIP's low_level_input and low_level_output.
If you want a standalone working stack already for NIOS II like Interniche is - that's only possible if you find someone who can provide a working build of everything. One issue I don't know about is if someone has an lwIP ethernet driver based on the Interniche/Altera code (most of the code is altera's), what can be redistributed without violating licenses?
--- Quote Start ---
I look at LwIP wiki, go to "get started" and wasted :huh:.
--- Quote End ---
Yeah, it could be better.
--- Quote Start ---
You have succeeded in make LWIP working.
Could you suggest me/us some good documents, please ? in order to start with a good point.
--- Quote End ---
The lwIP Wiki and the mailing lists documented here is a start:
http://www.nongnu.org/lwip/ I will see if I can throw together a "bridge" file from the Altera driver to lwIP's ethernetif interface. No promises...
Bill A.