LPC43xx LWIP + Socket API

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC43xx LWIP + Socket API

1,204 次查看
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


标签 (1)
0 项奖励
回复
2 回复数

1,027 次查看
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 项奖励
回复

1,027 次查看
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 项奖励
回复