You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/12/24 17:59:53 UTC
[incubator-nuttx] branch master updated: arch/sim: Support vncserver as display device
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 0751bcd arch/sim: Support vncserver as display device
0751bcd is described below
commit 0751bcd4ca673f1da97fc5a43075f58fc07dc8a0
Author: Huang Qi <hu...@xiaomi.com>
AuthorDate: Thu Oct 28 18:44:40 2021 +0800
arch/sim: Support vncserver as display device
Signed-off-by: Huang Qi <hu...@xiaomi.com>
---
arch/sim/Kconfig | 6 ++++++
arch/sim/src/Makefile | 4 +---
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/arch/sim/Kconfig b/arch/sim/Kconfig
index 37cf394..f5d29e3 100644
--- a/arch/sim/Kconfig
+++ b/arch/sim/Kconfig
@@ -307,6 +307,12 @@ config SIM_FRAMEBUFFER
---help---
Emulate a framebuffer
+config SIM_VNCSERVER
+ bool "VNC server"
+ depends on VNCSERVER
+ ---help---
+ Serve a VNC server
+
endchoice
if INPUT
diff --git a/arch/sim/src/Makefile b/arch/sim/src/Makefile
index 227106f..f24045c 100644
--- a/arch/sim/src/Makefile
+++ b/arch/sim/src/Makefile
@@ -113,10 +113,8 @@ endif
ifeq ($(CONFIG_SIM_LCDDRIVER),y)
CSRCS += up_lcd.c
-else
- ifeq ($(CONFIG_SIM_FRAMEBUFFER),y)
+else ifeq ($(CONFIG_SIM_FRAMEBUFFER),y)
CSRCS += up_framebuffer.c
- endif
endif
ifeq ($(CONFIG_SIM_X11FB),y)