forked from dewenni/ESP32-Jarolift-Controller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
55 lines (45 loc) · 1.86 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
50
51
52
53
54
55
[env:esp32]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.07/platform-espressif32.zip
board = upesy_wroom
board_flash_size = 4MB
framework = arduino
monitor_speed = 115200
monitor_filters = esp32_exception_decoder, colorize
build_type = release
board_build.partitions = min_spiffs.csv
build_flags =
-Wall
-D DRD_TIMEOUT=3 ; DRD: timeout for double reset detection
-D CONFIG_ASYNC_TCP_MAX_ACK_TIME=5000
-D CONFIG_ASYNC_TCP_PRIORITY=5
-D CONFIG_ASYNC_TCP_QUEUE_SIZE=256
-D CONFIG_ASYNC_TCP_RUNNING_CORE=1
-D CONFIG_ASYNC_TCP_STACK_SIZE=8192
extra_scripts =
pre:scripts/build_webui.py ; Skript for merge and create web files
post:scripts/build_release.py ; Skript to create binary files for Flash tools and OTA Update
;post:scripts/checkVersion.py ; Skript to check for version in source files
post:scripts/checkText.py ; Skript to check for texts in source files
; ----------------------------------------------------------------
; OPTION 1: direct cable upload
; ----------------------------------------------------------------
;upload_port = /dev/cu.usbserial-0258166D
;upload_port = /dev/cu.usbserial-576D0483281
upload_port = /dev/cu.usbserial-576D0481591
;upload_port = /dev/cu.usbserial-0001
;upload_port = /dev/cu.usbmodem01
; ----------------------------------------------------------------
; OPTION 2: wireless OTA Update
; ----------------------------------------------------------------
;upload_protocol = espota
;upload_speed = 115000
;upload_port = 192.168.178.199 ; Conneted to Router
;upload_port = 192.168.4.1 ; Setup Mode (ESP create Accesspoint)
lib_compat_mode = strict
lib_ldf_mode = chain
lib_deps =
mathieucarbou/AsyncTCP @ 3.3.1
mathieucarbou/ESPAsyncWebServer @ 3.4.3
bblanchon/ArduinoJson @ 7.2.0
lib_ignore =
;LittleFS_esp32