You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/03/21 07:03:24 UTC
[incubator-nuttx] 07/07: boards/sim: Enable uinput for rpproxy and rpserver
This is an automated email from the ASF dual-hosted git repository.
pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 85550ee340eaff44b8a4f60bc7ca1af467583fcb
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Sun Mar 20 00:44:54 2022 +0800
boards/sim: Enable uinput for rpproxy and rpserver
Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
boards/sim/sim/sim/configs/rpproxy/defconfig | 5 +++++
boards/sim/sim/sim/configs/rpserver/defconfig | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/boards/sim/sim/sim/configs/rpproxy/defconfig b/boards/sim/sim/sim/configs/rpproxy/defconfig
index 634dfe2..fff3a02 100644
--- a/boards/sim/sim/sim/configs/rpproxy/defconfig
+++ b/boards/sim/sim/sim/configs/rpproxy/defconfig
@@ -20,6 +20,7 @@ CONFIG_FS_PROCFS=y
CONFIG_FS_RPMSGFS=y
CONFIG_IDLETHREAD_STACKSIZE=4096
CONFIG_INIT_ENTRYPOINT="nsh_main"
+CONFIG_INPUT=y
CONFIG_LIBC_HOSTNAME="proxy"
CONFIG_NET=y
CONFIG_NETDB_DNSCLIENT=y
@@ -64,3 +65,7 @@ CONFIG_SYSLOG_TIMESTAMP=y
CONFIG_SYSTEM_CLE=y
CONFIG_SYSTEM_NSH=y
CONFIG_SYSTEM_PING=y
+CONFIG_UINPUT_BUTTONS=y
+CONFIG_UINPUT_KEYBOARD=y
+CONFIG_UINPUT_RPMSG=y
+CONFIG_UINPUT_TOUCH=y
diff --git a/boards/sim/sim/sim/configs/rpserver/defconfig b/boards/sim/sim/sim/configs/rpserver/defconfig
index c11c4bf..db07199 100644
--- a/boards/sim/sim/sim/configs/rpserver/defconfig
+++ b/boards/sim/sim/sim/configs/rpserver/defconfig
@@ -22,6 +22,7 @@ CONFIG_FS_PROCFS=y
CONFIG_FS_RPMSGFS=y
CONFIG_IDLETHREAD_STACKSIZE=4096
CONFIG_INIT_ENTRYPOINT="nsh_main"
+CONFIG_INPUT=y
CONFIG_IOEXPANDER=y
CONFIG_IOEXPANDER_RPMSG=y
CONFIG_LIBC_HOSTNAME="server"
@@ -86,3 +87,7 @@ CONFIG_SYSTEM_CUTERM_DEFAULT_DEVICE="/dev/ttyproxy"
CONFIG_SYSTEM_NSH=y
CONFIG_SYSTEM_PING=y
CONFIG_TTY_SIGINT=y
+CONFIG_UINPUT_BUTTONS=y
+CONFIG_UINPUT_KEYBOARD=y
+CONFIG_UINPUT_RPMSG=y
+CONFIG_UINPUT_TOUCH=y