File tree 2 files changed +13
-2
lines changed
2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 29
29
#include < platform/silabs/OTAImageProcessorImpl.h>
30
30
#endif
31
31
32
+ #if (SL_MATTER_GN_BUILD == 0)
33
+ #include " sl_matter_ota_config.h"
34
+ #endif
35
+
32
36
class OTAConfig
33
37
{
34
38
public:
Original file line number Diff line number Diff line change 26
26
27
27
#include <stdint.h>
28
28
29
+ #if (SL_MATTER_GN_BUILD == 0 )
30
+ #if defined(CHIP_CONFIG_ENABLE_ICD_SERVER ) && (CHIP_CONFIG_ENABLE_ICD_SERVER == 1 )
31
+ #include "sl_matter_icd_config.h"
32
+ #endif // defined(CHIP_CONFIG_ENABLE_ICD_SERVER) && (CHIP_CONFIG_ENABLE_ICD_SERVER == 1)
33
+ #endif // SL_MATTER_GN_BUILD
34
+
29
35
// ==================== General Platform Adaptations ====================
30
36
31
37
#define CHIP_CONFIG_ABORT () abort()
45
51
#if CHIP_HAVE_CONFIG_H
46
52
#include <crypto/CryptoBuildConfig.h>
47
53
#endif
48
- #if (CHIP_CRYPTO_PLATFORM == 1 )
54
+
55
+ #if (CHIP_CRYPTO_PLATFORM == 1 ) && !defined(SL_MBEDTLS_USE_TINYCRYPT )
49
56
#include "psa/crypto.h"
50
57
51
58
#if !defined(CHIP_CONFIG_SHA256_CONTEXT_SIZE )
56
63
#define CHIP_CONFIG_SHA256_CONTEXT_ALIGN psa_hash_operation_t
57
64
#endif
58
65
59
- #endif // CHIP_CRYPTO_PLATFORM
66
+ #endif // ( CHIP_CRYPTO_PLATFORM == 1) && !defined(SL_MBEDTLS_USE_TINYCRYPT)
60
67
61
68
// ==================== General Configuration Overrides ====================
62
69
You can’t perform that action at this time.
0 commit comments