From 68cd87a30c015382641a1bb137a7ff594d8d1842 Mon Sep 17 00:00:00 2001 From: mkardous-silabs <84793247+mkardous-silabs@users.noreply.github.com> Date: Wed, 14 Jun 2023 14:26:36 -0400 Subject: [PATCH] enable peristent subs by default (#27222) --- examples/platform/silabs/efr32/BUILD.gn | 3 --- src/platform/device.gni | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/platform/silabs/efr32/BUILD.gn b/examples/platform/silabs/efr32/BUILD.gn index 34f4f503008618..5a7e50056e8a86 100644 --- a/examples/platform/silabs/efr32/BUILD.gn +++ b/examples/platform/silabs/efr32/BUILD.gn @@ -43,9 +43,6 @@ declare_args() { chip_config_use_icd_subscription_callbacks = enable_sleepy_device } -# Use persitent subscriptions for IC devices -chip_persist_subscriptions = enable_sleepy_device - silabs_common_plat_dir = "${chip_root}/examples/platform/silabs" import("${silabs_common_plat_dir}/args.gni") diff --git a/src/platform/device.gni b/src/platform/device.gni index 43bf65ab03b72f..b22e30930978e3 100644 --- a/src/platform/device.gni +++ b/src/platform/device.gni @@ -103,7 +103,8 @@ declare_args() { # Enable Subscription persistence / resumption for CI and supported platforms if (chip_device_platform == "darwin" || chip_device_platform == "linux" || - chip_device_platform == "esp32" || chip_device_platform == "fake") { + chip_device_platform == "esp32" || chip_device_platform == "fake" || + chip_device_platform == "efr32" || chip_device_platform == "SiWx917") { chip_persist_subscriptions = true } else { chip_persist_subscriptions = false