mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
b2af4d9689
linux/lwip: Wrap some IO posix functions * to workaourd the FreeRTOS EINTR issue (when building without lwip) * to correctly choose the sub-system based on fd (when building with lwip) -- passing control to either linux/system or to lwip This commit also addapts tapio-if to provide DHCP client by default and configurable settings for static IP
13 lines
538 B
CMake
13 lines
538 B
CMake
# Embed the server root certificate into the final binary
|
|
#
|
|
# (If this was a component, we would set COMPONENT_EMBED_TXTFILES here.)
|
|
set(requires "")
|
|
if(${IDF_TARGET} STREQUAL "linux")
|
|
list(APPEND requires esp_stubs esp_event esp-tls esp_http_client protocol_examples_common nvs_flash)
|
|
endif()
|
|
idf_component_register(SRCS "esp_http_client_example.c"
|
|
INCLUDE_DIRS "."
|
|
REQUIRES ${requires}
|
|
EMBED_TXTFILES howsmyssl_com_root_cert.pem
|
|
postman_root_cert.pem)
|