Skip to content

Commit

Permalink
Fix linking issue with coapi lib. address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinez-silabs committed Jan 13, 2025
1 parent f7f32c5 commit 29465fe
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 331 deletions.
102 changes: 0 additions & 102 deletions examples/platform/silabs/SiWx917/SiWx917/sl_wlan_config.h

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <ProvisionStorage.h>
#include <algorithm>
#include <lib/support/CodeUtils.h>
#include <platform/silabs/provision/ProvisionStorage.h>
#include <string.h>

namespace chip {
Expand Down
228 changes: 0 additions & 228 deletions examples/platform/silabs/wifi/wfx_notify.cpp

This file was deleted.

2 changes: 2 additions & 0 deletions src/platform/silabs/efr32/efr32-chip-mbedtls-config.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,12 @@
#define MBEDTLS_CIPHER_MODE_CBC
#define MBEDTLS_CCM_C
#define MBEDTLS_ECJPAKE_C
#define MBEDTLS_X509_CRT_PARSE_C
#define MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED
#define MBEDTLS_PK_HAVE_CURVE_SECP256R1
#define MBEDTLS_PK_HAVE_JPAKE
#define MBEDTLS_ECP_DP_SECP256R1_ENABLED
#define MBEDTLS_SSL_HANDSHAKE_WITH_CERT_ENABLED
#define PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC
#define PSA_WANT_ALG_JPAKE
#define PSA_WANT_ECC_SECP_R1_256
Expand Down
7 changes: 7 additions & 0 deletions third_party/silabs/efr32_sdk.gni
Original file line number Diff line number Diff line change
Expand Up @@ -1026,6 +1026,13 @@ template("efr32_sdk") {
]
}

if (use_thread_coap_lib) {
sources += [
"${efr32_sdk_root}/util/third_party/mbedtls/library/psa_crypto_driver_wrappers.h",
"${efr32_sdk_root}/util/third_party/mbedtls/library/psa_crypto_pake.c",
]
}

if (use_wf200) {
sources += [
"${efr32_sdk_root}/platform/radio/wifi/wfx_fmac_driver/bus/sl_wfx_bus.c",
Expand Down

0 comments on commit 29465fe

Please sign in to comment.