From 2795f7305a2b317be1786250cab72403b8f39ad2 Mon Sep 17 00:00:00 2001 From: Marcin Kajor Date: Thu, 7 Mar 2024 11:44:35 +0100 Subject: [PATCH] [nrf noup] [nrfconnect] Disable Zephyr socket extensions The recvmsg() is now implemented natively in Zephyr, so we are not supposed to define a custom one. Signed-off-by: Marcin Kajor --- src/platform/nrfconnect/SystemPlatformConfig.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/platform/nrfconnect/SystemPlatformConfig.h b/src/platform/nrfconnect/SystemPlatformConfig.h index ce0df4d5f6..64ceccddaa 100644 --- a/src/platform/nrfconnect/SystemPlatformConfig.h +++ b/src/platform/nrfconnect/SystemPlatformConfig.h @@ -52,3 +52,6 @@ struct ChipDeviceEvent; #endif // ========== Platform-specific Configuration Overrides ========= + +// Disable Zephyr Socket extensions module, as the Zephyr RTOS now implements recvmsg() +#define CHIP_SYSTEM_CONFIG_USE_ZEPHYR_SOCKET_EXTENSIONS 0