diff --git a/edge-impulse/ingestion-sdk-platform/sensors/ei_camera.h b/edge-impulse/ingestion-sdk-platform/sensors/ei_camera.h index 19d1d53..de5d547 100644 --- a/edge-impulse/ingestion-sdk-platform/sensors/ei_camera.h +++ b/edge-impulse/ingestion-sdk-platform/sensors/ei_camera.h @@ -84,7 +84,33 @@ #define V_FLIP 1 -#elif defined(CAMERA_MODEL_M5STACK_PSRAM) +#elif defined(CAMERA_MODEL_A_M5STACK_PSRAM) + // + // ESP32 M5STACK + // + #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 + // M5 Stack status/illumination LED details unknown/unclear + // #define LED_PIN x // Status led + // #define LED_ON HIGH // + // #define LED_OFF LOW // + // #define LAMP_PIN x // LED FloodLamp. + +#elif defined(CAMERA_MODEL_B_M5STACK_PSRAM) // // ESP32 M5STACK // @@ -222,4 +248,4 @@ class EiCameraESP32 : public EiCamera { void get_resolutions(ei_device_snapshot_resolutions_t **res, uint8_t *res_num); }; -#endif \ No newline at end of file +#endif