1
+ [platformio]
2
+ default_envs = arduino-2, arduino-3, arduino-310rc1, esp8266, raspberrypi
3
+ lib_dir = .
4
+ ; src_dir = examples/CaptivePortal
5
+ src_dir = examples/SimpleServer
6
+ ; src_dir = examples/StreamFiles
7
+ ; src_dir = examples/Filters
8
+ ; src_dir = examples/Draft
9
+ ; src_dir = examples/issues/Issue14
10
+
1
11
[env]
2
12
framework = arduino
3
13
build_flags =
@@ -13,36 +23,30 @@ build_flags =
13
23
upload_protocol = esptool
14
24
monitor_speed = 115200
15
25
monitor_filters = esp32_exception_decoder, log2file
16
-
17
- [platformio]
18
- lib_dir = .
19
- ; src_dir = examples/CaptivePortal
20
- src_dir = examples/SimpleServer
21
- ; src_dir = examples/StreamFiles
22
- ; src_dir = examples/Filters
23
- ; src_dir = examples/Draft
24
- ; src_dir = examples/issues/Issue14
25
-
26
- [env:arduino-2]
27
-
28
- board = esp32dev
29
26
lib_deps =
30
27
bblanchon/ArduinoJson @ 7.1.0
31
28
mathieucarbou/AsyncTCP @ 3.2.5
29
+ lib_compat_mode = strict
30
+ lib_ldf_mode = chain
31
+ board = esp32dev
32
+
33
+ [env:arduino-2]
34
+
32
35
33
36
[env:arduino-3]
34
- platform = espressif32
35
- platform_packages =
36
- platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino- esp32.git # 3.0.4
37
- platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/arduino-esp32/releases/download/3.0.4/esp32-arduino-libs-3.0.4.zip
38
- board = esp32dev
39
- lib_deps =
40
- bblanchon/ArduinoJson @ 7.1.0
41
- mathieucarbou/AsyncTCP @ 3.2.5
37
+ platform = https://github.com/pioarduino/platform- espressif32/releases/download/51.03.04/platform-espressif32.zip
38
+ ; board = esp32-s3-devkitc-1
39
+ ; board = esp32-c6-devkitc-1
40
+
41
+ [env:arduino-310rc1]
42
+ platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10%%2Brc1/platform-espressif32.zip
43
+ ; board = esp32-s3-devkitc-1
44
+ ; board = esp32-c6-devkitc-1
42
45
43
46
[env:esp8266]
44
47
platform = espressif8266
45
48
board = huzzah
49
+ ; board = d1_mini
46
50
lib_deps =
47
51
bblanchon/ArduinoJson @ 7.1.0
48
52
esphome/ESPAsyncTCP-esphome @ 2.0.0
@@ -51,31 +55,38 @@ lib_deps =
51
55
; https://github.com/platformio/platform-raspberrypi/pull/36
52
56
; https://github.com/earlephilhower/arduino-pico/blob/master/docs/platformio.rst
53
57
; board settings: https://github.com/earlephilhower/arduino-pico/blob/master/tools/json/rpipico.json
54
- [env:rpipicow ]
58
+ [env:raspberrypi ]
55
59
upload_protocol = picotool
56
60
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
57
61
board = rpipicow
58
62
lib_deps =
59
63
bblanchon/ArduinoJson @ 7.1.0
60
64
khoih-prog/AsyncTCP_RP2040W @ 1.2.0
61
65
62
- [env:pioarduino-esp32dev]
63
- platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.04/platform-espressif32.zip
64
- board = esp32dev
65
- lib_deps =
66
- bblanchon/ArduinoJson @ 7.1.0
67
- mathieucarbou/AsyncTCP @ 3.2.5
66
+ ; CI
67
+
68
+ [env:ci-arduino-2]
69
+
70
+ board = ${sysenv.PIO_BOARD}
68
71
69
- [env:pioarduino-c6 ]
72
+ [env:ci-arduino-3 ]
70
73
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.04/platform-espressif32.zip
71
- board = esp32-c6-devkitc-1
74
+ board = ${sysenv.PIO_BOARD}
75
+
76
+ [env:ci-arduino-310rc1]
77
+ platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10%%2Brc1/platform-espressif32.zip
78
+ board = ${sysenv.PIO_BOARD}
79
+
80
+ [env:ci-esp8266]
81
+ platform = espressif8266
82
+ board = ${sysenv.PIO_BOARD}
72
83
lib_deps =
73
84
bblanchon/ArduinoJson @ 7.1.0
74
- mathieucarbou/AsyncTCP @ 3.2.5
85
+ esphome/ESPAsyncTCP-esphome @ 2.0.0
75
86
76
- [env:pioarduino-h2 ]
77
- platform = https://github.com/pioarduino /platform-espressif32/releases/download/51.03.04/platform-espressif32.zip
78
- board = esp32-h2-devkitm-1
87
+ [env:ci-raspberrypi ]
88
+ platform = https://github.com/maxgerhardt /platform-raspberrypi.git
89
+ board = ${sysenv.PIO_BOARD}
79
90
lib_deps =
80
91
bblanchon/ArduinoJson @ 7.1.0
81
- mathieucarbou/AsyncTCP @ 3 .2.5
92
+ khoih-prog/AsyncTCP_RP2040W @ 1 .2.0
0 commit comments