From 3abc0e218547ad13d3e8ec53e149dfc52c1572ca Mon Sep 17 00:00:00 2001 From: Robert Lubos Date: Mon, 7 Oct 2024 12:55:15 +0200 Subject: [PATCH] Revert "[nrf noup] samples: lwm2m_client: Add support for nRF91x and nRF700x" This reverts commit 13fd46728067397de41b63c28a68a24d807f900e. Wi-Fi support was added directly upstream. Signed-off-by: Robert Lubos --- samples/net/lwm2m_client/overlay-nrf700x.conf | 68 ------------------- samples/net/lwm2m_client/overlay-nrf91x.conf | 53 --------------- 2 files changed, 121 deletions(-) delete mode 100644 samples/net/lwm2m_client/overlay-nrf700x.conf delete mode 100644 samples/net/lwm2m_client/overlay-nrf91x.conf diff --git a/samples/net/lwm2m_client/overlay-nrf700x.conf b/samples/net/lwm2m_client/overlay-nrf700x.conf deleted file mode 100644 index 2409886fe42..00000000000 --- a/samples/net/lwm2m_client/overlay-nrf700x.conf +++ /dev/null @@ -1,68 +0,0 @@ -# General -CONFIG_MAIN_STACK_SIZE=4096 -CONFIG_ENTROPY_GENERATOR=y -CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096 - -# Wi-Fi -CONFIG_WIFI=y -CONFIG_WIFI_NRF700X=y -CONFIG_WIFI_MGMT_EXT=y -CONFIG_NRF_WIFI_IF_AUTO_START=n - -# Credentials -CONFIG_WIFI_CREDENTIALS=y -CONFIG_WIFI_CREDENTIALS_STATIC=y -CONFIG_WIFI_CREDENTIALS_STATIC_SSID="" -CONFIG_WIFI_CREDENTIALS_STATIC_PASSWORD="" - -# WPA -CONFIG_WPA_SUPP=y -CONFIG_WPA_SUPP_LOG_LEVEL_ERR=y - -CONFIG_NET_NATIVE=y -CONFIG_NET_L2_ETHERNET=y -CONFIG_NET_UDP=y -CONFIG_NET_SOCKETS=y -CONFIG_NET_SOCKETS_OFFLOAD=n -CONFIG_NET_BUF_RX_COUNT=18 -CONFIG_NET_BUF_TX_COUNT=18 -CONFIG_NET_DEFAULT_IF_WIFI=y - -# DNS -CONFIG_DNS_RESOLVER=y - -# DHCPv4 -CONFIG_NET_DHCPV4=y -CONFIG_NET_CONFIG_AUTO_INIT=n -CONFIG_NET_CONFIG_NEED_IPV6=n -CONFIG_NET_CONFIG_NEED_IPV4=n - -# Connection manager -CONFIG_NET_CONNECTION_MANAGER=y - -# Zephyr NET Connection Manager Connectivity layer. -CONFIG_L2_WIFI_CONNECTIVITY=y -CONFIG_L2_WIFI_CONNECTIVITY_AUTO_DOWN=n -CONFIG_L2_WIFI_CONNECTIVITY_AUTO_CONNECT=n - -CONFIG_LWM2M_APP_ID="nrf700x" -CONFIG_LWM2M_APP_SERVER="coaps://leshan.eclipseprojects.io:5684" -CONFIG_LWM2M_DNS_SUPPORT=y - -# Enable DTLS support -CONFIG_LWM2M_DTLS_SUPPORT=y -CONFIG_LWM2M_TLS_SESSION_CACHING=y - -# TLS networking -CONFIG_NET_SOCKETS_ENABLE_DTLS=y -CONFIG_NET_SOCKETS_TLS_MAX_CONTEXTS=4 -CONFIG_NET_SOCKETS_SOCKOPT_TLS=y - -# nRF Security -CONFIG_NRF_SECURITY=y - -# mbedTLS -CONFIG_MBEDTLS=y -CONFIG_MBEDTLS_ENABLE_HEAP=y -CONFIG_MBEDTLS_HEAP_SIZE=120000 -CONFIG_MBEDTLS_RSA_C=y diff --git a/samples/net/lwm2m_client/overlay-nrf91x.conf b/samples/net/lwm2m_client/overlay-nrf91x.conf deleted file mode 100644 index 9597791c10e..00000000000 --- a/samples/net/lwm2m_client/overlay-nrf91x.conf +++ /dev/null @@ -1,53 +0,0 @@ -# Configuration file for nRF91x -# This file is merged with prj.conf in the application folder, and options -# set here will take precedence if they are present in both files. - -# General -CONFIG_MAIN_STACK_SIZE=4096 - -CONFIG_NET_SOCKETS=y -CONFIG_NET_NATIVE=y -CONFIG_NET_SOCKETS_OFFLOAD=y - -CONFIG_NET_CONFIG_MY_IPV6_ADDR="" -CONFIG_NET_CONFIG_PEER_IPV6_ADDR="" -CONFIG_NET_CONFIG_MY_IPV4_ADDR="" -CONFIG_NET_CONFIG_MY_IPV4_GW="" - -CONFIG_NET_CONFIG_NEED_IPV6=n -CONFIG_NET_CONFIG_NEED_IPV4=n -CONFIG_NET_CONFIG_AUTO_INIT=n - -# Modem related configurations -CONFIG_NRF_MODEM_LIB_NET_IF=y -CONFIG_NRF_MODEM_LIB_NET_IF_AUTO_DOWN=n -CONFIG_NRF_MODEM_LIB_NET_IF_AUTO_CONNECT=n -CONFIG_NRF_MODEM_LIB_NET_IF_AUTO_START=n -CONFIG_NRF_MODEM_LIB_ON_FAULT_APPLICATION_SPECIFIC=y - -CONFIG_LTE_LINK_CONTROL_LOG_LEVEL_DBG=n -CONFIG_NRF_MODEM_LIB_NET_IF_LOG_LEVEL_DBG=n - -# Disable Duplicate Address Detection (DAD) -# due to not being properly implemented for offloaded interfaces. -CONFIG_NET_IPV6_NBR_CACHE=n -CONFIG_NET_IPV6_MLD=n - -# Zephyr NET Connection Manager and Connectivity layer. -CONFIG_NET_CONNECTION_MANAGER=y -CONFIG_NET_CONNECTION_MANAGER_MONITOR_STACK_SIZE=1024 - -CONFIG_LWM2M_APP_ID="nrf91x" -CONFIG_LWM2M_APP_SERVER="coaps://leshan.eclipseprojects.io:5684" -CONFIG_LWM2M_DNS_SUPPORT=y - -## Enable DTLS support -CONFIG_LWM2M_DTLS_SUPPORT=y -CONFIG_LWM2M_TLS_SESSION_CACHING=y -CONFIG_LWM2M_DTLS_CID=y -CONFIG_TLS_CREDENTIALS=y - -## Crypto -CONFIG_OBERON_BACKEND=y -CONFIG_NORDIC_SECURITY_BACKEND=y -CONFIG_MBEDTLS_SHA256_C=y