mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 09:09:10 -04:00
Static task creation on Linux target had issues with insufficient stack memory allocation. Type of `StackType_t` is `unsigned long` and hence it must be considered during stack memory allocation. Fix ensures proper working of simple HTTP server example.
16 lines
636 B
CMake
16 lines
636 B
CMake
set(priv_req mbedtls lwip esp_timer)
|
|
set(priv_inc_dir "src/util" "src/port/esp32")
|
|
set(requires http_parser esp_event)
|
|
|
|
idf_component_register(SRCS "src/httpd_main.c"
|
|
"src/httpd_parse.c"
|
|
"src/httpd_sess.c"
|
|
"src/httpd_txrx.c"
|
|
"src/httpd_uri.c"
|
|
"src/httpd_ws.c"
|
|
"src/util/ctrl_sock.c"
|
|
INCLUDE_DIRS "include"
|
|
PRIV_INCLUDE_DIRS ${priv_inc_dir}
|
|
REQUIRES ${requires}
|
|
PRIV_REQUIRES ${priv_req})
|