Skip to content

Commit

Permalink
Pull request project-chip#903: Fix system time counter
Browse files Browse the repository at this point in the history
Merge in WMN_TOOLS/matter from fix/time_drift to RC_2.1.0-1.1

Squashed commit of the following:

commit e34404ff67f6c1219ef4cbf39e64fc2cc4084870
Author: Satya Naag Bollimpalli <[email protected]>
Date:   Wed Jun 21 11:02:30 2023 +0000

    Pull request project-chip#904: changing the unify git location from cph to stash

    Merge in WMN_TOOLS/matter from bugfix/matter-bridge-jenkins-unify-git-location-change to silabs_1.1

    Squashed commit of the following:

    commit 0b9db3c60485b21fbabcb6f592ea09ba8c1b6c36
    Author: sabollim <[email protected]>
    Date:   Wed Jun 21 09:45:37 2023 +0530

        changing the unify git location from bitbucket-cph to stash

    commit 0859339d2bf0f20ea0bb5acded2fd3b7459c10d8
    Author: sabollim <[email protected]>
    Date:   Wed Jun 21 09:24:07 2023 +0530

        changing the unify git location from cph to stash

commit 63dfc3f438d416645a07878859b8886ba6a3eafb
Author: Junior Martinez <[email protected]>
Date:   Tue Jun 20 21:27:25 2023 -0400

    update matter_support submodule hash

commit 889cfb413e47452e09c03b7b0ba88da313738a7a
Author: Junior Martinez <[email protected]>
Date:   Tue Jun 20 20:01:40 2023 -0400

    Always build tick_power_manager.c has we now how sleeptimer and power manager always on. Fix paths for segger system view debugging

Pull request project-chip#907: [Silabs][Wf200] Disabling sleep

Merge in WMN_TOOLS/matter from bugfix/wf200_sleep to RC_2.1.0-1.1

Squashed commit of the following:

commit c14edfc41dd9e8427fd242f3fcd3055043cb33ec
Author: Chirag Bansal <[email protected]>
Date:   Thu Jun 22 11:24:49 2023 +0530

    changing the condition so that wf200 doesn't go in sleep by default

commit 694226bfb43e8fdfe0e2bb16fd8570bb740aec07
Author: Jean-Francois Penven <[email protected]>
Date:   Mon May 29 10:11:02 2023 -0400

    Fix matter shell with wf200 (project-chip#26845)
  • Loading branch information
jmartinez-silabs committed Jul 4, 2023
1 parent dae4d20 commit 1ac1fff
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 16 deletions.
4 changes: 2 additions & 2 deletions examples/platform/silabs/efr32/wf200/host_if.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -602,15 +602,15 @@ static void wfx_events_task(void * p_arg)
retryJoin = 0;
retryInterval = WLAN_MIN_RETRY_TIMER_MS;
wfx_lwip_set_sta_link_up();
#ifdef SLEEP_ENABLED
#if CHIP_DEVICE_CONFIG_ENABLE_SED
if (!(wfx_get_wifi_state() & SL_WFX_AP_INTERFACE_UP))
{
// Enable the power save
SILABS_LOG("WF200 going to DTIM based sleep");
sl_wfx_set_power_mode(WFM_PM_MODE_DTIM, WFM_PM_POLL_FAST_PS, BEACON_1);
sl_wfx_enable_device_power_save();
}
#endif // SLEEP_ENABLED
#endif /* CHIP_DEVICE_CONFIG_ENABLE_SED */
}

