forked from philbowles/h4plugins
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplatformio.ini
More file actions
126 lines (109 loc) · 3.51 KB
/
platformio.ini
File metadata and controls
126 lines (109 loc) · 3.51 KB
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
; 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]
default_envs = esp32
[common]
framework = arduino
monitor_speed = 921600
monitor_eol = LF
lib_deps =
https://github.com/HamzaHajeir/H4#4.0.10
https://github.com/HamzaHajeir/H4Tools#0.0.16
https://github.com/HamzaHajeir/H4AsyncTCP#0.0.25
https://github.com/HamzaHajeir/H4AsyncMQTT#1.0.0-rc12
https://github.com/HamzaHajeir/ArmadilloHTTP#0.1.9
https://github.com/HamzaHajeir/H4AsyncWebServer#0.0.13
https://github.com/HamzaHajeir/h4plugins#master
upload_speed = 921600
build_src_flags = -DPROJ_BAUD_RATE=${common.monitor_speed}
build_unflags = -std=gnu++17
-std=gnu++14
-std=gnu++11
build_flags = -std=gnu++2a
board_build.filesystem = littlefs
[esp32common]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.35/platform-espressif32.zip
platform_packages =
; ; platformio/framework-arduinoespressif32 @ https://github.com/HamzaHajeir/arduino-esp32#lwip-tls-2.0.11
platformio/framework-arduinoespressif32 @ https://github.com/HamzaHajeir/esp32-arduino-lib-builder/releases/download/v89/framework-arduinoespressif32--release_v5.5-366dadf354.zip
platformio/framework-arduinoespressif32-libs @ https://github.com/HamzaHajeir/esp32-arduino-lib-builder/releases/download/v89/esp32-arduino-libs.tar.gz
lib_deps =
${common.lib_deps}
lib_ldf_mode = chain
build_flags =
${common.build_flags}
-DLWIP_ALTCP=1
-DLWIP_ALTCP_TLS=1
-DLWIP_ALTCP_TLS_MBEDTLS=1
; -w
-DCORE_DEBUG_LEVEL=0
-DEMBEDDED_PLATFORM
; -Wl,--gc-sections ; Eliminate unused sections (for GCC)
; -Wl,--strip-all
monitor_filters = esp32_exception_decoder
time
log2file
[env:esp32]
extends = common, esp32common
board = esp32doit-devkit-v1
board_build.partitions = no_ota.csv
[env:esp32s3]
extends = common, esp32common
board = esp32-s3-devkitc-1
build_flags = ${esp32common.build_flags}
-DBOARD_HAS_PSRAM
board_build.flash_mode = qio
board_build.arduino.memory_type = qio_qspi
[env:pico]
extends = common
platform = https://github.com/maxgerhardt/platform-raspberrypi.git#5b72058658ebaf98045755662bc8b28479bd288b
platform_packages =
framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git#4.1.1
framework = arduino
board = rpipicow
board_build.core = earlephilhower
monitor_speed = 921600
lib_ldf_mode = deep+
build_flags = ${common.build_flags}
-DEMBEDDED_PLATFORM
'-DARDUINO_BOARD="RASPBERRY_PI_PICO_W"'
; -DDEBUG_RP2040_PORT=Serial
; -DLFS_YES_TRACE
; -fstack-protector
; -DPIO_FRAMEWORK_ARDUINO_ENABLE_EXCEPTIONS
; -DPIO_FRAMEWORK_ARDUINO_NO_USB
board_build.filesystem_size = 0.5m
upload_port = F:
[env:nodemcuv2]
extends = common
platform = espressif8266@4.2.0
board = nodemcuv2
build_flags =
${common.build_flags}
-D BEARSSL_SSL_BASIC
-DNDEBUG
-D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH
-w
-DEMBEDDED_PLATFORM
; -DLWIP_ALTCP=1
; -DLWIP_ALTCP_TLS=1
; -DLWIP_ALTCP_TLS_MBEDTLS=1
build_src_flags = -DPROJ_BAUD_RATE=${common.monitor_speed}
board_build.flash_mode = dio
board_build.ldscript = eagle.flash.4m1m.ld
lib_deps =
${common.lib_deps}
; https://github.com/HamzaHajeir/H4AsyncTCP#0.0.11
ESPAsyncUDP
monitor_filters = esp8266_exception_decoder
time
log2file
lib_ldf_mode = deep+
; build_type = release