diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index a8c3d16..1e68ddc 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -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") diff --git a/test/test_camera.c b/test/test_camera.c index c080509..c78dd14 100644 --- a/test/test_camera.c +++ b/test/test_camera.c @@ -7,6 +7,7 @@ #include #include "esp_log.h" #include "driver/i2c.h" +#include "esp_timer.h" #include "esp_camera.h" @@ -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