-
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Your template and this example for simply webserver work separately for me.
But when I try to merge those two projects I have the problems. At first when I add include libraries in your template, several libraries requiries add it to CMakeLists.txt.
set(srcs
"main.c"
"sketch.cpp")
set(requires "bluepad32" "bluepad32_arduino" "arduino" "btstack")
idf_component_register(SRCS "${srcs}"
INCLUDE_DIRS "."
REQUIRES "${requires}" "esp_http_server" "spiffs" "esp_wifi")
OK, but with #include "connect_wifi.h" adding
"esp_wifi" doesn't help.
D:/Arduino/ESP32/ESP-IDF/robot8/main/main.c:31:10: fatal error: connect_wifi.h: No such file or directory 31 | #include "connect_wifi.h" | ^~~~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed.
It seems the conflict with standard esp-idf libraries and arduino.
What am I doing wrong?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels