File tree 4 files changed +5
-320
lines changed
4 files changed +5
-320
lines changed Original file line number Diff line number Diff line change 19
19
/* *
20
20
* @file
21
21
* Provides the implementation of the Device Layer ConfigurationManager object
22
- * for EFR32 platforms using the Silicon Labs SDK.
22
+ * for Silabs platforms using the Silicon Labs SDK.
23
23
*/
24
24
/* this file behaves like a config.h, comes first */
25
25
#include < platform/ConfigurationManager.h>
@@ -93,7 +93,7 @@ CHIP_ERROR ConfigurationManagerImpl::GetBootReason(uint32_t & bootReason)
93
93
BootReasonType matterBootCause;
94
94
uint32_t rebootCause = Silabs::GetPlatform ().GetRebootCause ();
95
95
96
- #if defined(_SILICON_LABS_32B_SERIES_1 )
96
+ #if defined(_RMU_RSTCAUSE_MASK )
97
97
if (rebootCause & RMU_RSTCAUSE_PORST || rebootCause & RMU_RSTCAUSE_EXTRST) // PowerOn or External pin reset
98
98
{
99
99
matterBootCause = BootReasonType::kPowerOnReboot ;
@@ -115,7 +115,7 @@ CHIP_ERROR ConfigurationManagerImpl::GetBootReason(uint32_t & bootReason)
115
115
matterBootCause = BootReasonType::kUnspecified ;
116
116
}
117
117
// Not tracked HARDWARE_WATCHDOG_RESET && SOFTWARE_UPDATE_COMPLETED
118
- #elif defined(_SILICON_LABS_32B_SERIES_2 )
118
+ #elif defined(_EMU_RSTCAUSE_MASK )
119
119
if (rebootCause & EMU_RSTCAUSE_POR || rebootCause & EMU_RSTCAUSE_PIN) // PowerOn or External pin reset
120
120
{
121
121
matterBootCause = BootReasonType::kPowerOnReboot ;
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ static_library("SiWx917") {
39
39
" ${ silabs_platform_dir } /CHIPDevicePlatformEvent.h" ,
40
40
" ${ silabs_platform_dir } /CHIPMem-Platform.cpp" ,
41
41
" ${ silabs_platform_dir } /CHIPPlatformConfig.h" ,
42
+ " ${ silabs_platform_dir } /ConfigurationManagerImpl.cpp" ,
42
43
" ${ silabs_platform_dir } /ConfigurationManagerImpl.h" ,
43
44
" ${ silabs_platform_dir } /ConnectivityManagerImpl.h" ,
44
45
" ${ silabs_platform_dir } /DiagnosticDataProviderImpl.cpp" ,
@@ -62,7 +63,6 @@ static_library("SiWx917") {
62
63
" ../rs911x/rsi_ble_config.h" ,
63
64
" ../rs911x/wfx_sl_ble_init.c" ,
64
65
" ../rs911x/wfx_sl_ble_init.h" ,
65
- " ConfigurationManagerImpl.cpp" ,
66
66
" PlatformManagerImpl.cpp" ,
67
67
]
68
68
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ static_library("efr32") {
44
44
" ${ silabs_platform_dir } /CHIPDevicePlatformEvent.h" ,
45
45
" ${ silabs_platform_dir } /CHIPMem-Platform.cpp" ,
46
46
" ${ silabs_platform_dir } /CHIPPlatformConfig.h" ,
47
+ " ${ silabs_platform_dir } /ConfigurationManagerImpl.cpp" ,
47
48
" ${ silabs_platform_dir } /ConfigurationManagerImpl.h" ,
48
49
" ${ silabs_platform_dir } /ConnectivityManagerImpl.h" ,
49
50
" ${ silabs_platform_dir } /DiagnosticDataProviderImpl.cpp" ,
@@ -62,7 +63,6 @@ static_library("efr32") {
62
63
" ${ silabs_platform_dir } /platformAbstraction/SilabsPlatformBase.h" ,
63
64
" ../../FreeRTOS/SystemTimeSupport.cpp" ,
64
65
" ../../SingletonConfigurationManager.cpp" ,
65
- " ConfigurationManagerImpl.cpp" ,
66
66
" PlatformManagerImpl.cpp" ,
67
67
]
68
68
You can’t perform that action at this time.
0 commit comments