LPC43xx LWIP + Socket API

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC43xx LWIP + Socket API

599 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jgorsk on Fri Apr 12 01:24:53 MST 2013

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


Labels (1)
0 Kudos
2 Replies

422 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kaikeraut on Thu Apr 10 22:56:03 MST 2014
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
0 Kudos

422 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kaikeraut on Wed Apr 02 05:22:28 MST 2014
set LWIP_SOCKET & LWIP_NETCONN both to 1 on lwipopts.h file
0 Kudos