forked from xyzroe/XZG
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
95 lines (85 loc) · 3.43 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
; 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
;It was difficult to find working platform for https get function on solo board. Here are some logs:
;https://github.com/tasmota/platform-espressif32/releases/download/v2.0.5/platform-espressif32-2.0.5.zip ;- old build. - unkown board
;https://github.com/tasmota/platform-espressif32/releases/download/2023.01.00/platform-espressif32.zip ; fuck yeaar. it works on solo
;https://github.com/tasmota/platform-espressif32/releases/download/2023.07.00/platform-espressif32.zip ; fuck yeaar. it also works on solo
;https://github.com/tasmota/platform-espressif32/releases/download/2023.08.00/platform-espressif32.zip ; bitch. did't work -1
;https://github.com/tasmota/platform-espressif32/releases/download/2023.10.01/platform-espressif32.zip ;- build but -1
;https://github.com/tasmota/platform-espressif32/releases/download/2023.10.03/platform-espressif32.zip ;- last builds version but -1
;https://github.com/tasmota/platform-espressif32/releases/download/2023.10.05/platform-espressif32.zip ;- WiFiClientSecure.h: No such file or directory
;https://github.com/tasmota/platform-espressif32/releases/download/2023.10.10/platform-espressif32.zip ; - logs2.txt
;espressif32 @ ^6.4.0 ;- unkown board
;espressif32 @ 5.1.0 ; - works but no solo
[platformio]
default_envs = prod-solo
[env]
framework = arduino
lib_deps =
bblanchon/[email protected]
rlogiacco/CircularBuffer@>=1.4.0
sstaub/Ticker@>=4.4.0
Martin-Laclaustra/CronAlarms
;husarnet/Husarnet ESP32 @ 1.2.0-5 ;husarnet example
marvinroger/AsyncMqttClient @ ^0.9.0
me-no-dev/[email protected]
;plerup/[email protected]
;marian-craciunescu/ESP32Ping@>=1.7
;me-no-dev/[email protected]
monitor_filters = direct ; log2file ; esp32_exception_decoder, default ;
monitor_speed = 115200
upload_speed = 460800
platform_packages =
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32#master
; framework-arduinoespressif32 @ https://github.com/husarnet/arduino-esp32/releases/download/1.0.4-1/arduino-husarnet-esp32.zip ;husarnet example
extra_scripts =
pre:tools/build/pre_build.py
pre:tools/build/version_update.py
pre:tools/webfilesbuilder/build_html.py
post:tools/build/build.py
build_flags =
-DBUILD_ENV_NAME=$PIOENV
[env:prod-solo]
platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.07.00/platform-espressif32.zip
board = esp32-solo1
build_flags =
${env.build_flags}
-DFRAMEWORK_ARDUINO_SOLO1
board_build.f_cpu = 160000000L
extra_scripts =
${env.extra_scripts}
[env:debug-solo]
platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.07.00/platform-espressif32.zip
board = esp32-solo1
build_flags =
-DDEBUG
${env.build_flags}
-DFRAMEWORK_ARDUINO_SOLO1
board_build.f_cpu = 160000000L
extra_scripts =
${env.extra_scripts}
[env:prod]
platform = espressif32 @ 6.4.0
board = esp32dev
build_flags =
${env.build_flags}
extra_scripts =
${env.extra_scripts}
[env:debug]
platform = espressif32 @ 6.7.0
;platform = [email protected] ;husarnet example
board = esp32dev
build_flags =
-DDEBUG
${env.build_flags}
extra_scripts =
${env.extra_scripts}
lib_deps =
${env.lib_deps}