-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathplatformio.ini
69 lines (64 loc) · 1.99 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
name = SafeBoot
default_envs = dev
[env]
framework = arduino
; platform = https://github.com/tasmota/platform-espressif32/releases/download/2024.09.30/platform-espressif32.zip
platform = https://github.com/tasmota/platform-espressif32/releases/download/2025.01.30/platform-espressif32.zip
; platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.11/platform-espressif32.zip
monitor_filters = esp32_exception_decoder, log2file
monitor_speed = 115200
; upload_protocol = esptool
; upload_protocol = espota
; upload_port = 192.168.4.1
lib_compat_mode = strict
lib_ldf_mode = chain
lib_deps =
; mathieucarbou/AsyncTCP @ 3.3.2
; mathieucarbou/ESPAsyncWebServer @ 3.6.0
ayushsharma82/ElegantOTA @ 3.1.6
lib_ignore =
AsyncTCP
ESPAsyncWebServer
mathieucarbou/AsyncTCP
mathieucarbou/ESPAsyncWebServer
build_flags =
-D HTTPCLIENT_NOSECURE
-D UPDATE_NOCRYPT
; AsyncTCP
; -D CONFIG_ASYNC_TCP_MAX_ACK_TIME=5000
; -D CONFIG_ASYNC_TCP_PRIORITY=10
; -D CONFIG_ASYNC_TCP_QUEUE_SIZE=64
; -D CONFIG_ASYNC_TCP_RUNNING_CORE=1
; -D CONFIG_ASYNC_TCP_STACK_SIZE=4096
; ESPAsyncWebServer
; -D WS_MAX_QUEUED_MESSAGES=64
; ElegantOTA
; -D ELEGANTOTA_USE_ASYNC_WEBSERVER=1
; C++
-Wall -Wextra
-std=c++17
-std=gnu++17
-Os
build_unflags =
-std=gnu++11
build_type = release
board_build.partitions = partitions.csv
extra_scripts = post:tools/safeboot.py
; --------------------------------------------------------------------
; ENVIRONMENTs
; --------------------------------------------------------------------
[env:safeboot]
board = ${sysenv.SAFEBOOT_BOARD}
[env:dev]
board = esp32dev
; board = esp32-solo1