mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 18:56:10 +08:00
move usrsock to kernel space
Signed-off-by: 梁超众 <liangchaozhong@xiaomi.com>
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
#include <nuttx/serial/pty.h>
|
||||
#include <nuttx/syslog/syslog.h>
|
||||
#include <nuttx/syslog/syslog_console.h>
|
||||
#include <nuttx/usrsock/usrsock_rpmsg.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
@@ -177,4 +178,10 @@ void drivers_initialize(void)
|
||||
#ifdef CONFIG_RPMSGMTD_SERVER
|
||||
rpmsgmtd_server_init();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NET_USRSOCK_RPMSG_SERVER
|
||||
/* Initialize the user socket rpmsg server */
|
||||
|
||||
usrsock_rpmsg_server_initialize();
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user