lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE : [lwip-users] Building lwIP libraries - general info


From: Frédéric BERNON
Subject: RE : [lwip-users] Building lwIP libraries - general info
Date: Tue, 14 Aug 2007 09:47:17 +0200

Hi
 
>1. Is it possible to use lwip libraries for this?
Yes

>2. Where should i look for target dependencies in lwip libraries? Any documentation on this?
There is no real hardware dependencies, it seems that lot of different targets use it

3. Any standard procedure to be followed to build lwIP libraries? i couldn't see any standard makefiles or configure scripts.
>It's true. Except for linux or MSVC, there is no build tools. For you case (I will suppose you don't use sequential apis, like netconn or socket), files you need to put in your makefile should be:
 
#with all other features
C_SOURCES = \
src/api/err.c \
src/core/dhcp.c \
src/core/inet.c \
src/core/mem.c \
src/core/memp.c \
src/core/netif.c \
src/core/pbuf.c \
src/core/raw.c \
src/core/stats.c \
src/core/udp.c \
src/core/ipv4/autoip.c \
src/core/ipv4/icmp.c \
src/core/ipv4/igmp.c \
src/core/ipv4/ip.c \
src/core/ipv4/ip_addr.c \
src/core/ipv4/ip_frag.c \
src/core/snmp/asn1_dec.c \
src/core/snmp/asn1_enc.c \
src/core/snmp/mib2.c \
src/core/snmp/mib_structs.c \
src/core/snmp/msg_in.c \
src/core/snmp/msg_out.c \
src/netif/etharp.c \
 
#with minimal features
C_SOURCES = \
src/api/err.c \
src/core/inet.c \
src/core/mem.c \
src/core/memp.c \
src/core/netif.c \
src/core/pbuf.c \
src/core/stats.c \
src/core/udp.c \
src/core/ipv4/icmp.c \
src/core/ipv4/ip.c \
src/core/ipv4/ip_addr.c \
src/core/ipv4/ip_frag.c \
src/netif/etharp.c \

4. Is it possible to build lwIP libraries for UDP support alone?
Yes. You have to create a lwipopts.h file which contains options to enable/disable (see opt.h to know existing options).
 
You can file some informations on :
http://lwip.scribblewiki.com/LwIP_Main_Page (not yet complete, but, a good start)
https://savannah.nongnu.org/projects/lwip/
https://savannah.nongnu.org/task/?7068#comment2 (some links)
 
====================================
Frédéric BERNON
HYMATOM SA
Chef de projet informatique
Microsoft Certified Professional
Tél. : +33 (0)4-67-87-61-10
Fax. : +33 (0)4-67-70-85-44
Email : address@hiddenr
Web Site : http://www.hymatom.fr
====================================
P Avant d'imprimer, penser à l'environnement
 
-----Message d'origine-----
De : address@hidden [mailto:address@hidden De la part de Rohit Arul Raj
Envoyé : mardi 14 août 2007 09:21
À : address@hidden
Objet : [lwip-users] Building lwIP libraries - general info

Hi all,

I am a newbie to lwip. I have an embedded target board running which does not have any OS support.
I need to implement UDP stack on this board.

1. Is it possible to use lwip libraries for this?
2. Where should i look for target dependencies in lwip libraries? Any documentation on this?
3. Any standard procedure to be followed to build lwIP libraries? i couldn't see any standard makefiles or configure scripts.
4. Is it possible to build lwIP libraries for UDP support alone?

Any help will be very much useful.

Regards,
Rohit

Attachment: Frédéric BERNON.vcf
Description: Frédéric BERNON.vcf


reply via email to

[Prev in Thread] Current Thread [Next in Thread]