@@ -4,7 +4,7 @@ import("//build_overrides/pigweed.gni")
4
4
5
5
examples_plat_dir = " ${ chip_root } /examples/platform/silabs/SiWx917"
6
6
wifi_sdk_dir = " ${ chip_root } /src/platform/silabs/SiWx917/wifi"
7
- wiseconnect_sdk_root = " ${ chip_root } /third_party/silabs/wisemcu-wifi-bt-sdk"
7
+ wisemcu_sdk_root = " ${ chip_root } /third_party/silabs/wisemcu-wifi-bt-sdk"
8
8
rs911x_cflags = []
9
9
10
10
rs911x_src_plat = [
@@ -15,60 +15,58 @@ rs911x_src_plat = [
15
15
" ${ examples_plat_dir } /SiWx917/hal/rsi_hal_mcu_timer.c" ,
16
16
" ${ examples_plat_dir } /SiWx917/hal/rsi_hal_mcu_platform_init.c" ,
17
17
" ${ examples_plat_dir } /SiWx917/hal/rsi_hal_mcu_m4.c" ,
18
-
19
- " ${ wiseconnect_sdk_root } /platforms/si91x/hal/src/rsi_bootup_config.c" ,
20
- " ${ wiseconnect_sdk_root } /platforms/si91x/hal/src/rsi_hal_mcu_m4_rom.c" ,
21
- " ${ wiseconnect_sdk_root } /platforms/si91x/hal/src/rsi_hal_mcu_interrupt.c" ,
18
+ " ${ wisemcu_sdk_root } /platforms/si91x/hal/src/rsi_bootup_config.c" ,
19
+ " ${ wisemcu_sdk_root } /platforms/si91x/hal/src/rsi_hal_mcu_m4_rom.c" ,
20
+ " ${ wisemcu_sdk_root } /platforms/si91x/hal/src/rsi_hal_mcu_interrupt.c" ,
22
21
]
23
22
rs911x_plat_incs = [
24
23
" ${ wifi_sdk_dir } " ,
25
24
" ${ wifi_sdk_dir } /hal" ,
26
- " ${ wiseconnect_sdk_root } /platforms/si91x/hal/inc" ,
25
+ " ${ wisemcu_sdk_root } /platforms/si91x/hal/inc" ,
27
26
28
- # "${wiseconnect_sdk_root}/sapi/include",
29
27
" ${ chip_root } /src/platform/silabs/SiWx917" ,
30
28
" ${ chip_root } /src/platform/silabs/SiWx917/bluetooth" ,
31
29
" ${ examples_plat_dir } /SiWx917" ,
32
- " ${ wiseconnect_sdk_root } /platforms/si91x/hal/inc" ,
30
+ " ${ wisemcu_sdk_root } /platforms/si91x/hal/inc" ,
33
31
]
34
32
35
33
#
36
34
# All the stuff from wiseconnect
37
35
#
38
36
rs911x_src_sapi = [
39
- " ${ wiseconnect_sdk_root } /sapi/wlan/rsi_wlan_apis.c" ,
40
- " ${ wiseconnect_sdk_root } /sapi/common/rsi_apis_non_rom.c" ,
41
- " ${ wiseconnect_sdk_root } /sapi/common/rsi_apis_rom.c" ,
42
- " ${ wiseconnect_sdk_root } /sapi/common/rsi_common_apis.c" ,
43
- " ${ wiseconnect_sdk_root } /sapi/common/rsi_device_init_apis.c" ,
37
+ " ${ wisemcu_sdk_root } /sapi/wlan/rsi_wlan_apis.c" ,
38
+ " ${ wisemcu_sdk_root } /sapi/common/rsi_apis_non_rom.c" ,
39
+ " ${ wisemcu_sdk_root } /sapi/common/rsi_apis_rom.c" ,
40
+ " ${ wisemcu_sdk_root } /sapi/common/rsi_common_apis.c" ,
41
+ " ${ wisemcu_sdk_root } /sapi/common/rsi_device_init_apis.c" ,
44
42
45
- # "${wiseconnect_sdk_root }/sapi/common/rsi_wisemcu_hardware_setup.c",
46
- " ${ wiseconnect_sdk_root } /sapi/driver/device_interface/spi/rsi_spi_frame_rd_wr.c" ,
47
- " ${ wiseconnect_sdk_root } /sapi/driver/device_interface/spi/rsi_spi_functs.c" ,
48
- " ${ wiseconnect_sdk_root } /sapi/driver/device_interface/spi/rsi_spi_iface_init.c" ,
49
- " ${ wiseconnect_sdk_root } /sapi/driver/device_interface/spi/rsi_spi_mem_rd_wr.c" ,
50
- " ${ wiseconnect_sdk_root } /sapi/driver/device_interface/spi/rsi_spi_reg_rd_wr.c" ,
51
- " ${ wiseconnect_sdk_root } /sapi/driver/rsi_common.c" ,
52
- " ${ wiseconnect_sdk_root } /sapi/driver/rsi_device_init.c" ,
53
- " ${ wiseconnect_sdk_root } /sapi/driver/rsi_driver_event_handlers.c" ,
54
- " ${ wiseconnect_sdk_root } /sapi/driver/rsi_driver.c" ,
55
- " ${ wiseconnect_sdk_root } /sapi/driver/rsi_events_rom.c" ,
56
- " ${ wiseconnect_sdk_root } /sapi/driver/rsi_events.c" ,
57
- " ${ wiseconnect_sdk_root } /sapi/driver/rsi_iap.c" ,
58
- " ${ wiseconnect_sdk_root } /sapi/driver/rsi_nwk_rom.c" ,
59
- " ${ wiseconnect_sdk_root } /sapi/driver/rsi_nwk.c" ,
60
- " ${ wiseconnect_sdk_root } /sapi/driver/rsi_pkt_mgmt_rom.c" ,
61
- " ${ wiseconnect_sdk_root } /sapi/driver/rsi_pkt_mgmt.c" ,
62
- " ${ wiseconnect_sdk_root } /sapi/driver/rsi_queue_rom.c" ,
63
- " ${ wiseconnect_sdk_root } /sapi/driver/rsi_queue.c" ,
64
- " ${ wiseconnect_sdk_root } /sapi/driver/rsi_scheduler_rom.c" ,
65
- " ${ wiseconnect_sdk_root } /sapi/driver/rsi_scheduler.c" ,
66
- " ${ wiseconnect_sdk_root } /sapi/driver/rsi_setregion_countryinfo.c" ,
67
- " ${ wiseconnect_sdk_root } /sapi/driver/rsi_timer.c" ,
68
- " ${ wiseconnect_sdk_root } /sapi/driver/rsi_utils_rom.c" ,
69
- " ${ wiseconnect_sdk_root } /sapi/driver/rsi_utils.c" ,
70
- " ${ wiseconnect_sdk_root } /sapi/driver/rsi_wlan.c" ,
71
- " ${ wiseconnect_sdk_root } /sapi/rtos/freertos_wrapper/rsi_os_wrapper.c" ,
43
+ # "${wisemcu_sdk_root }/sapi/common/rsi_wisemcu_hardware_setup.c",
44
+ " ${ wisemcu_sdk_root } /sapi/driver/device_interface/spi/rsi_spi_frame_rd_wr.c" ,
45
+ " ${ wisemcu_sdk_root } /sapi/driver/device_interface/spi/rsi_spi_functs.c" ,
46
+ " ${ wisemcu_sdk_root } /sapi/driver/device_interface/spi/rsi_spi_iface_init.c" ,
47
+ " ${ wisemcu_sdk_root } /sapi/driver/device_interface/spi/rsi_spi_mem_rd_wr.c" ,
48
+ " ${ wisemcu_sdk_root } /sapi/driver/device_interface/spi/rsi_spi_reg_rd_wr.c" ,
49
+ " ${ wisemcu_sdk_root } /sapi/driver/rsi_common.c" ,
50
+ " ${ wisemcu_sdk_root } /sapi/driver/rsi_device_init.c" ,
51
+ " ${ wisemcu_sdk_root } /sapi/driver/rsi_driver_event_handlers.c" ,
52
+ " ${ wisemcu_sdk_root } /sapi/driver/rsi_driver.c" ,
53
+ " ${ wisemcu_sdk_root } /sapi/driver/rsi_events_rom.c" ,
54
+ " ${ wisemcu_sdk_root } /sapi/driver/rsi_events.c" ,
55
+ " ${ wisemcu_sdk_root } /sapi/driver/rsi_iap.c" ,
56
+ " ${ wisemcu_sdk_root } /sapi/driver/rsi_nwk_rom.c" ,
57
+ " ${ wisemcu_sdk_root } /sapi/driver/rsi_nwk.c" ,
58
+ " ${ wisemcu_sdk_root } /sapi/driver/rsi_pkt_mgmt_rom.c" ,
59
+ " ${ wisemcu_sdk_root } /sapi/driver/rsi_pkt_mgmt.c" ,
60
+ " ${ wisemcu_sdk_root } /sapi/driver/rsi_queue_rom.c" ,
61
+ " ${ wisemcu_sdk_root } /sapi/driver/rsi_queue.c" ,
62
+ " ${ wisemcu_sdk_root } /sapi/driver/rsi_scheduler_rom.c" ,
63
+ " ${ wisemcu_sdk_root } /sapi/driver/rsi_scheduler.c" ,
64
+ " ${ wisemcu_sdk_root } /sapi/driver/rsi_setregion_countryinfo.c" ,
65
+ " ${ wisemcu_sdk_root } /sapi/driver/rsi_timer.c" ,
66
+ " ${ wisemcu_sdk_root } /sapi/driver/rsi_utils_rom.c" ,
67
+ " ${ wisemcu_sdk_root } /sapi/driver/rsi_utils.c" ,
68
+ " ${ wisemcu_sdk_root } /sapi/driver/rsi_wlan.c" ,
69
+ " ${ wisemcu_sdk_root } /sapi/rtos/freertos_wrapper/rsi_os_wrapper.c" ,
72
70
]
73
71
74
72
foreach (src_file , rs911x_src_sapi ) {
@@ -89,28 +87,28 @@ rs911x_inc_plat = [
89
87
" ${ wifi_sdk_dir } " ,
90
88
" ${ examples_plat_dir } /SiWx917" ,
91
89
" ${ examples_plat_dir } /SiWx917/hal" ,
92
- " ${ wiseconnect_sdk_root } /sapi/include" ,
90
+ " ${ wisemcu_sdk_root } /sapi/include" ,
93
91
94
92
# CCP Platfrom
95
- " ${ wiseconnect_sdk_root } /platforms/si91x/hal/inc" ,
96
- " ${ wiseconnect_sdk_root } /platforms/si91x/boards/brd4325a/inc" ,
97
- " ${ wiseconnect_sdk_root } /platforms/si91x/drivers/peripheral_drivers/inc" ,
98
- " ${ wiseconnect_sdk_root } /platforms/si91x/drivers/systemlevel/inc" ,
99
- " ${ wiseconnect_sdk_root } /platforms/si91x/core/chip/inc" ,
100
- " ${ wiseconnect_sdk_root } /platforms/si91x/core/config" ,
101
- " ${ wiseconnect_sdk_root } /platforms/si91x/drivers/cmsis_driver/config" ,
102
- " ${ wiseconnect_sdk_root } /platforms/si91x/drivers/rom_driver/inc" ,
103
- " ${ wiseconnect_sdk_root } /platforms/si91x/drivers/cmsis_driver" ,
104
- " ${ wiseconnect_sdk_root } /platforms/si91x/drivers/cmsis_driver/CMSIS/Driver/Include" ,
93
+ " ${ wisemcu_sdk_root } /platforms/si91x/hal/inc" ,
94
+ " ${ wisemcu_sdk_root } /platforms/si91x/boards/brd4325a/inc" ,
95
+ " ${ wisemcu_sdk_root } /platforms/si91x/drivers/peripheral_drivers/inc" ,
96
+ " ${ wisemcu_sdk_root } /platforms/si91x/drivers/systemlevel/inc" ,
97
+ " ${ wisemcu_sdk_root } /platforms/si91x/core/chip/inc" ,
98
+ " ${ wisemcu_sdk_root } /platforms/si91x/core/config" ,
99
+ " ${ wisemcu_sdk_root } /platforms/si91x/drivers/cmsis_driver/config" ,
100
+ " ${ wisemcu_sdk_root } /platforms/si91x/drivers/rom_driver/inc" ,
101
+ " ${ wisemcu_sdk_root } /platforms/si91x/drivers/cmsis_driver" ,
102
+ " ${ wisemcu_sdk_root } /platforms/si91x/drivers/cmsis_driver/CMSIS/Driver/Include" ,
105
103
106
- " ${ wiseconnect_sdk_root } /platforms/si91x/core/cmsis" ,
107
- " ${ wiseconnect_sdk_root } /platforms/si91x/service/system/inc" ,
104
+ " ${ wisemcu_sdk_root } /platforms/si91x/core/cmsis" ,
105
+ " ${ wisemcu_sdk_root } /platforms/si91x/service/system/inc" ,
108
106
]
109
107
110
108
# Apparently - the rsi library needs this
111
109
rs911x_src_sock = [
112
- " ${ wiseconnect_sdk_root } /sapi/network/socket/rsi_socket.c" ,
113
- " ${ wiseconnect_sdk_root } /sapi/network/socket/rsi_socket_rom.c" ,
110
+ " ${ wisemcu_sdk_root } /sapi/network/socket/rsi_socket.c" ,
111
+ " ${ wisemcu_sdk_root } /sapi/network/socket/rsi_socket_rom.c" ,
114
112
]
115
113
rs911x_sock_inc = [ " ${ wifi_sdk_dir } /rsi-sockets" ]
116
114
0 commit comments