support socket demo on nuttx

This commit is contained in:
wlyu
2022-09-23 21:19:27 +08:00
parent 0ac4dc05fc
commit 3bc1cffa33
7 changed files with 148 additions and 19 deletions
@@ -1,3 +1,14 @@
SRC_FILES := lwip_tcp_socket_demo.c lwip_udp_socket_demo.c
ifeq ($(CONFIG_ADD_XIZI_FETURES),y)
SRC_FILES := lwip_tcp_socket_demo.c lwip_udp_socket_demo.c
include $(KERNEL_ROOT)/compiler.mk
endif
include $(KERNEL_ROOT)/.config
ifeq ($(CONFIG_ADD_NUTTX_FETURES),y)
include $(APPDIR)/Make.defs
CSRCS += lwip_tcp_socket_demo.c lwip_udp_socket_demo.c
include $(APPDIR)/Application.mk
endif