Skip to content

Commit

Permalink
Added required changes for enabling brd4343a
Browse files Browse the repository at this point in the history
  • Loading branch information
arun-silabs committed Oct 23, 2024
1 parent a4a911c commit 5077219
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/examples-efr32.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ jobs:
--enable-flashbundle \
--target efr32-brd2605a-light-skip-rps-generation \
--target efr32-brd4338a-lock-skip-rps-generation \
--target efr32-brd4343a-lock-skip-rps-generation \
build \
--copy-artifacts-to out/artifacts \
"
Expand Down
2 changes: 1 addition & 1 deletion examples/platform/silabs/SiWx917/SiWx917/sl_wlan_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ static const sl_wifi_device_configuration_t config = {
.boot_option = LOAD_NWP_FW,
.mac_address = NULL,
.band = SL_SI91X_WIFI_BAND_2_4GHZ,
.region_code = US,
.region_code = REGION_CODE,
.boot_config = { .oper_mode = SL_SI91X_CLIENT_MODE,
.coex_mode = SL_SI91X_WLAN_BLE_MODE,
.feature_bit_map =
Expand Down
1 change: 1 addition & 0 deletions scripts/build/build/targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ def BuildEfr32Target():
TargetPart('brd2703a', board=Efr32Board.BRD2703A),
TargetPart('brd4338a', board=Efr32Board.BRD4338A, enable_wifi=True, enable_917_soc=True),
TargetPart('brd2605a', board=Efr32Board.BRD2605A, enable_wifi=True, enable_917_soc=True),
TargetPart('brd4343a', board=Efr32Board.BRD4343A, enable_wifi=True, enable_917_soc=True),
])

# apps
Expand Down
3 changes: 3 additions & 0 deletions scripts/build/builders/efr32.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ class Efr32Board(Enum):
BRD4338A = 11
BRD2703A = 12
BRD2605A = 13
BRD4343A = 14

def GnArgName(self):
if self == Efr32Board.BRD2704B:
Expand Down Expand Up @@ -140,6 +141,8 @@ def GnArgName(self):
return 'BRD2703A'
elif self == Efr32Board.BRD2605A:
return 'BRD2605A'
elif self == Efr32Board.BRD4343A:
return 'BRD4343A'
else:
raise Exception('Unknown board #: %r' % self)