if (flags & SL_WFX_DISCONNECT)
Expand Down
20 changes: 8 additions & 12 deletions third_party/silabs/efr32_sdk.gni
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ template("efr32_sdk") {
"SL_COMPONENT_CATALOG_PRESENT=1",
"PLATFORM_HEADER=\"platform-header.h\"",
"USE_NVM3=1",
"SL_CATALOG_POWER_MANAGER_PRESENT",
"SL_CATALOG_SLEEPTIMER_PRESENT",

#"__STACK_SIZE=0",
]
Expand Down Expand Up @@ -304,9 +306,9 @@ template("efr32_sdk") {
if (use_system_view) {
_include_dirs += [
"${efr32_sdk_root}/util/third_party/segger/systemview/SEGGER",
"${efr32_sdk_root}/util/third_party/segger/systemview/Sample/FreeRTOSV10/Config/Cortex-M",
"${efr32_sdk_root}/util/third_party/segger/systemview/Sample/FreeRTOSV10",
"${efr32_sdk_root}/util/third_party/segger/systemview/Config/",
"${efr32_sdk_root}/util/third_party/segger/systemview/init/",
"${efr32_sdk_root}/util/third_party/segger/systemview/profiles/freertos_v10/",
]

defines += [ "SL_SYSTEM_VIEW=1" ]
Expand All @@ -327,8 +329,6 @@ template("efr32_sdk") {
if (enable_sleepy_device) {
defines += [
"CHIP_DEVICE_CONFIG_ENABLE_SED=1",
"SL_CATALOG_POWER_MANAGER_PRESENT",
"SL_CATALOG_SLEEPTIMER_PRESENT",
"SL_OT_IDLE_INTERVAL=${sl_ot_idle_interval_ms}",
"SL_OT_ACTIVE_INTERVAL=${sl_ot_active_interval_ms}",
"SL_ACTIVE_MODE_THRESHOLD=${sl_active_mode_threshold}",
Expand Down Expand Up @@ -620,6 +620,7 @@ template("efr32_sdk") {
"${efr32_sdk_root}/util/third_party/freertos/kernel/croutine.c",
"${efr32_sdk_root}/util/third_party/freertos/kernel/event_groups.c",
"${efr32_sdk_root}/util/third_party/freertos/kernel/list.c",
"${efr32_sdk_root}/util/third_party/freertos/kernel/portable/SiliconLabs/tick_power_manager.c",
"${efr32_sdk_root}/util/third_party/freertos/kernel/queue.c",
"${efr32_sdk_root}/util/third_party/freertos/kernel/stream_buffer.c",
"${efr32_sdk_root}/util/third_party/freertos/kernel/tasks.c",
Expand Down Expand Up @@ -749,8 +750,8 @@ template("efr32_sdk") {
if (use_system_view) {
sources += [
"${efr32_sdk_root}/util/third_party/segger/systemview/SEGGER/SEGGER_SYSVIEW.c",
"${efr32_sdk_root}/util/third_party/segger/systemview/Sample/FreeRTOSV10/Config/Cortex-M/SEGGER_SYSVIEW_Config_FreeRTOS.c",
"${efr32_sdk_root}/util/third_party/segger/systemview/Sample/FreeRTOSV10/SEGGER_SYSVIEW_FreeRTOS.c",
"${efr32_sdk_root}/util/third_party/segger/systemview/init/SEGGER_SYSVIEW_Init.c",
"${efr32_sdk_root}/util/third_party/segger/systemview/profiles/freertos_v10/SEGGER_SYSVIEW_FreeRTOS.c",
]
}

Expand All @@ -772,10 +773,6 @@ template("efr32_sdk") {
]
}

if (enable_sleepy_device) {
sources += [ "${efr32_sdk_root}/util/third_party/freertos/kernel/portable/SiliconLabs/tick_power_manager.c" ]
}

if (defined(enable_fem)) {
sources += [
"${efr32_sdk_root}/util/plugin/plugin-common/fem-control/fem-control.c",
Expand Down Expand Up @@ -923,6 +920,7 @@ template("efr32_sdk") {
"${efr32_sdk_root}/platform/Device/SiliconLabs/MGM24/Source/startup_mgm24.c",
"${efr32_sdk_root}/platform/Device/SiliconLabs/MGM24/Source/system_mgm24.c",
"${efr32_sdk_root}/platform/radio/rail_lib/plugin/fem_util/sl_fem_util.c",
"${efr32_sdk_root}/platform/radio/rail_lib/plugin/rail_util_rssi/sl_rail_util_rssi.c",
"${efr32_sdk_root}/platform/security/sl_component/se_manager/src/sl_se_manager.c",
"${efr32_sdk_root}/platform/security/sl_component/se_manager/src/sl_se_manager_attestation.c",
"${efr32_sdk_root}/platform/security/sl_component/se_manager/src/sl_se_manager_cipher.c",
Expand Down Expand Up @@ -957,8 +955,6 @@ template("efr32_sdk") {
"${efr32_sdk_root}/platform/service/hfxo_manager/src/sl_hfxo_manager_hal_s2.c",
"${efr32_sdk_root}/util/third_party/freertos/kernel/portable/GCC/ARM_CM33_NTZ/non_secure/port.c",
"${efr32_sdk_root}/util/third_party/freertos/kernel/portable/GCC/ARM_CM33_NTZ/non_secure/portasm.c",

#"${efr32_sdk_root}/platform/radio/rail_lib/plugin/rail_util_rssi/sl_rail_util_rssi.c",
]
}

Expand Down
2 changes: 1 addition & 1 deletion third_party/silabs/gecko_sdk
Submodule gecko_sdk updated 9039 files
2 changes: 1 addition & 1 deletion third_party/silabs/matter_support
Submodule matter_support updated 717 files

0 comments on commit 1ac1fff

Please sign in to comment.