Skip to content

Commit 8742502

Browse files
committed
merge conflicts
2 parents 064c205 + 7a983c7 commit 8742502

File tree

5 files changed

+25
-2
lines changed

5 files changed

+25
-2
lines changed

examples/platform/silabs/MatterConfig.cpp

+13
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,13 @@ static chip::DeviceLayer::Internal::Efr32PsaOperationalKeystore gOperationalKeys
7979

8080
#include <platform/silabs/platformAbstraction/SilabsPlatform.h>
8181

82+
#if CHIP_ENABLE_OPENTHREAD && (SL_MATTER_GN_BUILD == 0)
83+
// SLC-FIX
84+
// TODO: Remove the Power Manager include when OT does not add an EM1 req at init
85+
#define CURRENT_MODULE_NAME "OPENTHREAD"
86+
#include "sl_power_manager.h"
87+
#endif
88+
8289
/**********************************************************
8390
* Defines
8491
*********************************************************/
@@ -183,6 +190,12 @@ void ApplicationStart(void * unused)
183190

184191
void SilabsMatterConfig::AppInit()
185192
{
193+
#if CHIP_ENABLE_OPENTHREAD && (SL_MATTER_GN_BUILD == 0)
194+
// SLC-FIX
195+
// TODO: Remove the Power Manager remove req when OT does not add an EM1 req at init
196+
sl_power_manager_remove_em_requirement(SL_POWER_MANAGER_EM1);
197+
#endif
198+
186199
GetPlatform().Init();
187200
sMainTaskHandle = osThreadNew(ApplicationStart, nullptr, &kMainTaskAttr);
188201
SILABS_LOG("Starting scheduler");

examples/platform/silabs/SiWx917/SiWx917/sl_wifi_if.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ extern "C" {
7070
#include "sl_si91x_button_pin_config.h"
7171
#include "sl_si91x_power_manager.h"
7272

73+
// [SLC-TEMP] Adding power manager include until we update wiseconnect version and upstream the changes
74+
#include "sl_si91x_power_manager.h"
75+
7376
namespace {
7477
// TODO: should be removed once we are getting the press interrupt for button 0 with sleep
7578
#define BUTTON_PRESSED 1
@@ -639,7 +642,7 @@ static sl_status_t wfx_rsi_do_join(void)
639642
case WFX_SEC_WPA3:
640643
ap.security = SL_WIFI_WPA3_TRANSITION;
641644
#else
642-
ap.security = SL_WIFI_WPA_WPA2_MIXED;
645+
ap.security = SL_WIFI_WPA_WPA2_MIXED;
643646
#endif // WIFI_ENABLE_SECURITY_WPA3_TRANSITION
644647
break;
645648
case WFX_SEC_NONE:

examples/platform/silabs/SoftwareFaultReports.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ extern "C" __attribute__((used)) void debugHardfault(uint32_t * sp)
126126
/**
127127
* Override default hard-fault handler
128128
*/
129+
#ifndef SL_CATALOG_ZIGBEE_STACK_COMMON_PRESENT
129130
extern "C" __attribute__((naked)) void HardFault_Handler(void)
130131
{
131132
__asm volatile("tst lr, #4 \n"
@@ -136,6 +137,7 @@ extern "C" __attribute__((naked)) void HardFault_Handler(void)
136137
"bx r1 \n"
137138
"debugHardfault_address: .word debugHardfault \n");
138139
}
140+
#endif // SL_CATALOG_ZIGBEE_STACK_COMMON_PRESENT
139141

140142
extern "C" void vApplicationMallocFailedHook(void)
141143
{
@@ -229,6 +231,7 @@ extern "C" void vApplicationGetTimerTaskMemory(StaticTask_t ** ppxTimerTaskTCBBu
229231
}
230232

231233
#if !defined(SLI_SI91X_MCU_INTERFACE) || !defined(SLI_SI91X_ENABLE_BLE)
234+
#ifndef SL_CATALOG_ZIGBEE_STACK_COMMON_PRESENT
232235
extern "C" void RAILCb_AssertFailed(RAIL_Handle_t railHandle, uint32_t errorCode)
233236
{
234237
char faultMessage[kMaxFaultStringLen] = { 0 };
@@ -252,5 +255,6 @@ extern "C" void RAILCb_AssertFailed(RAIL_Handle_t railHandle, uint32_t errorCode
252255

253256
chipAbort();
254257
}
258+
#endif // SL_CATALOG_ZIGBEE_STACK_COMMON_PRESENT
255259
#endif // !defined(SLI_SI91X_MCU_INTERFACE) || !defined(SLI_SI91X_ENABLE_BLE)
256260
#endif // HARD_FAULT_LOG_ENABLE

src/app/tests/BUILD.gn

+3
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,10 @@ chip_test_suite("tests") {
251251
"${chip_root}/src/app",
252252
"${chip_root}/src/app/codegen-data-model-provider:instance-header",
253253
"${chip_root}/src/app/common:cluster-objects",
254+
<<<<<<< HEAD
254255
"${chip_root}/src/app/data-model-provider/tests:encode-decode",
256+
=======
257+
>>>>>>> test_release_2.4-1.4
255258
"${chip_root}/src/app/icd/client:handler",
256259
"${chip_root}/src/app/icd/client:manager",
257260
"${chip_root}/src/app/tests:helpers",

src/app/util/attribute-metadata.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ bool emberAfIsStringAttributeType(EmberAfAttributeType attributeType)
3636
bool emberAfIsLongStringAttributeType(EmberAfAttributeType attributeType)
3737
{
3838
return (attributeType == ZCL_LONG_OCTET_STRING_ATTRIBUTE_TYPE || attributeType == ZCL_LONG_CHAR_STRING_ATTRIBUTE_TYPE);
39-
}
39+
}

0 commit comments

Comments
 (0)