From 8c682fdb05e379a058a8a050fa68529f44dba86d Mon Sep 17 00:00:00 2001 From: Tommi Rantanen Date: Fri, 8 Nov 2024 09:31:13 +0200 Subject: [PATCH] samples: cellular: modem_shell: Remove iperf3 Kconfig warning Kconfig warning for NRF_IPERF3_RESULTS_WAIT_TIME appeared when CONFIG_MOSH_IPERF3 (and hence CONFIG_NRF_IPERF3) was disabled. Moving assignment of this Kconfig from prj.conf to Kconfig file. Jira: MOSH-613 Signed-off-by: Tommi Rantanen --- samples/cellular/modem_shell/Kconfig | 12 ++++++++++-- samples/cellular/modem_shell/prj.conf | 2 -- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/samples/cellular/modem_shell/Kconfig b/samples/cellular/modem_shell/Kconfig index 3da730728ae8..1dd2a61ce77e 100644 --- a/samples/cellular/modem_shell/Kconfig +++ b/samples/cellular/modem_shell/Kconfig @@ -4,8 +4,6 @@ # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause # -source "Kconfig.zephyr" - menu "Nordic Modem Shell config" config MOSH_IPERF3 @@ -130,6 +128,12 @@ config MOSH_COMMON_WORKQUEUE_PRIORITY int "Common workqueue priority" default 5 +if NRF_IPERF3 + +config NRF_IPERF3_RESULTS_WAIT_TIME + default 180 +endif + if MOSH_IPERF3 || MOSH_PING menu "MoSH iperf3 and ping command selections" @@ -239,3 +243,7 @@ config UART_1_NRF_ASYNC_LOW_POWER endif # UART_1_ASYNC endmenu # Modem Shell + +menu "Zephyr Kernel" +source "Kconfig.zephyr" +endmenu diff --git a/samples/cellular/modem_shell/prj.conf b/samples/cellular/modem_shell/prj.conf index fbd6bab1d0fa..e06619a11fde 100644 --- a/samples/cellular/modem_shell/prj.conf +++ b/samples/cellular/modem_shell/prj.conf @@ -6,8 +6,6 @@ # General config CONFIG_MOSH_IPERF3=y -CONFIG_NRF_IPERF3_RESULTS_WAIT_TIME=180 - CONFIG_MOSH_SOCK=y CONFIG_MOSH_PING=y CONFIG_MOSH_CURL=y