NOTICE: This website will be shut down in the near future. Product content has moved to nxp.com. Forum content and FAQs have been moved to community.nxp.com. We encourage you to create a user account on nxp.com to use the new community forums and access NXP microcontroller content. We greatly appreciate your contributions and look forward to seeing you at our new web location.

 

LPC43xx LWIP + Socket API

2 replies [Last post]
jgorsk
Offline
Joined: 2012-08-27
Posts: 54

Can I use LPC43xx LWIP Socket API in no OS version? I'm getting all kind of compilation errors since I enabled Socket API.

Most errors are in socket.c file. Just one error is in init.c, it's an error directive:

#if ((LWIP_SOCKET || LWIP_NETCONN) && (NO_SYS==1))
  #error "If you want to use Sequential API, you have to define NO_SYS=0 in your lwipopts.h"
#endif

 

0
Your rating: None

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kaikeraut
Offline
Joined: 2014-02-21
Posts: 9

set LWIP_SOCKET & LWIP_NETCONN both to 1 on lwipopts.h file

kaikeraut
Offline
Joined: 2014-02-21
Posts: 9

hi
i did , set LWIP_SOCKET & LWIP_NETCONN both to 1 on lwipopts.h file

but still getting errors,
if you have lwip with socket enabled,
can you send the code.

Thanks

feedback