From 4d253bf1800efa85d312de882be023c9f5db20d6 Mon Sep 17 00:00:00 2001 From: Owen Carter Date: Fri, 24 Sep 2021 12:45:16 +0200 Subject: [PATCH] Platformio OTA partitioning and upload (#160) (#165) --- platformio.ini | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/platformio.ini b/platformio.ini index d8f71ba..624baf5 100644 --- a/platformio.ini +++ b/platformio.ini @@ -11,8 +11,16 @@ [platformio] src_dir = ./ -[env:esp32cam] +[env:esp32dev] platform = espressif32 -board = esp32cam -board_build.partitions = default.csv +board = esp32dev +board_build.partitions = min_spiffs.csv framework = arduino +build_flags = + -DBOARD_HAS_PSRAM + -mfix-esp32-psram-cache-issue +; For OTA uploading uncomment the next lines and add the IP address or mDNS name of the camera module, and the OTA password +;upload_protocol = espota +;upload_port = +;upload_flags = +; --auth=