mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
Add ESP_KEY_SOURCE_BUFFER and ESP_KEY_SOURCE_PSA key sources so all hardware backends (DS, ECDSA, secure element) are accessed via PSA key IDs through a single esp_tls_cfg_t.client_key field.
18 lines
679 B
CMake
18 lines
679 B
CMake
if(NOT ${IDF_TARGET} STREQUAL "linux")
|
|
set(req lwip esp_event esp_security)
|
|
else()
|
|
set(req linux esp_event esp_security)
|
|
endif()
|
|
|
|
idf_component_register(SRCS "esp_http_client.c"
|
|
"lib/http_auth.c"
|
|
"lib/http_header.c"
|
|
"lib/http_utils.c"
|
|
INCLUDE_DIRS "include"
|
|
PRIV_INCLUDE_DIRS "lib/include"
|
|
# lwip is a public requirement because esp_http_client.h includes sys/socket.h
|
|
REQUIRES ${req}
|
|
PRIV_REQUIRES tcp_transport http_parser)
|
|
|
|
idf_define_esp_err_codes(HEADERS include/esp_http_client.h)
|