diff --git a/examples/chef/efr32/src/main.cpp b/examples/chef/efr32/src/main.cpp index c54683e092bd90..291337b24c8330 100644 --- a/examples/chef/efr32/src/main.cpp +++ b/examples/chef/efr32/src/main.cpp @@ -27,7 +27,7 @@ #include #include #include -#ifdef EFR32_ATTESTATION_CREDENTIALS +#ifdef SILABS_ATTESTATION_CREDENTIALS #include #else #include @@ -58,7 +58,7 @@ int main(void) chip::DeviceLayer::PlatformMgr().LockChipStack(); // Initialize device attestation config -#ifdef EFR32_ATTESTATION_CREDENTIALS +#ifdef SILABS_ATTESTATION_CREDENTIALS SetDeviceAttestationCredentialsProvider(EFR32::GetEFR32DacProvider()); #else SetDeviceAttestationCredentialsProvider(Examples::GetExampleDACProvider()); diff --git a/examples/light-switch-app/silabs/SiWx917/src/main.cpp b/examples/light-switch-app/silabs/SiWx917/src/main.cpp index 7bae26206310d4..66f158cd48809e 100644 --- a/examples/light-switch-app/silabs/SiWx917/src/main.cpp +++ b/examples/light-switch-app/silabs/SiWx917/src/main.cpp @@ -25,7 +25,7 @@ #include #include #include -#ifdef SI917_ATTESTATION_CREDENTIALS +#ifdef SILABS_ATTESTATION_CREDENTIALS #include #else #include @@ -61,7 +61,7 @@ int main(void) chip::DeviceLayer::PlatformMgr().LockChipStack(); // Initialize device attestation config -#ifdef SI917_ATTESTATION_CREDENTIALS +#ifdef SILABS_ATTESTATION_CREDENTIALS SetDeviceAttestationCredentialsProvider(SIWx917::GetSIWx917DacProvider()); #else SetDeviceAttestationCredentialsProvider(Examples::GetExampleDACProvider()); diff --git a/examples/light-switch-app/silabs/efr32/src/main.cpp b/examples/light-switch-app/silabs/efr32/src/main.cpp index 0b0211fdbfe61c..97aff97aea535b 100644 --- a/examples/light-switch-app/silabs/efr32/src/main.cpp +++ b/examples/light-switch-app/silabs/efr32/src/main.cpp @@ -27,7 +27,7 @@ #include #include #include -#ifdef EFR32_ATTESTATION_CREDENTIALS +#ifdef SILABS_ATTESTATION_CREDENTIALS #include #else #include @@ -58,7 +58,7 @@ int main(void) chip::DeviceLayer::PlatformMgr().LockChipStack(); // Initialize device attestation config -#ifdef EFR32_ATTESTATION_CREDENTIALS +#ifdef SILABS_ATTESTATION_CREDENTIALS SetDeviceAttestationCredentialsProvider(Silabs::GetSilabsDacProvider()); #else SetDeviceAttestationCredentialsProvider(Examples::GetExampleDACProvider()); diff --git a/examples/lighting-app/silabs/SiWx917/src/main.cpp b/examples/lighting-app/silabs/SiWx917/src/main.cpp index d95f6b7ab51295..f1103e3340310c 100644 --- a/examples/lighting-app/silabs/SiWx917/src/main.cpp +++ b/examples/lighting-app/silabs/SiWx917/src/main.cpp @@ -26,7 +26,7 @@ #include #include #include -#ifdef SI917_ATTESTATION_CREDENTIALS +#ifdef SILABS_ATTESTATION_CREDENTIALS #include #else #include @@ -62,7 +62,7 @@ int main(void) chip::DeviceLayer::PlatformMgr().LockChipStack(); // Initialize device attestation config -#ifdef SI917_ATTESTATION_CREDENTIALS +#ifdef SILABS_ATTESTATION_CREDENTIALS SetDeviceAttestationCredentialsProvider(Silabs::GetSilabsDacProvider()); #else SetDeviceAttestationCredentialsProvider(Examples::GetExampleDACProvider()); diff --git a/examples/lighting-app/silabs/efr32/src/main.cpp b/examples/lighting-app/silabs/efr32/src/main.cpp index 9f447b972678b6..54fccb26ba8f35 100644 --- a/examples/lighting-app/silabs/efr32/src/main.cpp +++ b/examples/lighting-app/silabs/efr32/src/main.cpp @@ -29,7 +29,7 @@ #include #include #include -#ifdef EFR32_ATTESTATION_CREDENTIALS +#ifdef SILABS_ATTESTATION_CREDENTIALS #include #else #include @@ -60,7 +60,7 @@ int main(void) chip::DeviceLayer::PlatformMgr().LockChipStack(); // Initialize device attestation config -#ifdef EFR32_ATTESTATION_CREDENTIALS +#ifdef SILABS_ATTESTATION_CREDENTIALS SetDeviceAttestationCredentialsProvider(Silabs::GetSilabsDacProvider()); #else SetDeviceAttestationCredentialsProvider(Examples::GetExampleDACProvider()); diff --git a/examples/lock-app/silabs/SiWx917/src/main.cpp b/examples/lock-app/silabs/SiWx917/src/main.cpp index a3617564575ec3..44ef40f931b19a 100644 --- a/examples/lock-app/silabs/SiWx917/src/main.cpp +++ b/examples/lock-app/silabs/SiWx917/src/main.cpp @@ -25,7 +25,7 @@ #include #include #include -#ifdef EFR32_ATTESTATION_CREDENTIALS +#ifdef SILABS_ATTESTATION_CREDENTIALS #include #else #include @@ -59,7 +59,7 @@ int main(void) chip::DeviceLayer::PlatformMgr().LockChipStack(); // Initialize device attestation config -#ifdef SI917_ATTESTATION_CREDENTIALS +#ifdef SILABS_ATTESTATION_CREDENTIALS SetDeviceAttestationCredentialsProvider(SI917::GetSI917DacProvider()); #else SetDeviceAttestationCredentialsProvider(Examples::GetExampleDACProvider()); diff --git a/examples/lock-app/silabs/efr32/src/main.cpp b/examples/lock-app/silabs/efr32/src/main.cpp index 67ec50bc6c1319..e9fc2130f29009 100644 --- a/examples/lock-app/silabs/efr32/src/main.cpp +++ b/examples/lock-app/silabs/efr32/src/main.cpp @@ -27,7 +27,7 @@ #include #include #include -#ifdef EFR32_ATTESTATION_CREDENTIALS +#ifdef SILABS_ATTESTATION_CREDENTIALS #include #else #include @@ -58,7 +58,7 @@ int main(void) chip::DeviceLayer::PlatformMgr().LockChipStack(); // Initialize device attestation config -#ifdef EFR32_ATTESTATION_CREDENTIALS +#ifdef SILABS_ATTESTATION_CREDENTIALS SetDeviceAttestationCredentialsProvider(Silabs::GetSilabsDacProvider()); #else SetDeviceAttestationCredentialsProvider(Examples::GetExampleDACProvider()); diff --git a/examples/platform/silabs/SiWx917/BUILD.gn b/examples/platform/silabs/SiWx917/BUILD.gn index 32435f1d58b494..a2cc348d70906d 100644 --- a/examples/platform/silabs/SiWx917/BUILD.gn +++ b/examples/platform/silabs/SiWx917/BUILD.gn @@ -129,7 +129,7 @@ config("attestation-credentials-config") { defines = [ # Set to 1 to enable SI917 attestation credentials - "SI917_ATTESTATION_CREDENTIALS", + "SILABS_ATTESTATION_CREDENTIALS", ] } diff --git a/examples/platform/silabs/efr32/BUILD.gn b/examples/platform/silabs/efr32/BUILD.gn index d9e7d9e961a87f..05f9c6797c0b69 100644 --- a/examples/platform/silabs/efr32/BUILD.gn +++ b/examples/platform/silabs/efr32/BUILD.gn @@ -161,7 +161,7 @@ config("attestation-credentials-config") { defines = [ # Set to 1 to enable EFR32 attestation credentials - "EFR32_ATTESTATION_CREDENTIALS", + "SILABS_ATTESTATION_CREDENTIALS", ] } diff --git a/examples/thermostat/silabs/efr32/src/main.cpp b/examples/thermostat/silabs/efr32/src/main.cpp index e822b71646261e..5cfef676d77c8a 100644 --- a/examples/thermostat/silabs/efr32/src/main.cpp +++ b/examples/thermostat/silabs/efr32/src/main.cpp @@ -27,7 +27,7 @@ #include #include #include -#ifdef EFR32_ATTESTATION_CREDENTIALS +#ifdef SILABS_ATTESTATION_CREDENTIALS #include #else #include @@ -58,7 +58,7 @@ int main(void) chip::DeviceLayer::PlatformMgr().LockChipStack(); // Initialize device attestation config -#ifdef EFR32_ATTESTATION_CREDENTIALS +#ifdef SILABS_ATTESTATION_CREDENTIALS SetDeviceAttestationCredentialsProvider(Silabs::GetSilabsDacProvider()); #else SetDeviceAttestationCredentialsProvider(Examples::GetExampleDACProvider()); diff --git a/examples/window-app/silabs/SiWx917/src/main.cpp b/examples/window-app/silabs/SiWx917/src/main.cpp index 49a33ad9181f0a..9545aae1e4acd5 100644 --- a/examples/window-app/silabs/SiWx917/src/main.cpp +++ b/examples/window-app/silabs/SiWx917/src/main.cpp @@ -25,7 +25,7 @@ #include #include #include -#ifdef SI917_ATTESTATION_CREDENTIALS +#ifdef SILABS_ATTESTATION_CREDENTIALS #include #else #include @@ -60,7 +60,7 @@ int main(void) chip::DeviceLayer::PlatformMgr().LockChipStack(); err = app.Init(); // Initialize device attestation config -#ifdef SI917_ATTESTATION_CREDENTIALS +#ifdef SILABS_ATTESTATION_CREDENTIALS SetDeviceAttestationCredentialsProvider(SILABS::GetSILABSDacProvider()); #else SetDeviceAttestationCredentialsProvider(Examples::GetExampleDACProvider()); diff --git a/examples/window-app/silabs/efr32/src/main.cpp b/examples/window-app/silabs/efr32/src/main.cpp index f0536c625cbe49..12c1af9c9ad710 100644 --- a/examples/window-app/silabs/efr32/src/main.cpp +++ b/examples/window-app/silabs/efr32/src/main.cpp @@ -27,7 +27,7 @@ #include #include #include -#ifdef EFR32_ATTESTATION_CREDENTIALS +#ifdef SILABS_ATTESTATION_CREDENTIALS #include #else #include @@ -62,7 +62,7 @@ int main(void) chip::DeviceLayer::PlatformMgr().LockChipStack(); err = app.Init(); // Initialize device attestation config -#ifdef EFR32_ATTESTATION_CREDENTIALS +#ifdef SILABS_ATTESTATION_CREDENTIALS SetDeviceAttestationCredentialsProvider(Silabs::GetSilabsDacProvider()); #else SetDeviceAttestationCredentialsProvider(Examples::GetExampleDACProvider());