-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
117 lines (93 loc) · 2.55 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
; 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]
src_dir = .
[env]
board_build.filesystem = littlefs
build_flags =
'-Wall'
'-Wno-deprecated'
; '-std=gnu++17'
lib_deps =
https://github.com/mathieucarbou/ESPAsyncWebServer
; This seems no longer maintained.
; me-no-dev/ESP Async [email protected]
bblanchon/ArduinoJson@^7.0.0
heman/AsyncMqttClient-esphome@^1.0.0
esphome/ESPAsyncWebServer-esphome@^3.0.0
lib_ldf_mode = deep
check_tool = clangtidy
[env:native]
platform = native
build_flags =
${env.build_flags}
'-DNATIVE'
lib_deps =
${env.lib_deps}
fabiobatsilva/ArduinoFake
test_build_src = yes
build_src_filter = +<src/*>
build_type = debug
[esp_base]
framework = arduino
build_src_filter = +<src/*>
monitor_speed = 115200
uploadProtocol = esptool
uploadPort = /dev/ttyUSB0
[esp32_base]
extends = esp_base
platform = espressif32
monitor_filters = esp32_exception_decoder
[env:d1_mini]
extends = esp_base
platform = espressif8266
board = d1_mini
monitor_filters = esp8266_exception_decoder
[env:lolin_c3_mini]
extends = esp32_base
board = lolin_c3_mini
[env:esp32dev]
extends = esp32_base
board = esp32dev
build_flags =
${env.build_flags}
'-DBLINK_LED=16'
[blink_base]
build_src_filter = -<test/*> +<src/*> +<examples/blink/blink.cpp>
[wifi_app_base]
build_src_filter = -<test/*> +<src/*> +<examples/wifi-app/wifi-app.cpp>
[web_app_base]
build_src_filter = -<test/*> +<src/*> +<examples/web-app/web-app.cpp>
[ha_app_base]
build_src_filter = -<test/*> +<src/*> +<examples/ha-app/ha-app.cpp>
[env:d1_mini_blink]
extends = env:d1_mini, blink_base
[env:d1_mini_wifi_app]
extends = env:d1_mini, wifi_app_base
[env:d1_mini_web_app]
extends = env:d1_mini, web_app_base
[env:d1_mini_ha_app]
extends = env:d1_mini, ha_app_base
[env:lolin_c3_mini_blink]
extends = env:lolin_c3_mini, blink_base
[env:lolin_c3_mini_wifi_app]
extends = env:lolin_c3_mini, wifi_app_base
[env:lolin_c3_mini_web_app]
extends = env:lolin_c3_mini, web_app_base
[env:lolin_c3_mini_ha_app]
extends = env:lolin_c3_mini, ha_app_base
[env:esp32dev_blink]
extends = env:esp32dev, blink_base
[env:esp32dev_wifi_app]
extends = env:esp32dev, wifi_app_base
[env:esp32dev_web_app]
extends = env:esp32dev, web_app_base
[env:esp32dev_ha_app]
extends = env:esp32dev, ha_app_base