nuttx/drivers/usrsock/Kconfig
liangchaozhong f9a9a02e3e usersock: Add driver with type of rpmsg interface
move usrsock rpmsg driver from userspace to kernel to reduce extra
context switch for usrsock operations

Signed-off-by: liangchaozhong <liangchaozhong@xiaomi.com>
2022-10-11 00:57:49 +08:00

38 lines
854 B
Plaintext

#
# 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
config NET_USRSOCK_RPMSG
bool "rpmsg transport"
---help---
Will send usrsock request or receive usrsock response via rpmsg channel directly
config NET_USRSOCK_CUSTOM
bool "Customerized interface"
---help---
Will send usrsock request or receive usrsock response via other kind of interface
endchoice
config NET_USRSOCK_RPMSG_CPUNAME
string "The cpuname on which the rpmsg server runs"
depends on NET_USRSOCK_RPMSG
endmenu
endif # NET_USRSOCK