1+ ; PlatformIO Project Configuration File
2+ ; https://docs.platformio.org/page/projectconf.html
3+
4+ ; ================================================================
5+ ; = =
6+ ; = DO NOT USE PLATFORMIO FOR THIS PROJECT =
7+ ; = =
8+ ; = 14 March 2022 : When built with Platformio this project =
9+ ; = does not run properly; any streams you start will fail =
10+ ; = with 'ESP_ERR_HTTPD_RESP_SEND' in the serial console and =
11+ ; = ERR_INVALID_CHUNK_ENCODING 200 (OK) in the browser console.=
12+ ; = =
13+ ; = This is a difficult issue, and currently unresolved. =
14+ ; = See: =
15+ ; = https://github.com/easytarget/esp32-cam-webserver/issues/218 =
16+ ; = =
17+ ; = The focus of thei project is to show a expanded example =
18+ ; = using the official Arduino IDE. PlatformIO is, and has =
19+ ; = always been, a nice-to-have; so I will be releasing 4.x =
20+ ; = without platformio support. See the above github issue if =
21+ ; = you are able to help fixing this. =
22+ ; = =
23+ ; ================================================================
24+ ;
25+
26+ ; The esp32-cam-webserver project is intended to be easily compilable
27+ ; with the stock Arduino IDE.
28+ ; - Maintaining compatibility with other development environments
29+ ; is important, but I wont accept changes to the PlatformIO build that
30+ ; break compatibilty with the stock IDE. Eg by using non-standard
31+ ; partition schemes or overriding Arduino defined limits, etc.
32+
33+ [platformio]
34+ src_dir = ./
35+
36+ [env:esp32dev]
37+ platform = https://github.com/platformio/platform-espressif32.git# feature/arduino-upstream
38+ platform_packages = framework-arduinoespressif32@https://github.com/espressif/arduino-esp32.git# 2.0.3
39+ board = esp32dev
40+ board_build.partitions = min_spiffs.csv
41+ framework = arduino
42+ build_flags =
43+ -DBOARD_HAS_PSRAM
44+ -mfix-esp32-psram-cache-issue
45+
46+ ; using the latest stable version
47+ lib_deps = ESP Async WebServer
48+
49+ ; or using GIT Url (the latest development version)
50+ lib_deps = https://github.com/me-no-dev/ESPAsyncWebServer.git
51+
52+ ; For OTA uploading uncomment the next lines and add the IP address or mDNS name of the camera module, and the OTA password
53+ ; upload_protocol = espota
54+ ; upload_port = <IP or mDNS>
55+ ; upload_flags =
56+ ; --auth=<OTA PASSWORD>
0 commit comments