Hello everyone.
Official example "simple_ota_example" (\Espressif\frameworks\esp-idf-v5.0\examples\system\ota) it compiles and runs without error.
I use Espressif-IDE Version: 3.0.0, and ESP-IDF v5.0.
When I copy the c file "simple_ota_example.c" into my own project that is being compiled, errors occur inside the file "simple_ota_example.c".
First error: fatal error: esp_ota_ops.h: No such file or directory
Header can be opened from Espressif-IDE (see picture)
In "CMakeLists.txt" of the project was added "set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/common_components/protocol_examples_common)"
I don't know why it is not possible to compile? I'm asking for help.
Thank you
Simple OTA - does not work in the project
Simple OTA - does not work in the project
- Attachments
-
- Screenshot 2024-08-05 212026.png (28.76 KiB) Viewed 554 times
Who is online
Users browsing this forum: Bing [Bot], Sang_Huynh and 115 guests