Browse Source

fix(test): Update test app for latest esp-idf

pull/740/head
Tomas Rezucha 2 months ago
parent
commit
b659d4c925
  1. 3
      test/CMakeLists.txt
  2. 3
      test/test_camera.c

3
test/CMakeLists.txt

@ -1,4 +1,5 @@ @@ -1,4 +1,5 @@
idf_component_register(SRC_DIRS .
PRIV_INCLUDE_DIRS .
PRIV_REQUIRES test_utils esp32-camera nvs_flash
PRIV_REQUIRES test_utils esp32-camera nvs_flash mbedtls esp_timer
EMBED_TXTFILES pictures/testimg.jpeg pictures/test_outside.jpeg pictures/test_inside.jpeg)
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")

3
test/test_camera.c

@ -7,6 +7,7 @@ @@ -7,6 +7,7 @@
#include <mbedtls/base64.h>
#include "esp_log.h"
#include "driver/i2c.h"
#include "esp_timer.h"
#include "esp_camera.h"
@ -18,6 +19,8 @@ @@ -18,6 +19,8 @@
#define BOARD_CAMERA_MODEL_ESP32_S3_EYE 1
#endif
#define portTICK_RATE_MS portTICK_PERIOD_MS
// WROVER-KIT PIN Map
#if BOARD_WROVER_KIT

Loading…
Cancel
Save