esp32cam

rotscher
Posts: 4
Joined: Thu Apr 14, 2022 1:11 pm

esp32cam

Postby rotscher » Thu Apr 14, 2022 1:31 pm

Hi,

I'm currently trying to bring up an esp32cam board using pio with framework=espidf.

I'm setting up the project according to the guide here https://github.com/espressif/esp32-camera. I took into account all the mentioned hints to bring it up in this constellation. But I'm ending always with the linking errors below:

Code: Select all

> Executing task: C:\Users\grobot\.platformio\penv\Scripts\platformio.exe run <

Processing esp32cam (platform: espressif32; board: esp32cam; framework: espidf)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32cam.html
PLATFORM: Espressif 32 (3.5.0) > AI Thinker ESP32-CAM
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
 - framework-espidf 3.40302.0 (4.3.2)
 - tool-cmake 3.16.4
 - tool-esptoolpy 1.30100.210531 (3.1.0)
 - tool-idf 1.0.1
 - tool-mconf 1.4060000.20190628 (406.0.0)
 - tool-ninja 1.9.0
 - toolchain-esp32ulp 1.22851.191205 (2.28.51)
 - toolchain-riscv32-esp 8.4.0+2021r2-patch2
 - toolchain-xtensa-esp32 8.4.0+2021r2-patch2
 - toolchain-xtensa-esp32s2 8.4.0+2021r2-patch2
