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 (#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
2 people authored and pull[bot] committed Sep 1, 2023
1 parent e3ea343 commit 1265455
Show file tree
Hide file tree
Showing 12 changed files with 60 additions and 1,863 deletions.
1,023 changes: 0 additions & 1,023 deletions src/platform/silabs/SiWx917/BLEManagerImpl.cpp

This file was deleted.

8 changes: 4 additions & 4 deletions src/platform/silabs/SiWx917/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ static_library("SiWx917") {
"${silabs_platform_dir}/platformAbstraction/WiseMcuSpam.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/rsi_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
270 changes: 0 additions & 270 deletions src/platform/silabs/efr32/rs911x/rsi_ble_config.h

This file was deleted.

Loading

0 comments on commit 1265455

Please sign in to comment.