From d2309195daf4c0bb4e20ab4ef409beb82842b50e Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Fri, 31 Dec 2021 18:46:21 +0800 Subject: [PATCH] boards/sim: Add vncserver config for test Signed-off-by: Xiang Xiao --- arch/sim/src/Makefile | 2 +- .../sim/sim/sim/configs/vncserver/defconfig | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 boards/sim/sim/sim/configs/vncserver/defconfig diff --git a/arch/sim/src/Makefile b/arch/sim/src/Makefile index 67d2ae198a..829afc75ee 100644 --- a/arch/sim/src/Makefile +++ b/arch/sim/src/Makefile @@ -118,7 +118,7 @@ endif ifeq ($(CONFIG_SIM_LCDDRIVER),y) CSRCS += up_lcd.c else ifeq ($(CONFIG_SIM_FRAMEBUFFER),y) - CSRCS += up_framebuffer.c + CSRCS += up_framebuffer.c endif ifeq ($(CONFIG_SIM_X11FB),y) diff --git a/boards/sim/sim/sim/configs/vncserver/defconfig b/boards/sim/sim/sim/configs/vncserver/defconfig new file mode 100644 index 0000000000..0615f7d3ab --- /dev/null +++ b/boards/sim/sim/sim/configs/vncserver/defconfig @@ -0,0 +1,28 @@ +# +# This file is autogenerated: PLEASE DO NOT EDIT IT. +# +# You can use "make menuconfig" to make any modifications to the installed .config file. +# You can then do "make savedefconfig" to generate a new defconfig file that includes your +# modifications. +# +# CONFIG_NET_ETHERNET is not set +CONFIG_ARCH="sim" +CONFIG_ARCH_BOARD="sim" +CONFIG_ARCH_BOARD_SIM=y +CONFIG_ARCH_CHIP="sim" +CONFIG_ARCH_SIM=y +CONFIG_DEBUG_SYMBOLS=y +CONFIG_DRIVERS_VIDEO=y +CONFIG_EXAMPLES_FB=y +CONFIG_INIT_ENTRYPOINT="fb_main" +CONFIG_NET=y +CONFIG_NET_ICMP_NO_STACK=y +CONFIG_NET_TCP_NO_STACK=y +CONFIG_NET_UDP_NO_STACK=y +CONFIG_NET_USRSOCK=y +CONFIG_NET_USRSOCK_OTHER=y +CONFIG_NET_USRSOCK_TCP=y +CONFIG_NET_USRSOCK_UDP=y +CONFIG_SIM_VNCSERVER=y +CONFIG_VIDEO_FB=y +CONFIG_VNCSERVER=y