WARNING: You are using pip version 22.0.3; however, version 22.0.4 is available.
You should consider upgrading via the 'C:\Users\grobot\.platformio\penv\Scripts\python.exe -m pip install --upgrade pip' command.
Reading CMake configuration...
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 1 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <esp32-camera> 2.0.0
Building in release mode
Linking .pio\build\esp32cam\firmware.elf
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(ov2640.o): in function `set_xclk':
D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/sensors/ov2640.c:502: undefined reference to `xclk_timer_conf'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(nt99141.o): in function `set_xclk':
D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/sensors/nt99141.c:932: undefined reference to `xclk_timer_conf'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(ov3660.o): in function `set_xclk':
D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/sensors/ov3660.c:965: undefined reference to `xclk_timer_conf'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(ov5640.o): in function `set_xclk':
D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/sensors/ov5640.c:1042: undefined reference to `xclk_timer_conf'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(esp_camera.o):(.literal.camera_probe+0x1c): undefined reference to `camera_enable_out_clock'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(esp_camera.o):(.literal.camera_probe+0x20): undefined reference to `camera_disable_out_clock'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(esp_camera.o): in function `camera_probe':
D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/driver/esp_camera.c:138: undefined reference to `camera_enable_out_clock'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/driver/esp_camera.c:169: undefined reference to `camera_disable_out_clock'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/driver/esp_camera.c:198: undefined reference to `camera_disable_out_clock'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(esp_camera.o): in function `esp_camera_deinit':
D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/driver/esp_camera.c:211: undefined reference to `camera_disable_out_clock'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(bf3005.o):(.literal.set_xclk+0x4): undefined reference to `xclk_timer_conf'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(bf3005.o): in function `set_xclk':
D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/sensors/bf3005.c:461: undefined reference to `xclk_timer_conf'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(ov7725.o): in function `set_xclk':
D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/sensors/ov7725.c:486: undefined reference to `xclk_timer_conf'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(cam_hal.o):(.literal.cam_start_frame+0x4): undefined reference to `ll_cam_start'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(cam_hal.o):(.literal.cam_start_frame+0x8): undefined reference to `ll_cam_do_vsync'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(cam_hal.o):(.literal.cam_dma_config+0x38): undefined reference to `ll_cam_dma_sizes'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(cam_hal.o):(.literal.cam_dma_config+0x3c): undefined reference to `ll_cam_get_dma_align'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(cam_hal.o):(.literal.cam_init+0x14): undefined reference to `ll_cam_set_pin'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(cam_hal.o):(.literal.cam_init+0x18): undefined reference to `ll_cam_config'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(cam_hal.o):(.literal.cam_stop+0x0): undefined reference to `ll_cam_vsync_intr_enable'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(cam_hal.o):(.literal.cam_stop+0x4): undefined reference to `ll_cam_stop'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(cam_hal.o):(.literal.cam_deinit+0x0): undefined reference to `ll_cam_deinit'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(cam_hal.o):(.literal.cam_config+0x24): undefined reference to `ll_cam_set_sample_mode'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(cam_hal.o):(.literal.cam_config+0x28): undefined reference to `ll_cam_init_isr'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(cam_hal.o):(.literal.cam_task+0x10): undefined reference to `ll_cam_memcpy'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(cam_hal.o): in function `cam_start_frame':
D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/driver/cam_hal.c:79: undefined reference to `ll_cam_start'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/driver/cam_hal.c:81: undefined reference to `ll_cam_do_vsync'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(cam_hal.o): in function `cam_dma_config':
D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/driver/cam_hal.c:240: undefined reference to `ll_cam_dma_sizes'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/driver/cam_hal.c:255: undefined reference to `ll_cam_get_dma_align'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(cam_hal.o): in function `cam_init':
D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/driver/cam_hal.c:315: undefined reference to `ll_cam_set_pin'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/driver/cam_hal.c:317: undefined reference to `ll_cam_config'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(cam_hal.o): in function `cam_stop':
D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/driver/cam_hal.c:329: undefined reference to `ll_cam_vsync_intr_enable'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/driver/cam_hal.c:329: undefined reference to `ll_cam_stop'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(cam_hal.o): in function `cam_deinit':
D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/driver/cam_hal.c:425: undefined reference to `ll_cam_deinit'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(cam_hal.o): in function `cam_config':
D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/driver/cam_hal.c:343: undefined reference to `ll_cam_set_sample_mode'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/driver/cam_hal.c:374: undefined reference to `ll_cam_init_isr'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(cam_hal.o): in function `cam_start':
D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/driver/cam_hal.c:381: undefined reference to `ll_cam_vsync_intr_enable'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(cam_hal.o): in function `cam_task':
D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/driver/cam_hal.c:134: undefined reference to `ll_cam_stop'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/driver/cam_hal.c:141: undefined reference to `ll_cam_memcpy'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/driver/cam_hal.c:145: undefined reference to `ll_cam_stop'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/driver/cam_hal.c:147: undefined reference to `ll_cam_stop'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/driver/cam_hal.c:160: undefined reference to `ll_cam_memcpy'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32cam\libce6\libesp32-camera.a(cam_hal.o): in function `cam_take':
D:\Projects\esp32cam\esp32cam_1/.pio/libdeps/esp32cam/esp32-camera/driver/cam_hal.c:464: undefined reference to `ll_cam_memcpy'
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\esp32cam\firmware.elf] Error 1
============================================================================= [FAILED] Took 23.09 seconds =============================================================================
The terminal process "C:\Users\grobot\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.
It seems that some components are not compiled? Does anyone has a idea how to solve this?
Thanks!

rpiloverbd
Posts: 101
Joined: Tue Mar 22, 2022 5:23 am

Re: esp32cam

Postby rpiloverbd » Fri Apr 15, 2022 10:12 am


moefear85
Posts: 41
Joined: Sun Sep 05, 2021 4:55 pm

Re: esp32cam

Postby moefear85 » Fri Apr 15, 2022 8:22 pm

"undefined reference" in general means the include files (in this case for the camera), are being found, but the actual c/c++ source code files of the referenced libraries (in this case for the camera) are not being compiled, ie not being considered by the build system (in this case platformio). Hence you must have skipped something or typed something either wrong or in the wrong location.

actually, after closer inspection of your logs, platformio is correctly picking up the source files and compiling them. It simply isn't finding the specific functions it is looking for. This hints that you might have cloned something wrong, such as the wrong tag/branch.

Or more probably, you've configured sdkconfig wrong, or used an incorrect sdkconfig, one that doesn't take the camera into consideration. After you add/remove/modify libs, including esp32-camera, you have to regenerate the sdkconfig so it shows you the section for the camera. Make sure you configure that correctly. If you don't see it, then you definately need to update your sdkconfig. Try deleting it first, then redo menuconfig.

moefear85
Posts: 41
Joined: Sun Sep 05, 2021 4:55 pm

Re: esp32cam

Postby moefear85 » Fri Apr 15, 2022 8:38 pm

after some research, I can assure you all the functions that are not being found, are in the files "target/esp32/ll_cam.c" and "target/xclk.c" in your esp32-camera folder. So those files specifically are not being picked up. I don't know why. You'll have to find a way to get the build-system to pick them up and compile them. This might not be a mistake on your part, rather an unexpected difference in behavior between various esp-idf and platformio versions.

But if you don't have those folders/files in your esp32-camera folder, then you definately cloned wrong.

Or, if you cloned right... then you might have inadvertently changed the value of IDF_TARGET. If you look at CMakeLists.txt within esp32-camera, you'll notice it includes those specific folders/files, but only if IDF_TARGET equals "esp32" or "esp32s2" or "esp32s". So you probably changed the value incorrectly to include the word "cam". In that case find out what it's exact value is, and modify the corresponding line that says:

Code: Select all

if(IDF_TARGET STREQUAL "esp32")

rotscher
Posts: 4
Joined: Thu Apr 14, 2022 1:11 pm

Re: esp32cam

Postby rotscher » Mon Apr 18, 2022 9:17 am

I have tried the following but until now without success.

1. When I asked the question first I have used pio and selected the "AI Thinker ESP32-CAM" board for the project. I don't cloned the esp32-camera from github I only copied the take_picture.c in then main file and used

Code: Select all

[env]
lib_deps =
  esp32-camera
and menuconfig for the camera also worked using Kconfig.projbuild from github. But I was getting the errors mentioned in my first post.

2. Then I started using the "Espressif ESP32 Dev Module" board in pio and cloned the esp32-camera to the project lib dir as described on github:

Code: Select all

cd $project\lib
git submodule add -b master https://github.com/espressif/esp32-camera.git
and added in platform.ini file

Code: Select all

build_flags =
   -I../lib/esp32-camera
I setup the Kconfig.projbuild and configured the camera and PSRAM in menuconfig. It compiles with the same errors as in my first try:

Code: Select all

> Executing task: C:\Users\grobot\.platformio\penv\Scripts\platformio.exe run --environment esp32dev <

CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (3.5.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
 - framework-espidf 3.40302.0 (4.3.2)
 - tool-cmake 3.16.4
 - tool-esptoolpy 1.30100.210531 (3.1.0)
 - tool-idf 1.0.1
 - tool-mconf 1.4060000.20190628 (406.0.0)
 - tool-ninja 1.9.0
 - toolchain-esp32ulp 1.22851.191205 (2.28.51)
 - toolchain-riscv32-esp 8.4.0+2021r2-patch2
 - toolchain-xtensa-esp32 8.4.0+2021r2-patch2
 - toolchain-xtensa-esp32s2 8.4.0+2021r2-patch2
WARNING: You are using pip version 22.0.3; however, version 22.0.4 is available.
You should consider upgrading via the 'C:\Users\grobot\.platformio\penv\Scripts\python.exe -m pip install --upgrade pip' command.
Reading CMake configuration...
Generating assembly for certificate bundle...
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 1 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <esp32-camera> 2.0.0
Building in release mode
Compiling .pio\build\esp32dev\src\main.o
Generating LD script .pio\build\esp32dev\esp32_out.ld
Generating partitions .pio\build\esp32dev\partitions.bin

... REMOVED ...

Compiling .pio\build\esp32dev\libe18\esp32-camera\conversions\esp_jpg_decode.o
Compiling .pio\build\esp32dev\libe18\esp32-camera\conversions\jpge.o
Compiling .pio\build\esp32dev\libe18\esp32-camera\conversions\to_bmp.o
cc1.exe: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
Compiling .pio\build\esp32dev\libe18\esp32-camera\conversions\to_jpg.o
Compiling .pio\build\esp32dev\libe18\esp32-camera\conversions\yuv.o
Archiving .pio\build\esp32dev\bootloader\esp-idf\soc\libsoc.a
cc1.exe: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
cc1.exe: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
Compiling .pio\build\esp32dev\libe18\esp32-camera\driver\cam_hal.o
Archiving .pio\build\esp32dev\bootloader\esp-idf\spi_flash\libspi_flash.a
cc1.exe: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
Compiling .pio\build\esp32dev\libe18\esp32-camera\driver\esp_camera.o
Compiling .pio\build\esp32dev\libe18\esp32-camera\driver\sccb.o
Linking .pio\build\esp32dev\bootloader.elf
Compiling .pio\build\esp32dev\libe18\esp32-camera\driver\sensor.o
Compiling .pio\build\esp32dev\libe18\esp32-camera\sensors\bf20a6.o
Compiling .pio\build\esp32dev\libe18\esp32-camera\sensors\bf3005.o
cc1.exe: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
cc1.exe: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
cc1.exe: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
Compiling .pio\build\esp32dev\libe18\esp32-camera\sensors\gc0308.o
cc1.exe: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
cc1.exe: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
Building .pio\build\esp32dev\bootloader.bin
cc1.exe: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
Compiling .pio\build\esp32dev\libe18\esp32-camera\sensors\gc032a.o
esptool.py v3.1
Merged 1 ELF section
cc1.exe: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
Compiling .pio\build\esp32dev\libe18\esp32-camera\sensors\gc2145.o
Compiling .pio\build\esp32dev\libe18\esp32-camera\sensors\nt99141.o
Compiling .pio\build\esp32dev\libe18\esp32-camera\sensors\ov2640.o
Compiling .pio\build\esp32dev\libe18\esp32-camera\sensors\ov3660.o
cc1.exe: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
Compiling .pio\build\esp32dev\libe18\esp32-camera\sensors\ov5640.o
cc1.exe: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
Compiling .pio\build\esp32dev\libe18\esp32-camera\sensors\ov7670.o
cc1.exe: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
Compiling .pio\build\esp32dev\libe18\esp32-camera\sensors\ov7725.o
cc1.exe: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
cc1.exe: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
cc1.exe: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
cc1.exe: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
Archiving .pio\build\esp32dev\libe18\libesp32-camera.a
Linking .pio\build\esp32dev\firmware.elf
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(ov2640.o):(.literal.set_xclk+0x4): undefined reference to `xclk_timer_conf'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(ov2640.o): in function `set_xclk':
D:\Projects\esp32cam\esp32cam_2/lib/esp32-camera/sensors/ov2640.c:502: undefined reference to `xclk_timer_conf'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(esp_camera.o):(.literal.camera_probe+0x1c): undefined reference to `camera_enable_out_clock'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(esp_camera.o):(.literal.camera_probe+0x20): undefined reference to `camera_disable_out_clock'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(esp_camera.o): in function `camera_probe':
D:\Projects\esp32cam\esp32cam_2/lib/esp32-camera/driver/esp_camera.c:144: undefined reference to `camera_enable_out_clock'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:\Projects\esp32cam\esp32cam_2/lib/esp32-camera/driver/esp_camera.c:175: undefined reference to `camera_disable_out_clock'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:\Projects\esp32cam\esp32cam_2/lib/esp32-camera/driver/esp_camera.c:204: undefined reference to `camera_disable_out_clock'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(esp_camera.o): in function `esp_camera_deinit':
D:\Projects\esp32cam\esp32cam_2/lib/esp32-camera/driver/esp_camera.c:217: undefined reference to `camera_disable_out_clock'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(cam_hal.o):(.literal.cam_start_frame+0x4): undefined reference to `ll_cam_start'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(cam_hal.o):(.literal.cam_start_frame+0x8): undefined reference to `ll_cam_do_vsync'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(cam_hal.o):(.literal.cam_dma_config+0x38): undefined reference to `ll_cam_dma_sizes'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(cam_hal.o):(.literal.cam_dma_config+0x3c): undefined reference to `ll_cam_get_dma_align'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(cam_hal.o):(.literal.cam_init+0x14): undefined reference to `ll_cam_set_pin'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(cam_hal.o):(.literal.cam_init+0x18): undefined reference to `ll_cam_config'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(cam_hal.o):(.literal.cam_stop+0x0): undefined reference to `ll_cam_vsync_intr_enable'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(cam_hal.o):(.literal.cam_stop+0x4): undefined reference to `ll_cam_stop'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(cam_hal.o):(.literal.cam_deinit+0x0): undefined reference to `ll_cam_deinit'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(cam_hal.o):(.literal.cam_config+0x28): undefined reference to `ll_cam_set_sample_mode'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(cam_hal.o):(.literal.cam_config+0x2c): undefined reference to `ll_cam_init_isr'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(cam_hal.o):(.literal.cam_task+0x10): undefined reference to `ll_cam_memcpy'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(cam_hal.o): in function `cam_start_frame':
D:\Projects\esp32cam\esp32cam_2/lib/esp32-camera/driver/cam_hal.c:91: undefined reference to `ll_cam_start'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:\Projects\esp32cam\esp32cam_2/lib/esp32-camera/driver/cam_hal.c:93: undefined reference to `ll_cam_do_vsync'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(cam_hal.o): in function `cam_dma_config':
D:\Projects\esp32cam\esp32cam_2/lib/esp32-camera/driver/cam_hal.c:252: undefined reference to `ll_cam_dma_sizes'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:\Projects\esp32cam\esp32cam_2/lib/esp32-camera/driver/cam_hal.c:267: undefined reference to `ll_cam_get_dma_align'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(cam_hal.o): in function `cam_init':
D:\Projects\esp32cam\esp32cam_2/lib/esp32-camera/driver/cam_hal.c:327: undefined reference to `ll_cam_set_pin'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:\Projects\esp32cam\esp32cam_2/lib/esp32-camera/driver/cam_hal.c:329: undefined reference to `ll_cam_config'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(cam_hal.o): in function `cam_stop':
D:\Projects\esp32cam\esp32cam_2/lib/esp32-camera/driver/cam_hal.c:341: undefined reference to `ll_cam_vsync_intr_enable'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:\Projects\esp32cam\esp32cam_2/lib/esp32-camera/driver/cam_hal.c:341: undefined reference to `ll_cam_stop'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(cam_hal.o): in function `cam_deinit':
D:\Projects\esp32cam\esp32cam_2/lib/esp32-camera/driver/cam_hal.c:437: undefined reference to `ll_cam_deinit'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(cam_hal.o): in function `cam_config':
D:\Projects\esp32cam\esp32cam_2/lib/esp32-camera/driver/cam_hal.c:355: undefined reference to `ll_cam_set_sample_mode'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:\Projects\esp32cam\esp32cam_2/lib/esp32-camera/driver/cam_hal.c:386: undefined reference to `ll_cam_init_isr'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(cam_hal.o): in function `cam_start':
D:\Projects\esp32cam\esp32cam_2/lib/esp32-camera/driver/cam_hal.c:393: undefined reference to `ll_cam_vsync_intr_enable'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(cam_hal.o): in function `cam_task':
D:\Projects\esp32cam\esp32cam_2/lib/esp32-camera/driver/cam_hal.c:146: undefined reference to `ll_cam_stop'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:\Projects\esp32cam\esp32cam_2/lib/esp32-camera/driver/cam_hal.c:153: undefined reference to `ll_cam_memcpy'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:\Projects\esp32cam\esp32cam_2/lib/esp32-camera/driver/cam_hal.c:157: undefined reference to `ll_cam_stop'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:\Projects\esp32cam\esp32cam_2/lib/esp32-camera/driver/cam_hal.c:159: undefined reference to `ll_cam_stop'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:\Projects\esp32cam\esp32cam_2/lib/esp32-camera/driver/cam_hal.c:172: undefined reference to `ll_cam_memcpy'
c:/users/grobot/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe18\libesp32-camera.a(cam_hal.o): in function `cam_take':
D:\Projects\esp32cam\esp32cam_2/lib/esp32-camera/driver/cam_hal.c:476: undefined reference to `ll_cam_memcpy'
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\esp32dev\firmware.elf] Error 1
============================================================================= [FAILED] Took 99.85 seconds =============================================================================
The terminal process "C:\Users\grobot\.platformio\penv\Scripts\platformio.exe 'run', '--environment', 'esp32dev'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.
It compiles all files in the /conversions, /driver and /sensors directories but not xclk.c and ll_cam.c from the /target directory.
I've played around with the CMakeLists.txt in the /lib/esp32-camera directory but it seems that it isn't recognized by pio during build because I've renamed it and compiling worked the same.

