Skip to content

Compiling for ESP32-cam, using PlatformIO in 2023 #1

Open
@aranFish

Description

@aranFish

Dear Pierre,

Thank you for sharing your code to link an OV7725 image sensor with an ESP32-CAM. I am attempting to do the same task using your code, but am struggling to get the code to compile correctly using PlatformIO.

If I compile your code 'as-is', I get three main types of error:

src/ov2640.c:578:14: error: 'TAG' undeclared (first use in this function); did you mean 'YAVG'?. This error occurs in nearly all the .c files in the src folder, that contain these lines of code:
Screenshot 2023-11-05 at 10 35 23

src/main.cpp:92:33: error: 'union arduino_event_info_t' has no member named 'disconnected'; did you mean 'eth_connected'?. This error occurs in main.cpp

src/main.cpp:111:56: error: cannot convert 'esp_interface_t' to 'wifi_interface_t, again in main.cpp.

I am using an ESP32-CAM AI-Thinker board. Thank you for your help, and already sharing your code - it's giving me a great head start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions