mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-29 02:07:27 +02:00
feat(wifi_remote): Added generation step for wifi_remote based on IDF
This commit is contained in:
@ -1,8 +1,15 @@
|
||||
if(NOT CONFIG_ESP_WIFI_ENABLED)
|
||||
set(src_wifi_is_remote esp_wifi_remote.c)
|
||||
set(src_wifi_is_remote esp_wifi_remote.c esp_wifi_with_remote.c)
|
||||
endif()
|
||||
|
||||
idf_component_register(INCLUDE_DIRS include
|
||||
SRCS wifi_remote_rpc.c wifi_remote_net.c wifi_remote_init.c ${src_wifi_is_remote}
|
||||
SRCS ${src_wifi_is_remote}
|
||||
esp_wifi_remote_net.c
|
||||
esp_wifi_remote_weak.c
|
||||
REQUIRES esp_event esp_netif
|
||||
PRIV_REQUIRES esp_wifi esp_hosted)
|
||||
PRIV_REQUIRES esp_wifi)
|
||||
|
||||
idf_component_optional_requires(PRIVATE esp_hosted)
|
||||
|
||||
idf_component_get_property(wifi esp_wifi COMPONENT_LIB)
|
||||
target_link_libraries(${wifi} PUBLIC ${COMPONENT_LIB})
|
||||
|
Reference in New Issue
Block a user