>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
:
====================================
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
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
Frédéric BERNON.vcf
Description: Frédéric BERNON.vcf
- RE : [lwip-users] Building lwIP libraries - general info,
Frédéric BERNON <=