-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
platformio.ini
169 lines (147 loc) · 4.63 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
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
[platformio]
default_envs = arduino-2, arduino-3, arduino-310, esp8266, esp32-poe-arduino-2, esp32-poe-arduino-3, esp32-poe-arduino-310, wt32-eth01-arduino-2, wt32-eth01-arduino-3, wt32-eth01-arduino-310, lilygo-eth-lite-s3-arduino-2, lilygo-eth-lite-s3-arduino-3, lilygo-eth-lite-s3-arduino-310
lib_dir = .
; src_dir = examples/BlockingCaptivePortal
src_dir = examples/NonBlockingCaptivePortal
; src_dir = examples/AdvancedCaptivePortal
; src_dir = examples/TestWiFi8266
; src_dir = examples/WiFiStaticIP
[env]
framework = arduino
build_flags =
-Wall -Wextra
-D CONFIG_ARDUHAL_LOG_COLORS
-D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
-D ESPCONNECT_DEBUG
-D NVS_LOG
; -H -M
; -D HTTPCLIENT_NOSECURE
; -D ESPCONNECT_NO_MDNS
; -D DEBUG_ESP_CORE
; -D ESPCONNECT_NO_MDNS
lib_deps =
bblanchon/ArduinoJson @ 7.3.0
mathieucarbou/ESPAsyncWebServer @ 3.4.5
lib_compat_mode = strict
lib_ldf_mode = chain
upload_protocol = esptool
monitor_speed = 115200
monitor_filters = esp32_exception_decoder, log2file
board = esp32dev
; CI
[env:ci]
platform = ${sysenv.PIO_PLATFORM}
board = ${sysenv.PIO_BOARD}
[env:ci-esp8266]
platform = ${sysenv.PIO_PLATFORM}
board = ${sysenv.PIO_BOARD}
lib_deps =
bblanchon/ArduinoJson @ 7.3.0
mathieucarbou/ESPAsyncWebServer @ 3.4.5
vshymanskyy/Preferences @ 2.1.0
; DEV
[env:arduino-2]
platform = [email protected]
[env:arduino-3]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.05/platform-espressif32.zip
; board = esp32-s3-devkitc-1
; board = esp32-c6-devkitc-1
[env:arduino-310]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10/platform-espressif32.zip
; board = esp32-s3-devkitc-1
; board = esp32-c6-devkitc-1
[env:esp8266]
platform = espressif8266
board = huzzah
; board = d1_mini
lib_deps =
bblanchon/ArduinoJson @ 7.3.0
mathieucarbou/ESPAsyncWebServer @ 3.4.5
vshymanskyy/Preferences @ 2.1.0
; ETH: esp32-poe
[env:esp32-poe-arduino-2]
platform = [email protected]
board = esp32-poe
build_flags = ${env.build_flags}
-D ESPCONNECT_ETH_SUPPORT
[env:esp32-poe-arduino-3]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.05/platform-espressif32.zip
board = esp32-poe
build_flags = ${env.build_flags}
-D ESPCONNECT_ETH_SUPPORT
[env:esp32-poe-arduino-310]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10/platform-espressif32.zip
board = esp32-poe
build_flags = ${env.build_flags}
-D ESPCONNECT_ETH_SUPPORT
; ETH: wt32-eth01
[env:wt32-eth01-arduino-2]
platform = [email protected]
board = wt32-eth01
build_flags = ${env.build_flags}
-D ESPCONNECT_ETH_SUPPORT
-D ETH_PHY_ADDR=1
-D ETH_PHY_POWER=16
[env:wt32-eth01-arduino-3]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.05/platform-espressif32.zip
board = wt32-eth01
build_flags = ${env.build_flags}
-D ESPCONNECT_ETH_SUPPORT
-D ETH_PHY_ADDR=1
-D ETH_PHY_POWER=16
[env:wt32-eth01-arduino-310]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10/platform-espressif32.zip
board = wt32-eth01
build_flags = ${env.build_flags}
-D ESPCONNECT_ETH_SUPPORT
-D ETH_PHY_ADDR=1
-D ETH_PHY_POWER=16
; ETH: lilygo-eth-lite-s3
[env:lilygo-eth-lite-s3-arduino-2]
upload_speed = 115200
platform = [email protected]
board = esp32s3box
build_flags = ${env.build_flags}
-D ESPCONNECT_ETH_SUPPORT
-D ETH_PHY_ADDR=1
-D ETH_PHY_CS=9
-D ETH_PHY_IRQ=13
-D ETH_PHY_RST=14
-D ETH_PHY_SPI_MISO=11
-D ETH_PHY_SPI_MOSI=12
-D ETH_PHY_SPI_SCK=10
; can only be activated with ESP-IDF >= 5
; -D ETH_PHY_TYPE=ETH_PHY_W5500
-UARDUINO_USB_CDC_ON_BOOT
[env:lilygo-eth-lite-s3-arduino-3]
upload_speed = 115200
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.05/platform-espressif32.zip
board = esp32s3box
build_flags = ${env.build_flags}
-D ESPCONNECT_ETH_SUPPORT
-D ETH_PHY_ADDR=1
-D ETH_PHY_CS=9
-D ETH_PHY_IRQ=13
-D ETH_PHY_RST=14
-D ETH_PHY_SPI_MISO=11
-D ETH_PHY_SPI_MOSI=12
-D ETH_PHY_SPI_SCK=10
; can only be activated with ESP-IDF >= 5
-D ETH_PHY_TYPE=ETH_PHY_W5500
-UARDUINO_USB_CDC_ON_BOOT
[env:lilygo-eth-lite-s3-arduino-310]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10/platform-espressif32.zip
upload_speed = 115200
board = esp32s3box
build_flags = ${env.build_flags}
-D ESPCONNECT_ETH_SUPPORT
-D ETH_PHY_ADDR=1
-D ETH_PHY_CS=9
-D ETH_PHY_IRQ=13
-D ETH_PHY_RST=14
-D ETH_PHY_SPI_MISO=11
-D ETH_PHY_SPI_MOSI=12
-D ETH_PHY_SPI_SCK=10
; can only be activated with ESP-IDF >= 5
-D ETH_PHY_TYPE=ETH_PHY_W5500
-UARDUINO_USB_CDC_ON_BOOT