Skip to content

Commit

Permalink
reverting due to unwanted changes to third party repos
Browse files Browse the repository at this point in the history
  • Loading branch information
abpoth committed Aug 28, 2023
1 parent eddd8a1 commit 32db844
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
5 changes: 4 additions & 1 deletion third_party/silabs/SiWx917_sdk.gni
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ template("siwx917_sdk") {

# Treat these includes as system includes, so warnings in them are not fatal.
_include_dirs = [
"${chip_root}",
"${chip_root}/examples/platform/silabs/SiWx917/SiWx917",
"${sdk_support_root}/matter/si91x/siwx917/BRD4325x/support/hal",
"${efr32_sdk_root}/platform/emdrv/nvm3/inc",
Expand Down Expand Up @@ -238,6 +237,10 @@ template("siwx917_sdk") {
defines += [ "DIC_ENABLE=1" ]
}

if (aws_sdk_ota) {
defines += [ "ENABLE_AWS_OTA_FEAT=1" ]
}

libs += [ "${sdk_support_root}/platform/emdrv/nvm3/lib/libnvm3_CM4_gcc.a" ]

cflags = []
Expand Down
8 changes: 6 additions & 2 deletions third_party/silabs/efr32_sdk.gni
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ declare_args() {
sl_ot_active_interval_ms = 200 # 200ms Active Intervals

# ICD Matter Configuration flags
sl_idle_mode_interval_ms = 600000 # 10min Idle Mode Interval
sl_idle_mode_interval_s = 600 # 10min Idle Mode Interval
sl_active_mode_interval_ms = 1000 # 1s Active Mode Interval
sl_active_mode_threshold_ms = 500 # 500ms Active Mode Threshold
sl_icd_supported_clients_per_fabric = 2 # 2 registration slots per fabric
Expand Down Expand Up @@ -352,7 +352,7 @@ template("efr32_sdk") {
"SL_ICD_ENABLED=1",
"SL_ACTIVE_MODE_THRESHOLD=${sl_active_mode_threshold_ms}",
"SL_ACTIVE_MODE_INTERVAL=${sl_active_mode_interval_ms}",
"SL_IDLE_MODE_INTERVAL=${sl_idle_mode_interval_ms}",
"SL_IDLE_MODE_INTERVAL=${sl_idle_mode_interval_s}",
"SL_ICD_SUPPORTED_CLIENTS_PER_FABRIC=${sl_icd_supported_clients_per_fabric}",
]

Expand Down Expand Up @@ -690,6 +690,10 @@ template("efr32_sdk") {
if (enable_dic) {
sources += [
"${chip_root}/third_party/silabs/mqtt/stack/mqtt.c",
"${efr32_sdk_root}/util/third_party/mbedtls/library/ctr_drbg.c",
"${efr32_sdk_root}/util/third_party/mbedtls/library/entropy.c",
"${efr32_sdk_root}/util/third_party/mbedtls/library/entropy_poll.c",
"${efr32_sdk_root}/util/third_party/mbedtls/library/rsa.c",
"${efr32_sdk_root}/util/third_party/mbedtls/library/rsa_alt_helpers.c",
]
}
Expand Down

0 comments on commit 32db844

Please sign in to comment.