Add http_parser (new component) dependency

This commit is contained in:
Mahavir Jain 2021-12-31 13:50:55 +05:30
parent 0da44db394
commit 8e94cf2bb1
4 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ idf_component_register(SRCS "${srcs}"
INCLUDE_DIRS . esp-tls-crypto
PRIV_INCLUDE_DIRS "private_include"
REQUIRES mbedtls
PRIV_REQUIRES lwip nghttp)
PRIV_REQUIRES lwip http_parser)
if(CONFIG_ESP_TLS_USING_WOLFSSL)
idf_component_get_property(wolfssl esp-wolfssl COMPONENT_LIB)

View File

@ -4,5 +4,5 @@ idf_component_register(SRCS "esp_http_client.c"
"lib/http_utils.c"
INCLUDE_DIRS "include"
PRIV_INCLUDE_DIRS "lib/include"
REQUIRES nghttp
REQUIRES http_parser
PRIV_REQUIRES tcp_transport)

View File

@ -7,5 +7,5 @@ idf_component_register(SRCS "src/httpd_main.c"
"src/util/ctrl_sock.c"
INCLUDE_DIRS "include"
PRIV_INCLUDE_DIRS "src/port/esp32" "src/util"
REQUIRES nghttp # for http_parser.h
REQUIRES http_parser # for http_parser.h
PRIV_REQUIRES lwip mbedtls esp_timer)

View File

@ -8,5 +8,5 @@ endif()
idf_component_register(SRCS "esp_websocket_client.c"
INCLUDE_DIRS "include"
REQUIRES lwip esp-tls tcp_transport nghttp
REQUIRES lwip esp-tls tcp_transport http_parser
PRIV_REQUIRES esp_timer)