Adding New ESP IDF Components to the Build Configuration #13384
-
Hi, I'm using ESP-IDF 4.4 to compile firmware version 1.20.0 for a project. Currently, I'm attempting to add new ESP-IDF components to main.c and then compile the code. It might be due to my lack of knowledge of the firmware, but when I add, for example, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
My mistake, I missed Just add:
to |
Beta Was this translation helpful? Give feedback.
My mistake, I missed
REQUIRES nghttp # for http_parser.h
in esp_http_serverCMakeLists.txt
Just add:
list(APPEND IDF_COMPONENTS nghttp)
to
esp32\main\CMakeLists.txt
– this does the trick