Skip to content

Commit 8c682fd

Browse files
committed
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 <[email protected]>
1 parent 7b49c65 commit 8c682fd

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

samples/cellular/modem_shell/Kconfig

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
55
#
66

7-
source "Kconfig.zephyr"
8-
97
menu "Nordic Modem Shell config"
108

119
config MOSH_IPERF3
@@ -130,6 +128,12 @@ config MOSH_COMMON_WORKQUEUE_PRIORITY
130128
int "Common workqueue priority"
131129
default 5
132130

131+
if NRF_IPERF3
132+
133+
config NRF_IPERF3_RESULTS_WAIT_TIME
134+
default 180
135+
endif
136+
133137
if MOSH_IPERF3 || MOSH_PING
134138
menu "MoSH iperf3 and ping command selections"
135139

@@ -239,3 +243,7 @@ config UART_1_NRF_ASYNC_LOW_POWER
239243
endif # UART_1_ASYNC
240244

241245
endmenu # Modem Shell
246+
247+
menu "Zephyr Kernel"
248+
source "Kconfig.zephyr"
249+
endmenu

samples/cellular/modem_shell/prj.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
# General config
77

88
CONFIG_MOSH_IPERF3=y
9-
CONFIG_NRF_IPERF3_RESULTS_WAIT_TIME=180
10-
119
CONFIG_MOSH_SOCK=y
1210
CONFIG_MOSH_PING=y
1311
CONFIG_MOSH_CURL=y

0 commit comments

Comments
 (0)