-
Notifications
You must be signed in to change notification settings - Fork 1
/
SConscript
70 lines (64 loc) · 3.85 KB
/
SConscript
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
from building import *
import os
cwd = GetCurrentDir()
group = []
src = ["wifi_ifx_cyw43012.c"]
path = [cwd]
src += ["wifi-host-driver/WiFi_Host_Driver/resources/clm/COMPONENT_43012/43012C0-mfgtest_clm_blob.c",
"wifi-host-driver/WiFi_Host_Driver/resources/clm/COMPONENT_43012/43012C0_clm_blob.c",
"wifi-host-driver/WiFi_Host_Driver/resources/firmware/COMPONENT_43012/43012C0-mfgtest_bin.c",
"wifi-host-driver/WiFi_Host_Driver/resources/firmware/COMPONENT_43012/43012C0_bin.c",
"wifi-host-driver/WiFi_Host_Driver/resources/resource_imp/whd_resources.c",
"wifi-host-driver/WiFi_Host_Driver/src/bus_protocols/whd_bus.c",
"wifi-host-driver/WiFi_Host_Driver/src/bus_protocols/whd_bus_common.c",
"wifi-host-driver/WiFi_Host_Driver/src/bus_protocols/whd_bus_m2m_protocol.c",
"wifi-host-driver/WiFi_Host_Driver/src/bus_protocols/whd_bus_sdio_protocol.c",
"wifi-host-driver/WiFi_Host_Driver/src/bus_protocols/whd_bus_spi_protocol.c",
"wifi-host-driver/WiFi_Host_Driver/src/whd_ap.c",
"wifi-host-driver/WiFi_Host_Driver/src/whd_buffer_api.c",
"wifi-host-driver/WiFi_Host_Driver/src/whd_cdc_bdc.c",
"wifi-host-driver/WiFi_Host_Driver/src/whd_chip.c",
"wifi-host-driver/WiFi_Host_Driver/src/whd_chip_constants.c",
"wifi-host-driver/WiFi_Host_Driver/src/whd_clm.c",
"wifi-host-driver/WiFi_Host_Driver/src/whd_debug.c",
"wifi-host-driver/WiFi_Host_Driver/src/whd_events.c",
"wifi-host-driver/WiFi_Host_Driver/src/whd_logging.c",
"wifi-host-driver/WiFi_Host_Driver/src/whd_management.c",
"wifi-host-driver/WiFi_Host_Driver/src/whd_network_if.c",
"wifi-host-driver/WiFi_Host_Driver/src/whd_resource_if.c",
"wifi-host-driver/WiFi_Host_Driver/src/whd_sdpcm.c",
"wifi-host-driver/WiFi_Host_Driver/src/whd_thread.c",
"wifi-host-driver/WiFi_Host_Driver/src/whd_utils.c",
"wifi-host-driver/WiFi_Host_Driver/src/whd_wifi.c",
"wifi-host-driver/WiFi_Host_Driver/src/whd_wifi_api.c",
"wifi-host-driver/WiFi_Host_Driver/src/whd_wifi_p2p.c"]
path += [
cwd + "/wifi-host-driver/WiFi_Host_Driver/inc",
cwd + "/wifi-host-driver/WiFi_Host_Driver",
cwd + "/wifi-host-driver",
cwd + "/wifi-host-driver/WiFi_Host_Driver/resources/clm/COMPONENT_43012",
cwd + "/wifi-host-driver/WiFi_Host_Driver/resources/clm",
cwd + "/wifi-host-driver/WiFi_Host_Driver/resources",
cwd + "/wifi-host-driver/WiFi_Host_Driver/resources/firmware/COMPONENT_43012",
cwd + "/wifi-host-driver/WiFi_Host_Driver/resources/firmware",
cwd + "/wifi-host-driver/WiFi_Host_Driver/resources/nvram/COMPONENT_43012/COMPONENT_MURATA-1LV",
cwd + "/wifi-host-driver/WiFi_Host_Driver/resources/nvram/COMPONENT_43012",
cwd + "/wifi-host-driver/WiFi_Host_Driver/resources/nvram",
cwd + "/wifi-host-driver/WiFi_Host_Driver/resources/resource_imp",
cwd + "/wifi-host-driver/WiFi_Host_Driver/src/bus_protocols",
cwd + "/wifi-host-driver/WiFi_Host_Driver/src",
cwd + "/wifi-host-driver/WiFi_Host_Driver/src/include"]
src += ["abstraction-rtos/source/COMPONENT_FREERTOS/cyabs_freertos_common.c",
"abstraction-rtos/source/COMPONENT_FREERTOS/cyabs_freertos_helpers.c",
"abstraction-rtos/source/COMPONENT_FREERTOS/cyabs_rtos_dsram.c",
"abstraction-rtos/source/COMPONENT_FREERTOS/cyabs_rtos_freertos.c",
"abstraction-rtos/source/cy_worker_thread.c"]
path += [
cwd + "/abstraction-rtos/include",
cwd + "/abstraction-rtos",
cwd + "/abstraction-rtos/include/COMPONENT_FREERTOS"]
src += ["whd-bsp-integration/COMPONENT_LWIP/cy_network_buffer_lwip.c",
"whd-bsp-integration/cybsp_wifi.c"]
path += [cwd + "/whd-bsp-integration"]
group = DefineGroup('cyw43012', src, depend = ['RT_USING_WIFI'], CPPPATH = path)
Return('group')