2018-07-30 12:09:00 -04:00
|
|
|
set(COMPONENT_ADD_INCLUDEDIRS include)
|
2019-04-16 07:44:10 -04:00
|
|
|
set(COMPONENT_PRIV_INCLUDEDIRS src proto-c ../protocomm/proto-c)
|
2018-07-30 12:09:00 -04:00
|
|
|
set(COMPONENT_SRCS "src/wifi_config.c"
|
2019-04-16 07:44:10 -04:00
|
|
|
"src/manager.c"
|
|
|
|
"src/handlers.c"
|
|
|
|
"src/scheme_softap.c"
|
|
|
|
"src/scheme_console.c"
|
2018-07-30 12:09:00 -04:00
|
|
|
"proto-c/wifi_config.pb-c.c"
|
|
|
|
"proto-c/wifi_constants.pb-c.c")
|
|
|
|
|
2019-04-16 07:44:10 -04:00
|
|
|
set(COMPONENT_REQUIRES lwip protocomm)
|
|
|
|
set(COMPONENT_PRIV_REQUIRES protobuf-c bt mdns json)
|
|
|
|
|
|
|
|
if(CONFIG_BT_ENABLED)
|
|
|
|
if(CONFIG_BLUEDROID_ENABLED)
|
|
|
|
list(APPEND COMPONENT_SRCS
|
|
|
|
"src/scheme_ble.c")
|
|
|
|
endif()
|
|
|
|
endif()
|
2018-07-30 12:09:00 -04:00
|
|
|
|
|
|
|
register_component()
|