This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2652R7: Fail to compile Matter (CHIP) lock-app

Part Number: CC2652R7
Other Parts Discussed in Thread: SIMPLELINK-CC13X2-26X2-SDK

Dear support,

After I downloaded the specific SDK for Matter on CC2652R7, I tried to compile the project.  Unfortunately I came across the following error.  Is it possible for you to provide some guidance about solving this? 

-------------

../../third_party/connectedhomeip/src/crypto/CHIPCryptoPALmbedTLS.cpp:212:45: error: static assertion failed: kMAX_Hash_SHA256_Context_Size is too small for the size of underlying mbedtls_sha256_context

  212 | static_assert(kMAX_Hash_SHA256_Context_Size >= sizeof(mbedtls_sha256_context),
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../third_party/connectedhomeip/src/crypto/CHIPCryptoPALmbedTLS.cpp:45:
../../third_party/connectedhomeip/src/lib/support/SafePointerCast.h: In instantiation of 'std::enable_if_t<std::is_pointer<_Tp>::value, ToPtr> chip::SafePointerCast(From*) [with ToPtr = mbedtls_sha256_context*; From = chip::Crypto::HashSHA256OpaqueContext; std::enable_if_t<std::is_pointer<_Tp>::value, ToPtr> = mbedtls_sha256_context*]':
../../third_party/connectedhomeip/src/crypto/CHIPCryptoPALmbedTLS.cpp:217:61:   required from here
../../third_party/connectedhomeip/src/lib/support/SafePointerCast.h:36:32: error: static assertion failed: Casting to a bigger type
   36 |     static_assert(sizeof(From) >= sizeof(To), "Casting to a bigger type");
      |                   ~~~~~~~~~~~~~^~~~~~~~~~~~~
cc1plus: note: unrecognized command-line option '-Wno-unknown-warning-option' may have been intended to silence earlier diagnostics

-------------

I appreciate your assistance!

Vincent