Skip to content

Commit 95748d5

Browse files
[Silabs] Fix unit test builds following cherry-pick update merge (project-chip#41598)
* [Silabs] Fix unit test builds following cherry-pick update merge * Fix incorrect define
1 parent 1698e35 commit 95748d5

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

examples/platform/silabs/wifi/wfx_notify.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ void wfx_retry_connection(uint16_t retryAttempt)
219219
return;
220220
}
221221
#if CHIP_CONFIG_ENABLE_ICD_SERVER && SLI_SI91X_MCU_INTERFACE
222-
wfx_rsi_power_save(RSI_SLEEP_MODE_8, STANDBY_POWER_SAVE_WITH_RAM_RETENTION);
222+
wfx_rsi_power_save(RSI_SLEEP_MODE_8, ASSOCIATED_POWER_SAVE);
223223
#endif // CHIP_CONFIG_ENABLE_ICD_SERVER && SLI_SI91X_MCU_INTERFACE
224224
ChipLogProgress(DeviceLayer, "wfx_retry_connection : Next attempt after %d Seconds", retryInterval);
225225
retryInterval += retryInterval;

src/test_driver/efr32/BUILD.gn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ source_set("efr32_test_main") {
114114
]
115115

116116
include_dirs = [ "${chip_root}/examples/common/pigweed/efr32" ]
117+
public_configs = [ ":efr32_ldflags" ]
117118
}
118119

119120
# This target is referred to by BuildRoot in scripts/build/builders/efr32.py, as well as the example in README.md.

src/test_driver/efr32/args.gni

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
import("//build_overrides/chip.gni")
1616
import("//build_overrides/pigweed.gni")
1717
import("${chip_root}/config/efr32/lib/pw_rpc/pw_rpc.gni")
18-
import("${chip_root}/examples/platform/silabs/args.gni")
1918
import("${chip_root}/src/platform/silabs/efr32/args.gni")
20-
import("${chip_root}/third_party/silabs/silabs_board.gni") # silabs_family
2119

2220
silabs_sdk_target = get_label_info(":sdk", "label_no_toolchain")
2321

@@ -46,9 +44,3 @@ pw_unit_test_MAIN = "//:efr32_test_main"
4644
# Additional variables needed by silabs_executable that must be passed in to pw_test.
4745
test_executable_output_name = "matter-silabs-device_tests-"
4846
test_executable_output_name_suffix = ".out"
49-
_ldscript =
50-
"${chip_root}/examples/platform/silabs/ldscripts/${silabs_family}.ld"
51-
test_executable_ldflags = [
52-
"-T" + rebase_path(_ldscript, root_build_dir),
53-
"-Wl,--no-warn-rwx-segment",
54-
]

0 commit comments

Comments
 (0)