Skip to content

Commit b659d4c

Browse files
fix(test): Update test app for latest esp-idf
1 parent 6b68415 commit b659d4c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

test/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
idf_component_register(SRC_DIRS .
22
PRIV_INCLUDE_DIRS .
3-
PRIV_REQUIRES test_utils esp32-camera nvs_flash
3+
PRIV_REQUIRES test_utils esp32-camera nvs_flash mbedtls esp_timer
44
EMBED_TXTFILES pictures/testimg.jpeg pictures/test_outside.jpeg pictures/test_inside.jpeg)
5+
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")

test/test_camera.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include <mbedtls/base64.h>
88
#include "esp_log.h"
99
#include "driver/i2c.h"
10+
#include "esp_timer.h"
1011

1112
#include "esp_camera.h"
1213

@@ -18,6 +19,8 @@
1819
#define BOARD_CAMERA_MODEL_ESP32_S3_EYE 1
1920
#endif
2021

22+
#define portTICK_RATE_MS portTICK_PERIOD_MS
23+
2124
// WROVER-KIT PIN Map
2225
#if BOARD_WROVER_KIT
2326

0 commit comments

Comments
 (0)