forked from letscontrolit/ESPEasy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio_esp32s2_envs.ini
171 lines (141 loc) · 6.84 KB
/
platformio_esp32s2_envs.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
170
171
[esp32s2_common]
extends = esp32_base
lib_ignore = ${esp32_always.lib_ignore}
ESP32_ping
${no_ir.lib_ignore}
ESP32 BLE Arduino
CAN
build_flags = ${esp32_base.build_flags}
-DFEATURE_ARDUINO_OTA=1
-DESP32S2
extra_scripts = ${esp32_base.extra_scripts}
build_unflags = ${esp32_base.build_unflags}
-fexceptions
[esp32s2_common_LittleFS]
extends = esp32_base_idf5
build_flags = ${esp32_base_idf5.build_flags}
-DFEATURE_ARDUINO_OTA=1
-DUSE_LITTLEFS
-DESP32S2
lib_ignore = ${esp32_base_idf5.lib_ignore}
CAN
extra_scripts = ${esp32_base_idf5.extra_scripts}
build_unflags = ${esp32_base_idf5.build_unflags}
-fexceptions
board_build.filesystem = littlefs
[env:custom_ESP32s2_4M316k_CDC]
extends = esp32s2_common
board = esp32s2cdc
build_flags = ${esp32s2_common.build_flags}
-DPLUGIN_BUILD_CUSTOM
-DESP_CONSOLE_USB_CDC=y
extra_scripts = ${esp32s2_common.extra_scripts}
pre:tools/pio/pre_custom_esp32.py
[env:neopixel_ESP32s2_4M316k_CDC]
extends = esp32s2_common
board = esp32s2cdc
build_flags = ${esp32s2_common.build_flags}
-DFEATURE_ARDUINO_OTA=1
-DFEATURE_SD=1
-DPLUGIN_NEOPIXEL_COLLECTION
[env:neopixel_ESP32s2_4M316k_LittleFS_CDC_ETH]
extends = esp32s2_common_LittleFS
board = esp32s2cdc
build_flags = ${esp32s2_common_LittleFS.build_flags}
-DFEATURE_ARDUINO_OTA=1
-DFEATURE_SD=1
-DPLUGIN_NEOPIXEL_COLLECTION
-DFEATURE_ETHERNET=1
[env:custom_IR_ESP32s2_4M316k_CDC]
extends = esp32s2_common
board = esp32s2cdc
build_flags = ${esp32s2_common.build_flags}
-DPLUGIN_BUILD_CUSTOM
-DPLUGIN_BUILD_IR
lib_ignore = ${esp32_always.lib_ignore}
ESP32_ping
CAN
extra_scripts = ${esp32s2_common.extra_scripts}
pre:tools/pio/pre_custom_esp32_IR.py
pre:tools/pio/ir_build_check.py
[env:normal_ESP32s2_4M316k_CDC]
extends = esp32s2_common
board = esp32s2cdc
lib_ignore = ${esp32s2_common.lib_ignore}
${no_ir.lib_ignore}
[env:custom_ESP32s2_4M316k_LittleFS_CDC_ETH]
extends = esp32s2_common_LittleFS
board = esp32s2cdc
lib_ignore = ${esp32s2_common_LittleFS.lib_ignore}
${no_ir.lib_ignore}
build_flags = ${esp32s2_common_LittleFS.build_flags}
-DPLUGIN_BUILD_CUSTOM
-DESP_CONSOLE_USB_CDC=y
-DFEATURE_ETHERNET=1
extra_scripts = ${esp32s2_common_LittleFS.extra_scripts}
pre:tools/pio/pre_custom_esp32.py
[env:normal_ESP32s2_4M316k_LittleFS_CDC_ETH]
extends = esp32s2_common_LittleFS
board = esp32s2cdc
build_flags = ${esp32s2_common_LittleFS.build_flags}
-DESP_CONSOLE_USB_CDC=y
-DFEATURE_ETHERNET=1
lib_ignore = ${esp32s2_common_LittleFS.lib_ignore}
${no_ir.lib_ignore}
[env:collection_A_ESP32s2_4M316k_CDC]
extends = esp32s2_common
board = esp32s2cdc
build_flags = ${esp32s2_common.build_flags}
-DPLUGIN_SET_COLLECTION_ESP32
-DCOLLECTION_USE_RTTTL
[env:collection_B_ESP32s2_4M316k_CDC]
extends = esp32s2_common
board = esp32s2cdc
build_flags = ${esp32s2_common.build_flags}
-DPLUGIN_SET_COLLECTION_B_ESP32
-DCOLLECTION_USE_RTTTL
[env:collection_C_ESP32s2_4M316k_CDC]
extends = esp32s2_common
board = esp32s2cdc
build_flags = ${esp32s2_common.build_flags}
-DPLUGIN_SET_COLLECTION_C_ESP32
-DCOLLECTION_USE_RTTTL
[env:collection_D_ESP32s2_4M316k_CDC]
extends = esp32s2_common
board = esp32s2cdc
build_flags = ${esp32s2_common.build_flags}
-DPLUGIN_SET_COLLECTION_D_ESP32
-DCOLLECTION_USE_RTTTL
[env:collection_E_ESP32s2_4M316k_CDC]
extends = esp32s2_common
board = esp32s2cdc
build_flags = ${esp32s2_common.build_flags}
-DPLUGIN_SET_COLLECTION_E_ESP32
-DCOLLECTION_USE_RTTTL
[env:collection_F_ESP32s2_4M316k_CDC]
extends = esp32s2_common
board = esp32s2cdc
build_flags = ${esp32s2_common.build_flags}
-DPLUGIN_SET_COLLECTION_F_ESP32
-DCOLLECTION_USE_RTTTL
[env:collection_G_ESP32s2_4M316k_CDC]
extends = esp32s2_common
board = esp32s2cdc
build_flags = ${esp32s2_common.build_flags}
-DPLUGIN_SET_COLLECTION_G_ESP32
-DCOLLECTION_USE_RTTTL
[env:energy_ESP32s2_4M316k_CDC]
extends = esp32s2_common
board = esp32s2cdc
build_flags = ${esp32s2_common.build_flags}
-D PLUGIN_ENERGY_COLLECTION
[env:display_ESP32s2_4M316k_CDC]
extends = esp32s2_common
board = esp32s2cdc
build_flags = ${esp32s2_common.build_flags}
-D PLUGIN_DISPLAY_COLLECTION
[env:climate_ESP32s2_4M316k_CDC]
extends = esp32s2_common
board = esp32s2cdc
build_flags = ${esp32s2_common.build_flags}
-D PLUGIN_CLIMATE_COLLECTION