From 107787117c8f99fb8e682d4170207b0cb79d574e Mon Sep 17 00:00:00 2001 From: doru91 Date: Wed, 24 Nov 2021 19:27:26 +0200 Subject: [PATCH] [K32W0] Fix shell app (#12205) * enable OT/Matter defines required for DNS functionality Signed-off-by: Doru Gucea --- src/platform/nxp/k32w/k32w0/CHIPDevicePlatformConfig.h | 1 + third_party/k32w_sdk/nxp/k32w/k32w0/k32w0_sdk.gni | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/platform/nxp/k32w/k32w0/CHIPDevicePlatformConfig.h b/src/platform/nxp/k32w/k32w0/CHIPDevicePlatformConfig.h index 41e467d61a0d43..7b3b2666d3c194 100644 --- a/src/platform/nxp/k32w/k32w0/CHIPDevicePlatformConfig.h +++ b/src/platform/nxp/k32w/k32w0/CHIPDevicePlatformConfig.h @@ -101,6 +101,7 @@ #define CHIP_DEVICE_CONFIG_ENABLE_THREAD 1 #define CHIP_DEVICE_CONFIG_ENABLE_DNSSD 1 #define CHIP_DEVICE_CONFIG_ENABLE_THREAD_SRP_CLIENT 1 +#define CHIP_DEVICE_CONFIG_ENABLE_THREAD_DNS_CLIENT 1 #define CHIP_DEVICE_CONFIG_ENABLE_EXTENDED_DISCOVERY 1 #define CHIP_DEVICE_CONFIG_ENABLE_COMMISSIONABLE_DISCOVERY 1 #endif diff --git a/third_party/k32w_sdk/nxp/k32w/k32w0/k32w0_sdk.gni b/third_party/k32w_sdk/nxp/k32w/k32w0/k32w0_sdk.gni index b1e8193998a518..b1ecebc4efd75e 100644 --- a/third_party/k32w_sdk/nxp/k32w/k32w0/k32w0_sdk.gni +++ b/third_party/k32w_sdk/nxp/k32w/k32w0/k32w0_sdk.gni @@ -175,6 +175,8 @@ template("k32w0_sdk") { defines += [ "OPENTHREAD_CONFIG_SRP_CLIENT_ENABLE=1", "OPENTHREAD_CONFIG_ECDSA_ENABLE=1", + "OPENTHREAD_CONFIG_DNS_CLIENT_SERVICE_DISCOVERY_ENABLE=1", + "OPENTHREAD_CONFIG_DNS_CLIENT_ENABLE=1", ] }