Skip to content

Commit

Permalink
[Silabs] [EFR32] Refactor 917 NCP and 917 SoC Bluetooth to use the sa…
Browse files Browse the repository at this point in the history
…me implementation (project-chip#26390)

* Refactor 917 NCP and 917 SoC bluetooth to use the same implementation file

* Restyled by gn

* Added changes for coding standard

---------

Co-authored-by: Restyled.io <commits@restyled.io>
  • Loading branch information
shgutte and restyled-commits committed Jun 7, 2023
1 parent cca7bba commit f4fe438
Show file tree
Hide file tree
Showing 11 changed files with 172 additions and 682 deletions.
8 changes: 4 additions & 4 deletions src/platform/silabs/SiWx917/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ static_library("SiWx917") {
"${silabs_platform_dir}/platformAbstraction/WiseMCU_SPAM.cpp",
"../../FreeRTOS/SystemTimeSupport.cpp",
"../../SingletonConfigurationManager.cpp",
"BLEManagerImpl.cpp",
"../rs911x/BLEManagerImpl.cpp",
"../rs911x/rsi_ble_config.h",
"../rs911x/wfx_sl_ble_init.c",
"../rs911x/wfx_sl_ble_init.h",
"ConfigurationManagerImpl.cpp",
"PlatformManagerImpl.cpp",
"bluetooth/ble_config.h",
"bluetooth/wfx_sl_ble_init.c",
"bluetooth/wfx_sl_ble_init.h",
]

# TODO: OTA on CCP platform
Expand Down
8 changes: 4 additions & 4 deletions src/platform/silabs/efr32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ static_library("efr32") {

if (chip_enable_ble_rs911x) {
sources += [
"rs911x/BLEManagerImpl.cpp",
"rs911x/rsi_ble_config.h",
"rs911x/wfx_sl_ble_init.c",
"rs911x/wfx_sl_ble_init.h",
"../rs911x/BLEManagerImpl.cpp",
"../rs911x/rsi_ble_config.h",
"../rs911x/wfx_sl_ble_init.c",
"../rs911x/wfx_sl_ble_init.h",
]
} else {
sources += [ "BLEManagerImpl.cpp" ]
Expand Down
Loading

0 comments on commit f4fe438

Please sign in to comment.