From a5a35a1cdaa37d1c1c65a0b202b917519ad90528 Mon Sep 17 00:00:00 2001 From: zhanghongyu Date: Tue, 20 Aug 2024 17:15:20 +0800 Subject: [PATCH] defconfig: add SYSTEM_TELNETD related config fixed an error that symbols could not be found when link Signed-off-by: zhanghongyu --- boards/arm/stm32/olimex-stm32-e407/configs/telnetd/defconfig | 2 ++ boards/arm/stm32/stm3220g-eval/configs/telnetd/defconfig | 4 ++-- boards/arm/stm32/stm3240g-eval/configs/telnetd/defconfig | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/boards/arm/stm32/olimex-stm32-e407/configs/telnetd/defconfig b/boards/arm/stm32/olimex-stm32-e407/configs/telnetd/defconfig index cf03875560..822ecd5556 100644 --- a/boards/arm/stm32/olimex-stm32-e407/configs/telnetd/defconfig +++ b/boards/arm/stm32/olimex-stm32-e407/configs/telnetd/defconfig @@ -46,6 +46,7 @@ CONFIG_NET_TCPBACKLOG=y CONFIG_NET_TCP_PREALLOC_CONNS=40 CONFIG_NET_UDP=y CONFIG_NET_UDP_CHECKSUMS=y +CONFIG_NSH_LIBRARY=y CONFIG_PREALLOC_TIMERS=4 CONFIG_RAM_SIZE=114688 CONFIG_RAM_START=0x20000000 @@ -72,6 +73,7 @@ CONFIG_STM32_PWR=y CONFIG_STM32_RMII_EXTCLK=y CONFIG_STM32_USART2=y CONFIG_SYSTEM_PING=y +CONFIG_SYSTEM_READLINE=y CONFIG_USART2_RXBUFSIZE=128 CONFIG_USART2_SERIAL_CONSOLE=y CONFIG_USART2_TXBUFSIZE=128 diff --git a/boards/arm/stm32/stm3220g-eval/configs/telnetd/defconfig b/boards/arm/stm32/stm3220g-eval/configs/telnetd/defconfig index cce6b381e9..7ca6a50bba 100644 --- a/boards/arm/stm32/stm3220g-eval/configs/telnetd/defconfig +++ b/boards/arm/stm32/stm3220g-eval/configs/telnetd/defconfig @@ -25,17 +25,16 @@ CONFIG_EXAMPLES_TELNETD_DAEMONPRIO=128 CONFIG_EXAMPLES_TELNETD_NOMAC=y CONFIG_HAVE_CXX=y CONFIG_HAVE_CXXINITIALIZE=y -CONFIG_HOST_WINDOWS=y CONFIG_INIT_ENTRYPOINT="telnetd_main" CONFIG_INTELHEX_BINARY=y CONFIG_MM_REGIONS=2 CONFIG_NET=y -CONFIG_NETUTILS_NETLIB=y CONFIG_NETUTILS_TELNETD=y CONFIG_NET_MAX_LISTENPORTS=40 CONFIG_NET_SOCKOPTS=y CONFIG_NET_TCP=y CONFIG_NET_TCP_PREALLOC_CONNS=40 +CONFIG_NSH_LIBRARY=y CONFIG_NUNGET_CHARS=0 CONFIG_RAM_SIZE=196608 CONFIG_RAM_START=0x20000000 @@ -55,6 +54,7 @@ CONFIG_STM32_PHYSR_FULLDUPLEX=0x0004 CONFIG_STM32_PHYSR_MODE=0x0004 CONFIG_STM32_PHYSR_SPEED=0x0002 CONFIG_STM32_USART3=y +CONFIG_SYSTEM_READLINE=y CONFIG_TASK_NAME_SIZE=0 CONFIG_USART3_RXBUFSIZE=128 CONFIG_USART3_SERIAL_CONSOLE=y diff --git a/boards/arm/stm32/stm3240g-eval/configs/telnetd/defconfig b/boards/arm/stm32/stm3240g-eval/configs/telnetd/defconfig index ad93f8519f..b34caaabfe 100644 --- a/boards/arm/stm32/stm3240g-eval/configs/telnetd/defconfig +++ b/boards/arm/stm32/stm3240g-eval/configs/telnetd/defconfig @@ -26,17 +26,16 @@ CONFIG_EXAMPLES_TELNETD_DAEMONPRIO=128 CONFIG_EXAMPLES_TELNETD_NOMAC=y CONFIG_HAVE_CXX=y CONFIG_HAVE_CXXINITIALIZE=y -CONFIG_HOST_WINDOWS=y CONFIG_INIT_ENTRYPOINT="telnetd_main" CONFIG_INTELHEX_BINARY=y CONFIG_MM_REGIONS=2 CONFIG_NET=y -CONFIG_NETUTILS_NETLIB=y CONFIG_NETUTILS_TELNETD=y CONFIG_NET_MAX_LISTENPORTS=40 CONFIG_NET_SOCKOPTS=y CONFIG_NET_TCP=y CONFIG_NET_TCP_PREALLOC_CONNS=40 +CONFIG_NSH_LIBRARY=y CONFIG_NUNGET_CHARS=0 CONFIG_RAM_SIZE=196608 CONFIG_RAM_START=0x20000000 @@ -56,6 +55,7 @@ CONFIG_STM32_PHYSR_FULLDUPLEX=0x0004 CONFIG_STM32_PHYSR_MODE=0x0004 CONFIG_STM32_PHYSR_SPEED=0x0002 CONFIG_STM32_USART3=y +CONFIG_SYSTEM_READLINE=y CONFIG_TASK_NAME_SIZE=0 CONFIG_USART3_RXBUFSIZE=128 CONFIG_USART3_SERIAL_CONSOLE=y