Open oscaracena opened 3 years ago
Its easy to add support for this camera (which has 4 MiB of PSRAM). Just, add a new pinout definition (in ESP32_Camera_Sender/src/main.cpp):
ESP32_Camera_Sender/src/main.cpp
#elif defined(CAMERA_MODEL_M5STACK_MODEL_B) #define PWDN_GPIO_NUM -1 #define RESET_GPIO_NUM 15 #define XCLK_GPIO_NUM 27 #define SIOD_GPIO_NUM 22 #define SIOC_GPIO_NUM 23 #define Y9_GPIO_NUM 19 #define Y8_GPIO_NUM 36 #define Y7_GPIO_NUM 18 #define Y6_GPIO_NUM 39 #define Y5_GPIO_NUM 5 #define Y4_GPIO_NUM 34 #define Y3_GPIO_NUM 35 #define Y2_GPIO_NUM 32 #define VSYNC_GPIO_NUM 25 #define HREF_GPIO_NUM 26 #define PCLK_GPIO_NUM 21
And in platformio.ini, set the flags to enable the PSRAM:
platformio.ini
build_flags = -DM5STACK -DBOARD_HAS_PSRAM
Cheers!
Its easy to add support for this camera (which has 4 MiB of PSRAM). Just, add a new pinout definition (in
ESP32_Camera_Sender/src/main.cpp
):And in
platformio.ini
, set the flags to enable the PSRAM:Cheers!