forked from easytarget/esp32-cam-webserver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
49 lines (45 loc) · 2.36 KB
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
; PlatformIO Project Configuration File
; https://docs.platformio.org/page/projectconf.html
; ================================================================
; = =
; = DO NOT USE PLATFORMIO FOR THIS PROJECT =
; = =
; = 14 March 2022 : When built with Platformio this project =
; = does not run properly; any streams you start will fail =
; = with 'ESP_ERR_HTTPD_RESP_SEND' in the serial console and =
; = ERR_INVALID_CHUNK_ENCODING 200 (OK) in the browser console.=
; = =
; = This is a difficult issue, and currently unresolved. =
; = See: =
; = https://github.com/easytarget/esp32-cam-webserver/issues/218 =
; = =
; = The focus of thei project is to show a expanded example =
; = using the official Arduino IDE. PlatformIO is, and has =
; = always been, a nice-to-have; so I will be releasing 4.x =
; = without platformio support. See the above github issue if =
; = you are able to help fixing this. =
; = =
; ================================================================
;
; The esp32-cam-webserver project is intended to be easily compilable
; with the stock Arduino IDE.
; - Maintaining compatibility with other development environments
; is important, but I wont accept changes to the PlatformIO build that
; break compatibilty with the stock IDE. Eg by using non-standard
; partition schemes or overriding Arduino defined limits, etc.
[platformio]
src_dir = ./
[env:esp32dev]
platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-upstream
platform_packages = framework-arduinoespressif32@https://github.com/espressif/arduino-esp32.git#2.0.3
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>