LPC43xx LWIP + Socket API

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC43xx LWIP + Socket API

1,234件の閲覧回数
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,057件の閲覧回数
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,057件の閲覧回数
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 件の賞賛
返信