Expand Down
2 changes: 1 addition & 1 deletion scripts/build/testdata/all_targets_linux_x64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ bouffalolab-{bl602dk,bl704ldk,bl706dk,bl602-night-light,bl706-night-light,bl602-
cc32xx-{lock,air-purifier}
ti-cc13x4_26x4-{lighting,lock,pump,pump-controller}[-mtd][-ftd]
cyw30739-{cyw30739b2_p5_evk_01,cyw30739b2_p5_evk_02,cyw30739b2_p5_evk_03,cyw930739m2evb_01,cyw930739m2evb_02}-{light,light-switch,lock,thermostat}
efr32-{brd2704b,brd4316a,brd4317a,brd4318a,brd4319a,brd4186a,brd4187a,brd2601b,brd4187c,brd4186c,brd2703a,brd4338a,brd2605a}-{window-covering,switch,unit-test,light,lock,thermostat,pump,air-quality-sensor-app}[-rpc][-with-ota-requestor][-icd][-low-power][-shell][-no-logging][-openthread-mtd][-heap-monitoring][-no-openthread-cli][-show-qr-code][-wifi][-rs9116][-wf200][-siwx917][-ipv4][-additional-data-advertising][-use-ot-lib][-use-ot-coap-lib][-no-version][-skip-rps-generation]
efr32-{brd2704b,brd4316a,brd4317a,brd4318a,brd4319a,brd4186a,brd4187a,brd2601b,brd4187c,brd4186c,brd2703a,brd4338a,brd2605a,brd4343a}-{window-covering,switch,unit-test,light,lock,thermostat,pump,air-quality-sensor-app}[-rpc][-with-ota-requestor][-icd][-low-power][-shell][-no-logging][-openthread-mtd][-heap-monitoring][-no-openthread-cli][-show-qr-code][-wifi][-rs9116][-wf200][-siwx917][-ipv4][-additional-data-advertising][-use-ot-lib][-use-ot-coap-lib][-no-version][-skip-rps-generation]
esp32-{m5stack,c3devkit,devkitc,qemu}-{all-clusters,all-clusters-minimal,energy-management,ota-provider,ota-requestor,shell,light,lock,bridge,temperature-measurement,ota-requestor,tests}[-rpc][-ipv6only][-tracing][-data-model-disabled][-data-model-enabled]
genio-lighting-app
linux-fake-tests[-mbedtls][-boringssl][-asan][-tsan][-ubsan][-libfuzzer][-ossfuzz][-pw-fuzztest][-coverage][-dmalloc][-clang]
Expand Down
2 changes: 1 addition & 1 deletion scripts/examples/gn_silabs_example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ else
fi

# 917 exception. TODO find a more generic way
if [ "$SILABS_BOARD" == "BRD4338A" ] || [ "$SILABS_BOARD" == "BRD2605A" ]; then
if [ "$SILABS_BOARD" == "BRD4338A" ] || [ "$SILABS_BOARD" == "BRD2605A" ] || [ "$SILABS_BOARD" == "BRD4343A" ]; then
echo "Compiling for 917 WiFi SOC"
USE_WIFI=true
fi
Expand Down
2 changes: 1 addition & 1 deletion third_party/silabs/matter_support
Submodule matter_support updated 97 files
+0 −0 generate_boards.py
+1 −1 matter/efr32/efr32mg24/BRD2601B/autogen/sl_ot_custom_cli.c
+1 −1 matter/efr32/efr32mg24/BRD2601B/autogen/sl_ot_init.h
+4 −4 matter/efr32/efr32mg24/BRD2601B/autogen/sli_psa_config_autogen.h
+1 −1 matter/efr32/efr32mg24/BRD2703A/autogen/sl_ot_custom_cli.c
+1 −1 matter/efr32/efr32mg24/BRD2703A/autogen/sl_ot_init.h
+4 −4 matter/efr32/efr32mg24/BRD2703A/autogen/sli_psa_config_autogen.h
+1 −1 matter/efr32/efr32mg24/BRD4186A/autogen/sl_ot_custom_cli.c
+1 −1 matter/efr32/efr32mg24/BRD4186A/autogen/sl_ot_init.h
+4 −4 matter/efr32/efr32mg24/BRD4186A/autogen/sli_psa_config_autogen.h
+1 −1 matter/efr32/efr32mg24/BRD4186C/autogen/sl_ot_custom_cli.c
+1 −1 matter/efr32/efr32mg24/BRD4186C/autogen/sl_ot_init.h
+4 −4 matter/efr32/efr32mg24/BRD4186C/autogen/sli_psa_config_autogen.h
+1 −1 matter/efr32/efr32mg24/BRD4187A/autogen/sl_ot_custom_cli.c
+1 −1 matter/efr32/efr32mg24/BRD4187A/autogen/sl_ot_init.h
+4 −4 matter/efr32/efr32mg24/BRD4187A/autogen/sli_psa_config_autogen.h
+1 −1 matter/efr32/efr32mg24/BRD4187C/autogen/sl_ot_custom_cli.c
+1 −1 matter/efr32/efr32mg24/BRD4187C/autogen/sl_ot_init.h
+4 −4 matter/efr32/efr32mg24/BRD4187C/autogen/sli_psa_config_autogen.h
+1 −1 matter/efr32/efr32mg26/BRD2608A/autogen/sl_ot_custom_cli.c
+1 −1 matter/efr32/efr32mg26/BRD2608A/autogen/sl_ot_init.h
+4 −4 matter/efr32/efr32mg26/BRD2608A/autogen/sli_psa_config_autogen.h
+1 −1 matter/efr32/efr32mg26/BRD4116A/autogen/sl_ot_custom_cli.c
+1 −1 matter/efr32/efr32mg26/BRD4116A/autogen/sl_ot_init.h
+4 −4 matter/efr32/efr32mg26/BRD4116A/autogen/sli_psa_config_autogen.h
+1 −1 matter/efr32/efr32mg26/BRD4117A/autogen/sl_ot_custom_cli.c
+1 −1 matter/efr32/efr32mg26/BRD4117A/autogen/sl_ot_init.h
+4 −4 matter/efr32/efr32mg26/BRD4117A/autogen/sli_psa_config_autogen.h
+1 −1 matter/efr32/efr32mg26/BRD4118A/autogen/sl_ot_custom_cli.c
+1 −1 matter/efr32/efr32mg26/BRD4118A/autogen/sl_ot_init.h
+4 −4 matter/efr32/efr32mg26/BRD4118A/autogen/sli_psa_config_autogen.h
+1 −1 matter/efr32/mgm24/BRD2704A/autogen/sl_ot_custom_cli.c
+1 −1 matter/efr32/mgm24/BRD2704A/autogen/sl_ot_init.h
+4 −4 matter/efr32/mgm24/BRD2704A/autogen/sli_psa_config_autogen.h
+1 −1 matter/efr32/mgm24/BRD4316A/autogen/sl_ot_custom_cli.c
+1 −1 matter/efr32/mgm24/BRD4316A/autogen/sl_ot_init.h
+4 −4 matter/efr32/mgm24/BRD4316A/autogen/sli_psa_config_autogen.h
+1 −1 matter/efr32/mgm24/BRD4317A/autogen/sl_ot_custom_cli.c
+1 −1 matter/efr32/mgm24/BRD4317A/autogen/sl_ot_init.h
+4 −4 matter/efr32/mgm24/BRD4317A/autogen/sli_psa_config_autogen.h
+1 −1 matter/efr32/mgm24/BRD4318A/autogen/sl_ot_custom_cli.c
+1 −1 matter/efr32/mgm24/BRD4318A/autogen/sl_ot_init.h
+4 −4 matter/efr32/mgm24/BRD4318A/autogen/sli_psa_config_autogen.h
+1 −1 matter/efr32/mgm24/BRD4319A/autogen/sl_ot_custom_cli.c
+1 −1 matter/efr32/mgm24/BRD4319A/autogen/sl_ot_init.h
+4 −4 matter/efr32/mgm24/BRD4319A/autogen/sli_psa_config_autogen.h
+ platform/emdrv/nvm3/lib/libnvm3_CM33_gcc.a
+ platform/emdrv/nvm3/lib/libnvm3_CM33_iar.a
+ platform/emdrv/nvm3/lib/libnvm3_CM4_gcc.a
+ platform/emdrv/nvm3/lib/libnvm3_CM4_iar.a
+ platform/radio/rail_lib/autogen/librail_release/librail_config_mgm240l022rnf_iar.a
+ platform/radio/rail_lib/autogen/librail_release/librail_config_mgm240l022vif_iar.a
+ platform/radio/rail_lib/autogen/librail_release/librail_config_mgm240l022vnf_iar.a
+ platform/radio/rail_lib/autogen/librail_release/librail_config_mgm240la22uif_iar.a
+ platform/radio/rail_lib/autogen/librail_release/librail_config_mgm240la22vif_iar.a
+ platform/radio/rail_lib/autogen/librail_release/librail_config_mgm240ld22vif_iar.a
+ platform/radio/rail_lib/autogen/librail_release/librail_config_mgm240pa22vna_iar.a
+ platform/radio/rail_lib/autogen/librail_release/librail_config_mgm240pa32vna_iar.a
+ platform/radio/rail_lib/autogen/librail_release/librail_config_mgm240pa32vnn_iar.a
+ platform/radio/rail_lib/autogen/librail_release/librail_config_mgm240pb22vna_iar.a
+ platform/radio/rail_lib/autogen/librail_release/librail_config_mgm240pb32vna_iar.a
+ platform/radio/rail_lib/autogen/librail_release/librail_config_mgm240pb32vnn_iar.a
+ platform/radio/rail_lib/autogen/librail_release/librail_config_mgm240sa22vna_iar.a
+ platform/radio/rail_lib/autogen/librail_release/librail_config_mgm240sb22vna_iar.a
+ platform/radio/rail_lib/autogen/librail_release/librail_config_mgm240sd22vna_iar.a
+ platform/radio/rail_lib/autogen/librail_release/librail_efr32xg24_gcc_release.a
+ platform/radio/rail_lib/autogen/librail_release/librail_efr32xg24_iar_release.a
+ platform/radio/rail_lib/autogen/librail_release/librail_efr32xg26_gcc_release.a
+ platform/radio/rail_lib/autogen/librail_release/librail_efr32xg26_iar_release.a
+ platform/radio/rail_lib/autogen/librail_release/librail_module_efr32xg24_gcc_release.a
+ platform/radio/rail_lib/autogen/librail_release/librail_module_efr32xg24_iar_release.a
+ platform/radio/rail_lib/autogen/librail_release/librail_module_efr32xg26_gcc_release.a
+ platform/radio/rail_lib/autogen/librail_release/librail_module_efr32xg26_iar_release.a
+ platform/radio/rail_lib/autogen/librail_release/librail_multiprotocol_efr32xg24_gcc_release.a
+ platform/radio/rail_lib/autogen/librail_release/librail_multiprotocol_efr32xg24_iar_release.a
+ platform/radio/rail_lib/autogen/librail_release/librail_multiprotocol_efr32xg26_gcc_release.a
+ platform/radio/rail_lib/autogen/librail_release/librail_multiprotocol_efr32xg26_iar_release.a
+ platform/radio/rail_lib/autogen/librail_release/librail_multiprotocol_module_efr32xg24_gcc_release.a
+ platform/radio/rail_lib/autogen/librail_release/librail_multiprotocol_module_efr32xg24_iar_release.a
+ platform/radio/rail_lib/autogen/librail_release/librail_multiprotocol_module_efr32xg26_gcc_release.a
+ platform/radio/rail_lib/autogen/librail_release/librail_multiprotocol_module_efr32xg26_iar_release.a
+3,265 −0 platform/security/sl_component/sl_psa_driver/src/sl_psa_its_nvm3.c
+ protocol/bluetooth/bgcommon/lib/build/gcc/cortex-m33/bgcommon/release/libbgcommon.a
+ protocol/bluetooth/bgcommon/lib/build/iar/cortex-m33/bgcommon/release/libbgcommon.a
+ protocol/bluetooth/bgstack/ll/lib/libbluetooth_controller_efr32xg24_gcc_release.a
+ protocol/bluetooth/bgstack/ll/lib/libbluetooth_controller_efr32xg24_iar_release.a
+ protocol/bluetooth/bgstack/ll/lib/libbluetooth_controller_efr32xg26_gcc_release.a
+ protocol/bluetooth/bgstack/ll/lib/libbluetooth_controller_efr32xg26_iar_release.a
+ protocol/bluetooth/build/gcc/cortex-m33/bt_host/hal/release/libbt_hal_series2.a
+ protocol/bluetooth/build/gcc/cortex-m33/bt_host/release/libbt_host.a
+ protocol/bluetooth/build/iar/cortex-m33/bt_host/hal/release/libbt_hal_series2.a
+ protocol/bluetooth/build/iar/cortex-m33/bt_host/hal/release/libbt_hal_series3.a
+ protocol/bluetooth/build/iar/cortex-m33/bt_host/release/libbt_host.a
+ protocol/openthread/libs/libsl_openthread_efr32mg2x_gcc.a
+0 −3,486 protocol/openthread/platform-abstraction/efr32/radio.c
+0 −85 scripts/copy_librairies.py
+638 −0 src/core/ipv6/mld6.c
3 changes: 2 additions & 1 deletion third_party/silabs/silabs_board.gni
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ if (silabs_board == "") {
assert(silabs_board != "", "silabs_board must be specified")

# Si917 WIFI board ----------
if (silabs_board == "BRD4338A" || silabs_board == "BRD2605A") {
if (silabs_board == "BRD4338A" || silabs_board == "BRD2605A" ||
silabs_board == "BRD4343A") {
if (silabs_board == "BRD2605A") {
sl_enable_rgb_led = true
}
Expand Down

0 comments on commit 5077219

Please sign in to comment.