Open Nirmata-Labs opened 3 years ago
Hi FloSGM, sure, you can post questions here of name me an email than I will contact you.
I have updated the master version to a working code. I used this to update it to a more eps-idf comapatible version. Mainly shifting the /lib to /components with addtional cmakelist.txt files
Hi jomjol, please contact me under FloSGM@t-online.de
Hi jomjol,
I tried to execute your code in VSCode - PlatformiO, but I could not get it to work. I always get the following error:
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 (2.0.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:~~~~~ src/main.cpp:20:25: note: suggested alternative: 'SDSPI_HOST_DEFAULT' sdmmc_host_t host = SDMMC_HOST_DEFAULT(); ^~~~~~ SDSPI_HOST_DEFAULT src/main.cpp:22:5: error: 'sdmmc_slot_config_t' was not declared in this scope sdmmc_slot_config_t slot_config = SDMMC_SLOT_CONFIG_DEFAULT(); ^~~~~~~ src/main.cpp:22:5: note: suggested alternative: 'sdspi_slot_config_t' sdmmc_slot_config_t slot_config = SDMMC_SLOT_CONFIG_DEFAULT(); ^~~~~~~ sdspi_slot_config_t src/main.cpp:28:64: error: 'slot_config' was not declared in this scope esp_err_t ret = esp_vfs_fat_sdmmc_mount("/sdcard", &host, &slot_config, &mount_config, &card); ^~~src/main.cpp:28:64: note: suggested alternative: 'mount_config' esp_err_t ret = esp_vfs_fat_sdmmc_mount("/sdcard", &host, &slot_config, &mount_config, &card); ^~~mount_config Compiling .pio/build/esp32cam/esp-idf/driver/rmt.c.o Compiling .pio/build/esp32cam/esp-idf/driver/rtc_io.c.o *** [.pio/build/esp32cam/esp-idf/src/main.cpp.o] Error 1 Compiling .pio/build/esp32cam/esp-idf/driver/rtc_module.c.o ==================================================== [FAILED] Took 11.08 seconds ==================================================== The terminal process "pio 'run'" terminated with exit code: 1.Terminal will be reused by tasks, press any key to close it.
Is there a way to get in contact with you because i have some questions to your code.
Kind regards FloSGM