Skip to content

Commit 9f562fb

Browse files
committed
samples: wifi: shell: Fix configuration with openthread overlay
This commit fixes configuration of Wi-Fi shell with OpenThread overlay by enabling proper network core image as well as optimizing the flash size to fit on nRF7002 DK. Signed-off-by: Łukasz Duda <[email protected]>
1 parent 668b465 commit 9f562fb

File tree

3 files changed

+10
-13
lines changed

3 files changed

+10
-13
lines changed

samples/wifi/shell/overlay-openthread.conf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ CONFIG_SHELL_ARGC_MAX=26
99
CONFIG_SHELL_CMD_BUFF_SIZE=416
1010

1111
# Enable OpenThread features set
12-
CONFIG_OPENTHREAD_NORDIC_LIBRARY_MASTER=y
13-
1412
CONFIG_NET_L2_OPENTHREAD=y
13+
CONFIG_OPENTHREAD_NORDIC_LIBRARY_FTD=y
14+
1515
# Openthread supports only IPv6 and is the first interface
1616
CONFIG_NET_CONFIG_MY_IPV4_ADDR=""
1717
CONFIG_NET_CONFIG_PEER_IPV4_ADDR=""
@@ -22,16 +22,16 @@ CONFIG_FPU=y
2222

2323
CONFIG_GPIO_SHELL=y
2424

25-
# Use printk to log messages
26-
CONFIG_LOG_MODE_MINIMAL=y
27-
2825
# Log only errors/hard faults
2926
CONFIG_LOG_MAX_LEVEL=1
3027

31-
3228
# Enable LTO to save flash memory
3329
CONFIG_LTO=y
3430
CONFIG_ISR_TABLES_LOCAL_DECLARATION=y
3531

3632
# Required by WIFI
3733
CONFIG_MBEDTLS_SHA1_C=y
34+
35+
# Disable extra logging and advanced features to fit in flash
36+
CONFIG_NRF70_LOG_VERBOSE=n
37+
CONFIG_WIFI_NM_WPA_SUPPLICANT_NO_DEBUG=y

samples/wifi/shell/sample.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,10 @@ tests:
221221
sample.nrf7002.shell.otbr:
222222
sysbuild: true
223223
build_only: true
224-
extra_args: EXTRA_CONF_FILE=overlay-openthread.conf
224+
extra_args:
225+
- EXTRA_CONF_FILE=overlay-openthread.conf
226+
- SB_CONFIG_NETCORE_IPC_RADIO=y
227+
- SB_CONFIG_NETCORE_IPC_RADIO_IEEE802154=y
225228
integration_platforms:
226229
- nrf7002dk/nrf5340/cpuapp
227230
platform_allow: nrf7002dk/nrf5340/cpuapp

scripts/quarantine.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@
66
- net.lib.wifi_credentials_backend_psa
77
comment: "Fix not known at time of upmerge, temporarily excluded to be fixed after upmerge"
88

9-
- scenarios:
10-
- sample.nrf7002.shell.otbr
11-
platforms:
12-
- nrf7002dk/nrf5340/cpuapp
13-
comment: https://nordicsemi.atlassian.net/browse/NCSDK-31155
14-
159
- platforms:
1610
- native_posix
1711
comment: "native_posix will be removed soon - native_sim platform is the default simulator now"

0 commit comments

Comments
 (0)