What I don't understand is from where the build process is getting the infos how to compile /lib/esp32-cam?

rotscher
Posts: 4
Joined: Thu Apr 14, 2022 1:11 pm

Re: esp32cam

Postby rotscher » Tue Apr 19, 2022 8:29 am

I was able to compile the esp32cam code by adding the target directory in the library.json file under build -> srcFilter.
At the moment I'm not able to test the code on a module. But I hope it will work...

Code: Select all

{
  "name": "esp32-camera",
  "version": "2.0.0",
  "keywords": "esp32, camera, espressif, esp32-cam",
  "description": "ESP32 compatible driver for OV2640, OV3660, OV5640, OV7670 and OV7725 image sensors.",
  "repository": {
    "type": "git",
    "url": "https://github.com/espressif/esp32-camera"
  },
  "frameworks": "espidf",
  "platforms": "*",
  "build": {
    "flags": [
      "-Idriver/include",
      "-Iconversions/include",
      "-Idriver/private_include",
      "-Iconversions/private_include",
      "-Isensors/private_include",
      "-Itarget/private_include",
      "-fno-rtti"
    ],
    "includeDir": ".",
    "srcDir": ".",
    "srcFilter": ["-<*>", "+<driver>", "+<conversions>", "+<sensors>", "+<target>"]
  }
}

rotscher
Posts: 4
Joined: Thu Apr 14, 2022 1:11 pm

Re: esp32cam

Postby rotscher » Tue Apr 19, 2022 7:03 pm

I was finally able to run the demo code on a ESP32-CAM module with the following setup:

- in pio I've used the Espressif ESP32 Dev Module and Espressif IoT Development Framework
- cloned https://github.com/espressif/esp32-camera.git to the lib folder in the project
- in platform.ini added build_flags = -I../lib/esp32-camera
- added Kconfig.projbuild and configured PSRAM and camera as described on https://github.com/espressif/esp32-camera
- deleted the folders /esp32s2 and /esp32s3 (not used and removed the errors for tjpgd.h)
- in library.json in the lib folder added "+<target>" under srcFolder

The complete library.json

Code: Select all

{
  "name": "esp32-camera",
  "version": "2.0.0",
  "keywords": "esp32, camera, espressif, esp32-cam",
  "description": "ESP32 compatible driver for OV2640, OV3660, OV5640, OV7670 and OV7725 image sensors.",
  "repository": {
    "type": "git",
    "url": "https://github.com/espressif/esp32-camera"
  },
  "frameworks": "espidf",
  "platforms": "*",
  "build": {
    "flags": [
      "-Idriver/include",
      "-Iconversions/include",
      "-Idriver/private_include",
      "-Iconversions/private_include",
      "-Isensors/private_include",
      "-Itarget/private_include",
      "-fno-rtti"
    ],
    "includeDir": ".",
    "srcDir": ".",
    "srcFilter": ["-<*>", "+<driver>", "+<conversions>", "+<sensors>", "+<target>"]
  }
}

crstrand
Posts: 1
Joined: Sun Jun 04, 2023 3:58 pm

Re: esp32cam

Postby crstrand » Sun Jun 04, 2023 4:09 pm

Thank you so much rotscher.
I was having SO much trouble with this recently. Your instructions got me 99% of the way there.
Although I deleted the esp32s2 and esp32s3 directories under esp32-camera\lib\esp32-camera\target, I also had to remove esp32-camera\lib\esp32-camera\target\tjpgd.c because it seemed that Platformio(?) wanted to compile tjpgd.c even though I had "esp32" selected in skdconfig.esp32cam
CONFIG_IDF_TARGET="esp32"
CONFIG_IDF_TARGET_ESP32=y

JackTan
Posts: 1
Joined: Sun Feb 04, 2024 8:28 am

Re: esp32cam

Postby JackTan » Sun Feb 04, 2024 8:36 am

in the file: library.json and this line: "-Itarget/jpeg_include" into flags

Who is online

Users browsing this forum: Majestic-12 [Bot] and 127 guests