Skip to content

ESP32 examples not all shown #1685

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
PerennialNovice opened this issue Oct 23, 2024 · 3 comments
Closed

ESP32 examples not all shown #1685

PerennialNovice opened this issue Oct 23, 2024 · 3 comments
Assignees

Comments

@PerennialNovice
Copy link

With the ESP32 platform come many examples, namely a camera Webserver for the ESP32-CAM modules.
Those examples are in a third level in the example tree and this level is missing in sloeber

for reference the Arduino IDE examples tree:

image

and here what I get in sloeber:

image

only the "root" level of the ESP32 folder is displayed, anything that goes to a deeper level is missing

@PerennialNovice
Copy link
Author

Can confirm this issue for v5.0 as well

image

@jantje
Copy link
Member

jantje commented Dec 14, 2024

I made the selection of the examples possible.
I tried CameraWebServer.The project was created but the build fails with

Starting C++ compile: sloeber.ino.cpp.o
"D:\arduinoPlugin\packages\esp32\tools\esp-rv32\2302/bin/riscv32-esp-elf-g++" -MMD -c "@D:\arduinoPlugin\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-632e0c2a\esp32c6/flags/cpp_flags" -Wall -Wextra -Os -Werror=return-type -DF_CPU=160000000L -DARDUINO=20302 -DARDUINO_ESP32C6_DEV -DARDUINO_ARCH_ESP32 -DARDUINO_BOARD=\"ESP32C6_DEV\" -DARDUINO_VARIANT="esp32c6" -DARDUINO_PARTITION_default -DARDUINO_HOST_OS="windows" -DARDUINO_FQBN="esp32:esp32:esp32c6:CDCOnBoot=default,CPUFreq=160,DebugLevel=none,EraseFlash=none,FlashFreq=80,FlashMode=qio,FlashSize=4M,JTAGAdapter=default,PartitionScheme=default,UploadSpeed=921600,ZigbeeMode=default" -DESP32=ESP32 -DCORE_DEBUG_LEVEL=0    -DARDUINO_USB_MODE=1 -DARDUINO_USB_CDC_ON_BOOT=0  "@D:\arduinoPlugin\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-632e0c2a\esp32c6/flags/defines" "-IR:\runtime-sloeber.product\1685\src" -iprefix "D:\arduinoPlugin\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-632e0c2a\esp32c6/include/" "@D:\arduinoPlugin\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-632e0c2a\esp32c6/flags/includes" "-ID:\arduinoPlugin\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-632e0c2a\esp32c6/qio_qspi/include" "-ID:\arduinoPlugin\packages\esp32\hardware\esp32\3.0.7\libraries\ESP32\src" "-ID:\arduinoPlugin\packages\esp32\hardware\esp32\3.0.7\variants\esp32c6" "-ID:\arduinoPlugin\packages\esp32\hardware\esp32\3.0.7\cores\esp32" "-ID:\arduinoPlugin\libraries\WiFi\1.2.7\src" -MMD -MP "-MFsrc\sloeber.ino.cpp.d" "-MTsrc\sloeber.ino.cpp.o" -D__IN_ECLIPSE__=1 "@R:\runtime-sloeber.product\1685\bin\Release/file_opts" "..\..\src\sloeber.ino.cpp" -o "src\sloeber.ino.cpp.o"     
..\..\src\sloeber.ino.cpp:8:10: fatal error: esp_camera.h: No such file or directory
    8 | #include "esp_camera.h"
      |          ^~~~~~~~~~~~~~
compilation terminated.

I fail to find the esp_camera library. Is that a Sloeber issue or .... ?

@jantje jantje self-assigned this Dec 14, 2024
jantje pushed a commit that referenced this issue Dec 15, 2024
@jantje
Copy link
Member

jantje commented Dec 15, 2024

Please reopen if something is not working out somewhere

@jantje jantje closed this as completed Dec 15, 2024
jantje pushed a commit that referenced this issue Dec 19, 2024
Without this subfolder one can create 2 instances with the same FQN and
the gui does not show the three structure
jantje pushed a commit that referenced this issue Dec 19, 2024
Basically #1685 also applies for the library HID-Project which is used
in the test issue1126LibArchiver.
issue1126LibArchiver just selects a "random" example witch due to the
change in #1685 always is a example that does not compile out of the
box.
This change selects the first found example instead of the last found
example.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants