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"
|
2019-04-28 03:38:23 -04:00
|
|
|
"src/manager.c"
|
|
|
|
"src/handlers.c"
|
|
|
|
"src/scheme_softap.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"
|
2019-04-28 03:38:23 -04:00
|
|
|
"proto-c/wifi_constants.pb-c.c")
|
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
|
|
|
|
PRIV_INCLUDE_DIRS src proto-c ../protocomm/proto-c
|
|
|
|
REQUIRES lwip protocomm
|
|
|
|
PRIV_REQUIRES protobuf-c bt mdns json)
|