Skip to content

Commit

Permalink
Platformio OTA partitioning and upload (#160) (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
easytarget authored Sep 24, 2021
1 parent eec83d6 commit 4d253bf
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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 = <IP or mDNS>
;upload_flags =
; --auth=<OTA PASSWORD>

0 comments on commit 4d253bf

Please sign in to comment.