2019-04-28 03:38:23 -04:00
|
|
|
set(srcs "src/wifi_config.c"
|
2019-04-23 02:48:28 -04:00
|
|
|
"src/wifi_scan.c"
|
2022-10-17 14:32:06 -04:00
|
|
|
"src/wifi_ctrl.c"
|
2019-04-28 03:38:23 -04:00
|
|
|
"src/manager.c"
|
|
|
|
"src/handlers.c"
|
|
|
|
"src/scheme_console.c"
|
|
|
|
"proto-c/wifi_config.pb-c.c"
|
2019-04-23 02:48:28 -04:00
|
|
|
"proto-c/wifi_scan.pb-c.c"
|
2022-10-17 14:32:06 -04:00
|
|
|
"proto-c/wifi_ctrl.pb-c.c"
|
2019-04-28 03:38:23 -04:00
|
|
|
"proto-c/wifi_constants.pb-c.c")
|
2019-04-16 07:44:10 -04:00
|
|
|
|
2021-04-07 03:04:51 -04:00
|
|
|
if(CONFIG_ESP_WIFI_SOFTAP_SUPPORT)
|
|
|
|
list(APPEND srcs "src/scheme_softap.c")
|
|
|
|
endif()
|
|
|
|
|
2019-04-16 07:44:10 -04:00
|
|
|
if(CONFIG_BT_ENABLED)
|
2019-07-02 02:20:10 -04:00
|
|
|
if(CONFIG_BT_BLUEDROID_ENABLED OR CONFIG_BT_NIMBLE_ENABLED)
|
2019-04-28 03:38:23 -04:00
|
|
|
list(APPEND srcs
|
2019-04-16 07:44:10 -04:00
|
|
|
"src/scheme_ble.c")
|
|
|
|
endif()
|
|
|
|
endif()
|
2018-07-30 12:09:00 -04:00
|
|
|
|
2019-04-28 03:38:23 -04:00
|
|
|
idf_component_register(SRCS "${srcs}"
|
|
|
|
INCLUDE_DIRS include
|
2024-02-28 03:17:08 -05:00
|
|
|
PRIV_INCLUDE_DIRS src proto-c
|
2019-04-28 03:38:23 -04:00
|
|
|
REQUIRES lwip protocomm
|
2022-05-11 10:01:48 -04:00
|
|
|
PRIV_REQUIRES protobuf-c bt json esp_timer esp_wifi)
|