Add camera.h/camera.cpp for TimerCamera-F OV3660 init and box-filter downscale to 96x96 grayscale. Add espressif/esp32-camera to lib_deps. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
32 lines
684 B
INI
32 lines
684 B
INI
; firmware/platformio.ini
|
|
[platformio]
|
|
default_envs = timercam
|
|
|
|
[env:timercam]
|
|
platform = espressif32@6.6.0
|
|
board = m5stack-timer-cam
|
|
framework = arduino
|
|
board_build.partitions = partitions_8mb_ota.csv
|
|
build_flags =
|
|
-DBOARD_HAS_PSRAM
|
|
-mfix-esp32-psram-cache-issue
|
|
-DCORE_DEBUG_LEVEL=3
|
|
-DCONFIG_BT_NIMBLE_ENABLED=1
|
|
-DCONFIG_SPIRAM_USE_MALLOC=1
|
|
monitor_speed = 115200
|
|
upload_speed = 921600
|
|
lib_deps =
|
|
tzapu/WiFiManager@^2.0.17
|
|
bblanchon/ArduinoJson@^7.0.0
|
|
h2zero/NimBLE-Arduino@^1.4.2
|
|
espressif/esp32-camera
|
|
|
|
[env:native]
|
|
platform = native
|
|
test_framework = unity
|
|
build_flags =
|
|
-std=c++17
|
|
-DNATIVE_TEST
|
|
lib_deps =
|
|
kochcodes/mbedtls@^3.6.2
|