-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build 917 NCP Using Wisemcu SDK Package
- Loading branch information
1 parent
17d7f00
commit d9949ca
Showing
6 changed files
with
109 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
import("//build_overrides/chip.gni") | ||
|
||
examples_plat_dir = "${chip_root}/examples/platform/silabs/efr32" | ||
wifi_sdk_dir = "${chip_root}/src/platform/silabs/EFR32/wifi" | ||
wisemcu_sdk_root = "${chip_root}/third_party/silabs/wisemcu-wifi-bt-sdk" | ||
|
||
rs911x_src_plat = [ | ||
"${examples_plat_dir}/rs911x/rsi_if.c", | ||
"${examples_plat_dir}/rs911x/wfx_rsi_host.c", | ||
"${examples_plat_dir}/rs911x/hal/rsi_hal_mcu_interrupt.c", | ||
"${examples_plat_dir}/rs911x/hal/rsi_hal_mcu_ioports.c", | ||
"${examples_plat_dir}/rs911x/hal/rsi_hal_mcu_timer.c", | ||
"${examples_plat_dir}/rs911x/hal/efx_spi.c", | ||
"${wifi_sdk_dir}/wfx_notify.cpp", | ||
] | ||
|
||
# | ||
# All the stuff from wiseconnect | ||
# | ||
rs911x_src_sapi = [ | ||
"${wisemcu_sdk_root}/sapi/wlan/rsi_wlan_apis.c", | ||
"${wisemcu_sdk_root}/sapi/common/rsi_apis_non_rom.c", | ||
"${wisemcu_sdk_root}/sapi/common/rsi_apis_rom.c", | ||
"${wisemcu_sdk_root}/sapi/common/rsi_common_apis.c", | ||
"${wisemcu_sdk_root}/sapi/common/rsi_device_init_apis.c", | ||
"${wisemcu_sdk_root}/sapi/driver/device_interface/spi/rsi_spi_frame_rd_wr.c", | ||
"${wisemcu_sdk_root}/sapi/driver/device_interface/spi/rsi_spi_functs.c", | ||
"${wisemcu_sdk_root}/sapi/driver/device_interface/spi/rsi_spi_iface_init.c", | ||
"${wisemcu_sdk_root}/sapi/driver/device_interface/spi/rsi_spi_mem_rd_wr.c", | ||
"${wisemcu_sdk_root}/sapi/driver/device_interface/spi/rsi_spi_reg_rd_wr.c", | ||
"${wisemcu_sdk_root}/sapi/driver/rsi_common.c", | ||
"${wisemcu_sdk_root}/sapi/driver/rsi_device_init.c", | ||
"${wisemcu_sdk_root}/sapi/driver/rsi_driver_event_handlers.c", | ||
"${wisemcu_sdk_root}/sapi/driver/rsi_driver.c", | ||
"${wisemcu_sdk_root}/sapi/driver/rsi_events_rom.c", | ||
"${wisemcu_sdk_root}/sapi/driver/rsi_events.c", | ||
"${wisemcu_sdk_root}/sapi/driver/rsi_iap.c", | ||
"${wisemcu_sdk_root}/sapi/driver/rsi_nwk_rom.c", | ||
"${wisemcu_sdk_root}/sapi/driver/rsi_nwk.c", | ||
"${wisemcu_sdk_root}/sapi/driver/rsi_pkt_mgmt_rom.c", | ||
"${wisemcu_sdk_root}/sapi/driver/rsi_pkt_mgmt.c", | ||
"${wisemcu_sdk_root}/sapi/driver/rsi_queue_rom.c", | ||
"${wisemcu_sdk_root}/sapi/driver/rsi_queue.c", | ||
"${wisemcu_sdk_root}/sapi/driver/rsi_scheduler_rom.c", | ||
"${wisemcu_sdk_root}/sapi/driver/rsi_scheduler.c", | ||
"${wisemcu_sdk_root}/sapi/driver/rsi_setregion_countryinfo.c", | ||
"${wisemcu_sdk_root}/sapi/driver/rsi_timer.c", | ||
"${wisemcu_sdk_root}/sapi/driver/rsi_utils_rom.c", | ||
"${wisemcu_sdk_root}/sapi/driver/rsi_utils.c", | ||
"${wisemcu_sdk_root}/sapi/driver/rsi_wlan.c", | ||
"${wisemcu_sdk_root}/sapi/rtos/freertos_wrapper/rsi_os_wrapper.c", | ||
|
||
# Apparently - the rsi library needs this (though we may not use use it) | ||
"${wisemcu_sdk_root}/sapi/network/socket/rsi_socket.c", | ||
"${wisemcu_sdk_root}/sapi/network/socket/rsi_socket_rom.c", | ||
] | ||
|
||
rs911x_cflags = [ "-Wno-empty-body" ] | ||
|
||
rs911x_inc_plat = [ | ||
"${examples_plat_dir}/rs911x", | ||
"${examples_plat_dir}/rs911x/hal", | ||
"${wisemcu_sdk_root}/sapi/include", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters