2022-09-09 20:58:51 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
if NET_USRSOCK
|
|
|
|
|
|
|
|
menu "Usrsock Driver Support"
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Select usrsock device interface"
|
|
|
|
default NET_USRSOCK_DEVICE
|
|
|
|
|
|
|
|
config NET_USRSOCK_DEVICE
|
|
|
|
bool "/dev/usrsock"
|
|
|
|
---help---
|
|
|
|
Will export /dev/usrsock device node for usrsock request/response operations
|
|
|
|
|
2022-09-16 13:37:13 +08:00
|
|
|
config NET_USRSOCK_RPMSG
|
2023-10-27 18:56:33 +08:00
|
|
|
bool "RPMSG transport"
|
2022-09-16 13:37:13 +08:00
|
|
|
---help---
|
2023-10-27 18:56:33 +08:00
|
|
|
Will send usrsock request or receive usrsock response via RPMSG channel directly
|
2022-09-16 13:37:13 +08:00
|
|
|
|
2022-09-09 20:58:51 +08:00
|
|
|
config NET_USRSOCK_CUSTOM
|
|
|
|
bool "Customerized interface"
|
|
|
|
---help---
|
|
|
|
Will send usrsock request or receive usrsock response via other kind of interface
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2022-09-16 13:37:13 +08:00
|
|
|
config NET_USRSOCK_RPMSG_CPUNAME
|
2023-10-27 18:56:33 +08:00
|
|
|
string "The cpuname on which the RPMSG server runs"
|
2022-09-16 13:37:13 +08:00
|
|
|
depends on NET_USRSOCK_RPMSG
|
|
|
|
|
2022-09-09 20:58:51 +08:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
endif # NET_USRSOCK
|
2023-01-03 10:54:07 +08:00
|
|
|
|
|
|
|
config NET_USRSOCK_RPMSG_SERVER
|
|
|
|
bool "RPMSG usrsock"
|
|
|
|
default n
|
|
|
|
depends on NET && RPTUN
|
|
|
|
---help---
|
2023-10-27 18:56:33 +08:00
|
|
|
Enable usrsock through RPMSG channel.
|
2023-01-03 10:54:07 +08:00
|
|
|
|
|
|
|
if NET_USRSOCK_RPMSG_SERVER
|
|
|
|
|
|
|
|
config NET_USRSOCK_RPMSG_SERVER_NSOCKS
|
|
|
|
int "The maximum number of socket descriptors for usrsock monitoring"
|
|
|
|
default 64
|
|
|
|
---help---
|
|
|
|
The maximum number of socket description for usrsosck monitoring.
|
|
|
|
|
|
|
|
config NET_USRSOCK_RPMSG_SERVER_NIOVEC
|
|
|
|
int "The maximum number of I/O vector for reassemble buffer"
|
|
|
|
default 8
|
|
|
|
---help---
|
|
|
|
The maximum number of I/O vector for reassemble buffer.
|
|
|
|
|
|
|
|
endif # NET_USRSOCK_RPMSG_SERVER
|
|
|
|
|