diff --git a/applications/asset_tracker_v2/Kconfig.sysbuild b/applications/asset_tracker_v2/Kconfig.sysbuild index 39426561f59b..f508fa5de026 100644 --- a/applications/asset_tracker_v2/Kconfig.sysbuild +++ b/applications/asset_tracker_v2/Kconfig.sysbuild @@ -16,6 +16,9 @@ config SECURE_BOOT_APPCORE config WIFI_NRF70 default y if BOARD_THINGY91X_NRF9151_NS +config WIFI_NRF70_SCAN_ONLY + default y if BOARD_THINGY91X_NRF9151_NS + config PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY default y if BOARD_NRF9151DK_NRF9151_NS || BOARD_NRF9161DK_NRF9161_NS default y if BOARD_NRF9160DK_NRF9160_NS \ diff --git a/samples/debug/memfault/Kconfig.sysbuild b/samples/debug/memfault/Kconfig.sysbuild new file mode 100644 index 000000000000..4517d14bd62a --- /dev/null +++ b/samples/debug/memfault/Kconfig.sysbuild @@ -0,0 +1,10 @@ +# +# Copyright (c) 2024 Nordic Semiconductor +# +# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause +# + +config WIFI_NRF70 + default y if BOARD_NRF7002DK_NRF5340_CPUAPP + +source "${ZEPHYR_BASE}/share/sysbuild/Kconfig" diff --git a/samples/debug/memfault/boards/nrf7002dk_nrf5340_cpuapp.conf b/samples/debug/memfault/boards/nrf7002dk_nrf5340_cpuapp.conf index 24269e040bcf..0ac559d28855 100644 --- a/samples/debug/memfault/boards/nrf7002dk_nrf5340_cpuapp.conf +++ b/samples/debug/memfault/boards/nrf7002dk_nrf5340_cpuapp.conf @@ -6,35 +6,38 @@ # General CONFIG_POSIX_CLOCK=y -CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096 -CONFIG_HEAP_MEM_POOL_SIZE=153600 CONFIG_HW_STACK_PROTECTION=y CONFIG_HW_ID_LIBRARY=y CONFIG_HW_ID_LIBRARY_SOURCE_NET_MAC=y # Heap and stacks -CONFIG_HEAP_MEM_POOL_SIZE=8192 +CONFIG_HEAP_MEM_POOL_SIZE=153600 +CONFIG_HEAP_MEM_POOL_IGNORE_MIN=y +CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096 CONFIG_MAIN_STACK_SIZE=8192 -CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048 CONFIG_NET_TX_STACK_SIZE=4096 CONFIG_NET_RX_STACK_SIZE=4096 +CONFIG_NET_CONNECTION_MANAGER_MONITOR_STACK_SIZE=4096 -# Network -CONFIG_NET_SOCKETS=y +# Network and NET sockets CONFIG_NET_L2_ETHERNET=y CONFIG_NET_TCP=y CONFIG_NET_UDP=y -CONFIG_NET_SOCKETS_OFFLOAD=n CONFIG_NET_DHCPV4=y +CONFIG_NET_SOCKETS_OFFLOAD=n CONFIG_NET_CONTEXT_SNDTIMEO=y +CONFIG_NET_CONTEXT_SYNC_RECV=y +CONFIG_NET_SOCKETS_ENABLE_DTLS=n CONFIG_NET_SOCKETS_SOCKOPT_TLS=y +CONFIG_NET_SOCKETS=y +CONFIG_NET_SOCKETS_POLL_MAX=20 CONFIG_NET_STATISTICS=y CONFIG_NET_STATISTICS_WIFI=y CONFIG_NET_STATISTICS_USER_API=y CONFIG_NET_PKT_RX_COUNT=8 CONFIG_NET_PKT_TX_COUNT=8 CONFIG_NET_MAX_CONTEXTS=5 -CONFIG_NET_CONTEXT_SYNC_RECV=y +CONFIG_ZVFS_OPEN_MAX=25 # DNS CONFIG_DNS_RESOLVER=y @@ -44,19 +47,18 @@ CONFIG_NET_SOCKETS_DNS_TIMEOUT=30000 # design in net_mgmt. So, use a typical number of networks in a crowded # environment as the queue depth. CONFIG_NET_MGMT_EVENT_QUEUE_SIZE=150 +CONFIG_NET_MGMT_EVENT_STACK_SIZE=4096 # Below section is the primary contributor to SRAM and is currently # not optimized for size. CONFIG_NET_BUF_RX_COUNT=16 CONFIG_NET_BUF_TX_COUNT=64 CONFIG_NET_BUF_DATA_SIZE=128 -CONFIG_HEAP_MEM_POOL_SIZE=153600 CONFIG_NET_TC_TX_COUNT=1 # Wi-Fi CONFIG_WIFI=y CONFIG_WIFI_NRF70=y -CONFIG_WIFI_NRF70_LOG_LEVEL_ERR=y CONFIG_WIFI_MGMT_EXT=y CONFIG_NET_L2_WIFI_SHELL=y CONFIG_NET_SHELL=y @@ -75,18 +77,15 @@ CONFIG_NVS=y CONFIG_SETTINGS=y CONFIG_SETTINGS_NVS=y -# Native network stack +# mbedTLS CONFIG_NRF_SECURITY=y CONFIG_MBEDTLS=y CONFIG_MBEDTLS_ENABLE_HEAP=y -CONFIG_MBEDTLS_HEAP_SIZE=120000 +CONFIG_MBEDTLS_HEAP_SIZE=81920 CONFIG_MBEDTLS_RSA_C=y +CONFIG_MBEDTLS_TLS_LIBRARY=y CONFIG_MBEDTLS_SSL_SERVER_NAME_INDICATION=y - -# PSA -CONFIG_PSA_CRYPTO_DRIVER_CC3XX=n -CONFIG_PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY=y -CONFIG_PSA_WANT_RSA_KEY_SIZE_2048=y +CONFIG_MBEDTLS_X509_CRT_PARSE_C=y # Certificate management CONFIG_MEMFAULT_ROOT_CERT_STORAGE_TLS_CREDENTIAL_STORAGE=y @@ -101,5 +100,3 @@ CONFIG_PM_SINGLE_IMAGE=y CONFIG_L2_WIFI_CONNECTIVITY=y CONFIG_L2_WIFI_CONNECTIVITY_AUTO_CONNECT=n CONFIG_L2_WIFI_CONNECTIVITY_AUTO_DOWN=n - -CONFIG_NET_CONNECTION_MANAGER_MONITOR_STACK_SIZE=4096 diff --git a/samples/debug/memfault/prj.conf b/samples/debug/memfault/prj.conf index 3e25a4f3100d..4263167372f0 100644 --- a/samples/debug/memfault/prj.conf +++ b/samples/debug/memfault/prj.conf @@ -6,6 +6,7 @@ # General config CONFIG_FPU=y +CONFIG_ASSERT=y # Logging CONFIG_LOG=y diff --git a/samples/debug/memfault/sample.yaml b/samples/debug/memfault/sample.yaml index d44e1f7aee36..fe753b43a980 100644 --- a/samples/debug/memfault/sample.yaml +++ b/samples/debug/memfault/sample.yaml @@ -11,6 +11,7 @@ tests: - nrf9161dk/nrf9161/ns - nrf9151dk/nrf9151/ns - thingy91/nrf9160/ns + - thingy91x/nrf9151/ns - nrf7002dk/nrf5340/cpuapp platform_allow: - nrf9160dk/nrf9160/ns @@ -32,10 +33,12 @@ tests: - nrf9151dk/nrf9151/ns - thingy91/nrf9160/ns - thingy91x/nrf9151/ns + - nrf7002dk/nrf5340/cpuapp platform_allow: - nrf9160dk/nrf9160/ns - nrf9161dk/nrf9161/ns - nrf9151dk/nrf9151/ns - thingy91/nrf9160/ns - thingy91x/nrf9151/ns + - nrf7002dk/nrf5340/cpuapp tags: ci_build sysbuild ci_samples_debug diff --git a/samples/net/aws_iot/boards/nrf7002dk_nrf5340_cpuapp_ns.conf b/samples/net/aws_iot/boards/nrf7002dk_nrf5340_cpuapp_ns.conf index efa830f60a6c..5739a8ac6f8b 100644 --- a/samples/net/aws_iot/boards/nrf7002dk_nrf5340_cpuapp_ns.conf +++ b/samples/net/aws_iot/boards/nrf7002dk_nrf5340_cpuapp_ns.conf @@ -11,11 +11,12 @@ # General CONFIG_POSIX_CLOCK=y CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096 -CONFIG_HEAP_MEM_POOL_SIZE=81920 -CONFIG_LOG_MODE_IMMEDIATE=y +CONFIG_HEAP_MEM_POOL_SIZE=120000 +CONFIG_HEAP_MEM_POOL_IGNORE_MIN=y CONFIG_HW_STACK_PROTECTION=y CONFIG_HW_ID_LIBRARY_SOURCE_NET_MAC=y CONFIG_ZVFS_OPEN_MAX=25 +CONFIG_MAIN_STACK_SIZE=6144 # Optimize Wi-Fi stack to save some memory CONFIG_NRF70_RX_NUM_BUFS=16 diff --git a/samples/net/aws_iot/sample.yaml b/samples/net/aws_iot/sample.yaml index bff98553c810..93bca0078320 100644 --- a/samples/net/aws_iot/sample.yaml +++ b/samples/net/aws_iot/sample.yaml @@ -11,6 +11,8 @@ tests: - nrf9161dk/nrf9161/ns - nrf9151dk/nrf9151/ns - thingy91/nrf9160/ns + - thingy91x/nrf9151/ns + - nrf7002dk/nrf5340/cpuapp/ns - native_sim platform_allow: - nrf9160dk/nrf9160/ns @@ -18,4 +20,5 @@ tests: - nrf9151dk/nrf9151/ns - thingy91/nrf9160/ns - thingy91x/nrf9151/ns + - nrf7002dk/nrf5340/cpuapp/ns - native_sim diff --git a/samples/net/azure_iot_hub/boards/nrf7002dk_nrf5340_cpuapp_ns.conf b/samples/net/azure_iot_hub/boards/nrf7002dk_nrf5340_cpuapp_ns.conf index 82396c1d11ba..68dc74ed2614 100644 --- a/samples/net/azure_iot_hub/boards/nrf7002dk_nrf5340_cpuapp_ns.conf +++ b/samples/net/azure_iot_hub/boards/nrf7002dk_nrf5340_cpuapp_ns.conf @@ -12,9 +12,10 @@ CONFIG_DK_LIBRARY=y CONFIG_ZVFS_OPEN_MAX=25 # Heap and stacks -CONFIG_MAIN_STACK_SIZE=4096 +CONFIG_MAIN_STACK_SIZE=6144 CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096 -CONFIG_HEAP_MEM_POOL_SIZE=81920 +CONFIG_HEAP_MEM_POOL_SIZE=120000 +CONFIG_HEAP_MEM_POOL_IGNORE_MIN=y CONFIG_NET_RX_STACK_SIZE=2048 # Optimize Wi-Fi stack to save some memory diff --git a/samples/net/azure_iot_hub/prj.conf b/samples/net/azure_iot_hub/prj.conf index d3e70e89a2e6..db3dbaabfecf 100644 --- a/samples/net/azure_iot_hub/prj.conf +++ b/samples/net/azure_iot_hub/prj.conf @@ -6,6 +6,7 @@ # General config CONFIG_REBOOT=y +CONFIG_ASSERT=y # Logging CONFIG_LOG=y diff --git a/samples/net/azure_iot_hub/sample.yaml b/samples/net/azure_iot_hub/sample.yaml index 27955163bc9e..f42394ee5891 100644 --- a/samples/net/azure_iot_hub/sample.yaml +++ b/samples/net/azure_iot_hub/sample.yaml @@ -8,11 +8,13 @@ tests: - nrf9160dk/nrf9160/ns - nrf9161dk/nrf9161/ns - nrf9151dk/nrf9151/ns + - nrf7002dk/nrf5340/cpuapp/ns - native_sim platform_allow: - nrf9160dk/nrf9160/ns - nrf9161dk/nrf9161/ns - nrf9151dk/nrf9151/ns + - nrf7002dk/nrf5340/cpuapp/ns - native_sim tags: ci_build sysbuild ci_samples_net sample.net.azure_iot_hub.dps: @@ -22,10 +24,12 @@ tests: - nrf9160dk/nrf9160/ns - nrf9161dk/nrf9161/ns - nrf9151dk/nrf9151/ns + - nrf7002dk/nrf5340/cpuapp/ns platform_allow: - nrf9160dk/nrf9160/ns - nrf9161dk/nrf9161/ns - nrf9151dk/nrf9151/ns + - nrf7002dk/nrf5340/cpuapp/ns extra_args: OVERLAY_CONFIG=overlay-dps.conf extra_configs: - CONFIG_AZURE_IOT_HUB_DPS_ID_SCOPE="test-scope" diff --git a/samples/net/coap_client/boards/nrf7002dk_nrf5340_cpuapp_ns.conf b/samples/net/coap_client/boards/nrf7002dk_nrf5340_cpuapp_ns.conf index 38676b40e7f4..13a147d44647 100644 --- a/samples/net/coap_client/boards/nrf7002dk_nrf5340_cpuapp_ns.conf +++ b/samples/net/coap_client/boards/nrf7002dk_nrf5340_cpuapp_ns.conf @@ -12,6 +12,9 @@ CONFIG_POSIX_CLOCK=y CONFIG_LOG_BUFFER_SIZE=4096 CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096 +CONFIG_MAIN_STACK_SIZE=6144 +CONFIG_HEAP_MEM_POOL_SIZE=120000 +CONFIG_HEAP_MEM_POOL_IGNORE_MIN=y # Optimize TF-M CONFIG_TFM_PROFILE_TYPE_SMALL=y @@ -41,7 +44,6 @@ CONFIG_SHELL_STACK_SIZE=6144 # WPA CONFIG_WIFI_NM_WPA_SUPPLICANT=y -CONFIG_MBEDTLS_HEAP_SIZE=16384 # NET sockets CONFIG_NET_L2_ETHERNET=y diff --git a/samples/net/coap_client/sample.yaml b/samples/net/coap_client/sample.yaml index b1e7676207f6..884ba64afcab 100644 --- a/samples/net/coap_client/sample.yaml +++ b/samples/net/coap_client/sample.yaml @@ -10,11 +10,13 @@ tests: - nrf9161dk/nrf9161/ns - nrf9151dk/nrf9151/ns - thingy91/nrf9160/ns + - nrf7002dk/nrf5340/cpuapp/ns - native_sim platform_allow: - nrf9160dk/nrf9160/ns - nrf9161dk/nrf9161/ns - nrf9151dk/nrf9151/ns - thingy91/nrf9160/ns + - nrf7002dk/nrf5340/cpuapp/ns - native_sim tags: ci_build sysbuild ci_samples_net diff --git a/samples/net/download/boards/nrf7002dk_nrf5340_cpuapp_ns.conf b/samples/net/download/boards/nrf7002dk_nrf5340_cpuapp_ns.conf index 2e83d7217f7c..0b588e594f65 100644 --- a/samples/net/download/boards/nrf7002dk_nrf5340_cpuapp_ns.conf +++ b/samples/net/download/boards/nrf7002dk_nrf5340_cpuapp_ns.conf @@ -5,12 +5,13 @@ # # General +CONFIG_LOG=y +CONFIG_LOG_MODE_IMMEDIATE=y CONFIG_POSIX_CLOCK=y CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096 -CONFIG_LOG_BUFFER_SIZE=3072 -CONFIG_HEAP_MEM_POOL_SIZE=81920 -CONFIG_MAIN_STACK_SIZE=4096 -CONFIG_LOG=y +CONFIG_HEAP_MEM_POOL_SIZE=120000 +CONFIG_HEAP_MEM_POOL_IGNORE_MIN=y +CONFIG_MAIN_STACK_SIZE=6144 # Optimize Wi-Fi stack to save some memory CONFIG_NRF70_RX_NUM_BUFS=16 diff --git a/samples/net/download/sample.yaml b/samples/net/download/sample.yaml index 5e3e400bbb18..4d5c1479d9e7 100644 --- a/samples/net/download/sample.yaml +++ b/samples/net/download/sample.yaml @@ -6,9 +6,11 @@ tests: build_only: true integration_platforms: - nrf9161dk/nrf9161/ns + - nrf7002dk/nrf5340/cpuapp/ns - native_sim platform_allow: - nrf9161dk/nrf9161/ns + - nrf7002dk/nrf5340/cpuapp/ns - native_sim tags: ci_build sysbuild ci_samples_net sample.net.download_client.ci: @@ -23,8 +25,10 @@ tests: - nrf9160dk/nrf9160/ns - nrf9161dk/nrf9161/ns - nrf9151dk/nrf9151/ns + - nrf7002dk/nrf5340/cpuapp/ns platform_allow: - nrf9160dk/nrf9160/ns - nrf9161dk/nrf9161/ns - nrf9151dk/nrf9151/ns + - nrf7002dk/nrf5340/cpuapp/ns tags: ci_build sysbuild ci_samples_net diff --git a/samples/net/http_server/boards/nrf7002dk_nrf5340_cpuapp_ns.conf b/samples/net/http_server/boards/nrf7002dk_nrf5340_cpuapp_ns.conf index 6188099bacde..289d624ccf7c 100644 --- a/samples/net/http_server/boards/nrf7002dk_nrf5340_cpuapp_ns.conf +++ b/samples/net/http_server/boards/nrf7002dk_nrf5340_cpuapp_ns.conf @@ -10,7 +10,8 @@ CONFIG_PM_PARTITION_SIZE_TFM_SRAM=0xc000 CONFIG_PM_PARTITION_SIZE_TFM=0x20000 # Optimize Wi-Fi stack to save some memory -CONFIG_HEAP_MEM_POOL_SIZE=81920 +CONFIG_HEAP_MEM_POOL_SIZE=120000 +CONFIG_HEAP_MEM_POOL_IGNORE_MIN=y CONFIG_NRF70_RX_NUM_BUFS=16 CONFIG_NRF70_MAX_TX_AGGREGATION=4 @@ -36,10 +37,10 @@ CONFIG_POSIX_UNAME=n CONFIG_L2_WIFI_CONNECTIVITY=y CONFIG_L2_WIFI_CONNECTIVITY_AUTO_CONNECT=n CONFIG_L2_WIFI_CONNECTIVITY_AUTO_DOWN=n +CONFIG_MAIN_STACK_SIZE=6144 # mbedTLS and sockets CONFIG_ZVFS_OPEN_MAX=25 -CONFIG_MBEDTLS_HEAP_SIZE=16384 # DHCPv4 CONFIG_NET_DHCPV4=y diff --git a/samples/net/http_server/sample.yaml b/samples/net/http_server/sample.yaml index 039c254b97d0..f9eda281f0c8 100644 --- a/samples/net/http_server/sample.yaml +++ b/samples/net/http_server/sample.yaml @@ -4,11 +4,15 @@ tests: sample.net.http_server.wifi: sysbuild: true build_only: true + integration_platforms: + - nrf7002dk/nrf5340/cpuapp/ns platform_allow: nrf7002dk/nrf5340/cpuapp/ns tags: ci_build sysbuild ci_samples_net sample.net.http_server.wifi.tls: sysbuild: true build_only: true + integration_platforms: + - nrf7002dk/nrf5340/cpuapp/ns platform_allow: nrf7002dk/nrf5340/cpuapp/ns extra_args: OVERLAY_CONFIG=overlay-tls-nrf7002dk.conf tags: ci_build sysbuild ci_samples_net diff --git a/samples/net/https_client/boards/nrf7002dk_nrf5340_cpuapp_ns.conf b/samples/net/https_client/boards/nrf7002dk_nrf5340_cpuapp_ns.conf index bf7a8ddb35c3..9eb362cb1681 100644 --- a/samples/net/https_client/boards/nrf7002dk_nrf5340_cpuapp_ns.conf +++ b/samples/net/https_client/boards/nrf7002dk_nrf5340_cpuapp_ns.conf @@ -7,8 +7,10 @@ # General CONFIG_POSIX_CLOCK=y CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096 -CONFIG_HEAP_MEM_POOL_SIZE=81920 +CONFIG_HEAP_MEM_POOL_SIZE=120000 +CONFIG_HEAP_MEM_POOL_IGNORE_MIN=y CONFIG_NET_RX_STACK_SIZE=2048 +CONFIG_MAIN_STACK_SIZE=6144 # Optimize Wi-Fi stack to save some memory CONFIG_NRF70_RX_NUM_BUFS=16 diff --git a/samples/net/https_client/sample.yaml b/samples/net/https_client/sample.yaml index f13e59210532..087335040fa1 100644 --- a/samples/net/https_client/sample.yaml +++ b/samples/net/https_client/sample.yaml @@ -8,11 +8,13 @@ tests: - nrf9160dk/nrf9160/ns - nrf9161dk/nrf9161/ns - nrf9151dk/nrf9151/ns + - nrf7002dk/nrf5340/cpuapp/ns - native_sim platform_allow: - nrf9160dk/nrf9160/ns - nrf9161dk/nrf9161/ns - nrf9151dk/nrf9151/ns + - nrf7002dk/nrf5340/cpuapp/ns - native_sim tags: ci_build sysbuild ci_samples_net sample.net.https_client.lte.tfm-mbedtls: diff --git a/samples/net/mqtt/boards/nrf7002dk_nrf5340_cpuapp_ns.conf b/samples/net/mqtt/boards/nrf7002dk_nrf5340_cpuapp_ns.conf index 7bdc5993e58a..e826936d5160 100644 --- a/samples/net/mqtt/boards/nrf7002dk_nrf5340_cpuapp_ns.conf +++ b/samples/net/mqtt/boards/nrf7002dk_nrf5340_cpuapp_ns.conf @@ -11,12 +11,14 @@ # General CONFIG_POSIX_CLOCK=y CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096 -CONFIG_MAIN_STACK_SIZE=2048 +CONFIG_MAIN_STACK_SIZE=4096 CONFIG_LOG_BUFFER_SIZE=3072 -CONFIG_HEAP_MEM_POOL_SIZE=81920 +CONFIG_HEAP_MEM_POOL_SIZE=115000 +CONFIG_HEAP_MEM_POOL_IGNORE_MIN=y CONFIG_HW_STACK_PROTECTION=y CONFIG_HW_ID_LIBRARY_SOURCE_NET_MAC=y CONFIG_DK_LIBRARY=y +CONFIG_MQTT_SAMPLE_NETWORK_THREAD_STACK_SIZE=6144 # Optimize Wi-Fi stack to save some memory CONFIG_NRF70_RX_NUM_BUFS=16 @@ -41,7 +43,6 @@ CONFIG_L2_WIFI_CONNECTIVITY_AUTO_DOWN=n # WPA CONFIG_WIFI_NM_WPA_SUPPLICANT=y CONFIG_WIFI_NM_WPA_SUPPLICANT_LOG_LEVEL_ERR=y -CONFIG_MBEDTLS_HEAP_SIZE=16384 # NET sockets CONFIG_NET_L2_ETHERNET=y diff --git a/samples/net/mqtt/overlay-tls-nrf70.conf b/samples/net/mqtt/overlay-tls-nrf70.conf index 448f52a917b3..cf71b6084289 100644 --- a/samples/net/mqtt/overlay-tls-nrf70.conf +++ b/samples/net/mqtt/overlay-tls-nrf70.conf @@ -29,7 +29,3 @@ CONFIG_NET_SOCKETS_SOCKOPT_TLS=y # TLS credentials CONFIG_TLS_CREDENTIALS_BACKEND_PROTECTED_STORAGE=y - -# Temporarily disable Wi-Fi conn_mgr integration; -# Memory allocations required for it will be adjusted in a later commit -CONFIG_L2_WIFI_CONNECTIVITY=n diff --git a/samples/net/mqtt/sample.yaml b/samples/net/mqtt/sample.yaml index 57cb5354c19f..d844f223139e 100644 --- a/samples/net/mqtt/sample.yaml +++ b/samples/net/mqtt/sample.yaml @@ -11,18 +11,23 @@ tests: - nrf9151dk/nrf9151/ns - thingy91/nrf9160/ns - thingy91x/nrf9151/ns + - nrf7002dk/nrf5340/cpuapp/ns + - native_sim platform_allow: - nrf9160dk/nrf9160/ns - nrf9161dk/nrf9161/ns - nrf9151dk/nrf9151/ns - thingy91/nrf9160/ns - thingy91x/nrf9151/ns + - nrf7002dk/nrf5340/cpuapp/ns - native_sim tags: ci_build sysbuild ci_samples_net sample.net.mqtt.nrf70.tls: sysbuild: true build_only: true build_on_all: true + integration_platforms: + - nrf7002dk/nrf5340/cpuapp/ns platform_allow: nrf7002dk/nrf5340/cpuapp/ns tags: ci_build sysbuild ci_samples_net extra_args: EXTRA_CONF_FILE=overlay-tls-nrf70.conf @@ -35,11 +40,13 @@ tests: - nrf9161dk/nrf9161/ns - nrf9151dk/nrf9151/ns - thingy91/nrf9160/ns + - thingy91x/nrf9151/ns platform_allow: - nrf9160dk/nrf9160/ns - nrf9161dk/nrf9161/ns - nrf9151dk/nrf9151/ns - thingy91/nrf9160/ns + - thingy91x/nrf9151/ns tags: ci_build sysbuild ci_samples_net extra_args: EXTRA_CONF_FILE=overlay-tls-nrf91.conf sample.net.mqtt.native_sim.tls: diff --git a/samples/net/udp/boards/nrf7002dk_nrf5340_cpuapp_ns.conf b/samples/net/udp/boards/nrf7002dk_nrf5340_cpuapp_ns.conf index b2ce9a977de0..a74c6f1af18a 100644 --- a/samples/net/udp/boards/nrf7002dk_nrf5340_cpuapp_ns.conf +++ b/samples/net/udp/boards/nrf7002dk_nrf5340_cpuapp_ns.conf @@ -6,7 +6,9 @@ # General CONFIG_POSIX_CLOCK=y -CONFIG_HEAP_MEM_POOL_SIZE=81920 +CONFIG_HEAP_MEM_POOL_SIZE=120000 +CONFIG_HEAP_MEM_POOL_IGNORE_MIN=y +CONFIG_MAIN_STACK_SIZE=6144 # Wi-Fi CONFIG_WIFI=y @@ -24,7 +26,6 @@ CONFIG_SHELL_STACK_SIZE=6144 # WPA CONFIG_WIFI_NM_WPA_SUPPLICANT=y -CONFIG_MBEDTLS_HEAP_SIZE=16384 # NET sockets CONFIG_NET_L2_ETHERNET=y diff --git a/samples/net/udp/sample.yaml b/samples/net/udp/sample.yaml index b423ce2bd39a..57d74fefa040 100644 --- a/samples/net/udp/sample.yaml +++ b/samples/net/udp/sample.yaml @@ -9,11 +9,13 @@ tests: - nrf9161dk/nrf9161/ns - nrf9151dk/nrf9151/ns - thingy91/nrf9160/ns + - nrf7002dk/nrf5340/cpuapp/ns platform_allow: - nrf9160dk/nrf9160/ns - nrf9161dk/nrf9161/ns - nrf9151dk/nrf9151/ns - thingy91/nrf9160/ns + - nrf7002dk/nrf5340/cpuapp/ns tags: ci_build sysbuild ci_samples_net sample.net.udp.emulation: sysbuild: true diff --git a/samples/wifi/provisioning/softap/prj.conf b/samples/wifi/provisioning/softap/prj.conf index 1d2b4212cea6..694e0a8e87aa 100644 --- a/samples/wifi/provisioning/softap/prj.conf +++ b/samples/wifi/provisioning/softap/prj.conf @@ -10,7 +10,7 @@ CONFIG_PM_PARTITION_SIZE_TFM_SRAM=0xa000 CONFIG_PM_PARTITION_SIZE_TFM=0x20000 # Optimize Wi-Fi stack to save some memory. -CONFIG_HEAP_MEM_POOL_SIZE=81920 +CONFIG_HEAP_MEM_POOL_SIZE=120000 CONFIG_HEAP_MEM_POOL_IGNORE_MIN=y CONFIG_NRF70_RX_NUM_BUFS=16 CONFIG_NRF70_MAX_TX_AGGREGATION=4 @@ -88,10 +88,6 @@ CONFIG_POSIX_UNAME=n CONFIG_NET_DHCPV4=y CONFIG_NET_DHCPV4_SERVER=y -# MBed TLS heap size, required by WPA supplicant and MBed TLS. -CONFIG_MBEDTLS_HEAP_SIZE=81920 -CONFIG_MBEDTLS_RSA_C=y - # Store TLS credentials to protected storage. CONFIG_TLS_CREDENTIALS=y CONFIG_TLS_CREDENTIALS_BACKEND_PROTECTED_STORAGE=y diff --git a/samples/wifi/scan/sample.yaml b/samples/wifi/scan/sample.yaml index a1c78c66cae2..1efbe5dcf16a 100644 --- a/samples/wifi/scan/sample.yaml +++ b/samples/wifi/scan/sample.yaml @@ -41,8 +41,10 @@ tests: sample.thingy91x_nrf7000.scan: sysbuild: true build_only: true + integration_platforms: + - thingy91x/nrf9151/ns platform_allow: thingy91x/nrf9151/ns - extra_args: SHIELD=nrf7002ek_nrf7000 + extra_args: SHIELD=nrf7002ek_nrf7000 SB_CONFIG_WIFI_NRF70=y SB_CONFIG_WIFI_NRF70_SCAN_ONLY=y tags: ci_build sysbuild ci_samples_wifi sample.nrf7002eb_interposer_p1.nrf7002eb.scan: sysbuild: true diff --git a/scripts/quarantine.yaml b/scripts/quarantine.yaml index 16a1a7171117..027b88805b2a 100644 --- a/scripts/quarantine.yaml +++ b/scripts/quarantine.yaml @@ -14,7 +14,6 @@ - ".*nrf7002eb.*" - ".*nrf7002_eb.*" - ".thingy91x_nrf700.*" - - ".thingy91x_wifi.*" - applications.matter_bridge.lto.br_ble.nrf54h20.wifi - applications.matter_bridge.release.br_ble.nrf54h20.wifi comment: "nRF7002EB, Thingy91x are not support in the upstream nRF70 driver yet"