forked from pixelit-project/PixelIt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
233 lines (226 loc) · 6.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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
; 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
[common]
framework = arduino
monitor_speed = 115200
upload_speed = 460800
extra_scripts = pre:extra_script.py
build_flags =
-DMATRIX_WIDTH=32 ; Pixel cols
-DMATRIX_HEIGHT=8 ; Pixel rows
lib_deps =
links2004/WebSockets@^2.4.0
knolleary/PubSubClient@^2.8
bblanchon/ArduinoJson@^5.13.4
adafruit/Adafruit GFX Library@^1.10.5
fastled/FastLED@^3.4.0
beegee-tokyo/DHT sensor library for ESPx@^1.17
powerbroker2/DFPlayerMini_Fast@^1.2.0
adafruit/Adafruit BusIO@^1.7.2
adafruit/Adafruit BME280 Library@^2.0.2
adafruit/Adafruit BMP280 Library@^2.6.1
adafruit/Adafruit Unified Sensor@^1.1.4
LightDependentResistor=https://github.com/QuentinCG/Arduino-Light-Dependent-Resistor-Library.git
ColorConverter=https://github.com/luisllamasbinaburo/Arduino-ColorConverter.git
TimeLib = https://github.com/PaulStoffregen/Time.git
marcmerlin/FastLED NeoMatrix@^1.2
bakercp/CRC32 @ 2.0.0
adafruit/Adafruit SHT31 Library@^2.2.2
[env:ESP32_d1_mini32]
platform = espressif32
board = wemos_d1_mini32
framework = ${common.framework}
board_build.f_cpu = 80000000L
monitor_speed = ${common.monitor_speed}
extra_scripts = ${common.extra_scripts}
upload_speed = ${common.upload_speed}
build_flags =
${common.build_flags}
-DLDR_PIN=A0
-DMATRIX_PIN=27
-DDEFAULT_PIN_SCL="Pin_D1"
-DDEFAULT_PIN_SDA="Pin_D3"
-DDEFAULT_PIN_DFPRX="Pin_D7"
-DDEFAULT_PIN_DFPTX="Pin_D8"
-DDEFAULT_PIN_ONEWIRE="Pin_D1"
-DDEFAULT_MATRIX_TYPE=1
-DDEFAULT_LDR=GL5516
-DVBAT_PIN=0
lib_deps =
${common.lib_deps}
WiFiManager = https://github.com/tzapu/WiFiManager.git#v2.0.15-rc.1
plerup/EspSoftwareSerial@^6.11.4
fastled/FastLED@^3.5.0
adafruit/Adafruit BME680 Library@^2.0.1
adafruit/Adafruit BMP280 Library@^2.6.1
claws/BH1750@^1.2.0
robtillaart/Max44009@^0.5.2
arduino-libraries/ArduinoHttpClient@^0.4.0
Hash = https://github.com/bbx10/Hash_tng.git
adafruit/Adafruit SHT31 Library@^2.2.2
[env:ESP32_generic]
platform = espressif32
board = esp32dev
framework = ${common.framework}
board_build.f_cpu = 80000000L
monitor_speed = ${common.monitor_speed}
extra_scripts = ${common.extra_scripts}
upload_speed = ${common.upload_speed}
build_flags =
${common.build_flags}
-DLDR_PIN=A0
-DMATRIX_PIN=27
-DDEFAULT_PIN_SCL="Pin_D1"
-DDEFAULT_PIN_SDA="Pin_D3"
-DDEFAULT_PIN_DFPRX="Pin_D7"
-DDEFAULT_PIN_DFPTX="Pin_D8"
-DDEFAULT_PIN_ONEWIRE="Pin_D1"
-DDEFAULT_MATRIX_TYPE=1
-DDEFAULT_LDR=GL5516
-DVBAT_PIN=0
lib_deps =
${common.lib_deps}
WiFiManager = https://github.com/tzapu/WiFiManager.git#v2.0.15-rc.1
plerup/EspSoftwareSerial@^6.11.4
fastled/FastLED@^3.5.0
adafruit/Adafruit BME680 Library@^2.0.1
adafruit/Adafruit BMP280 Library@^2.6.1
claws/BH1750@^1.2.0
robtillaart/Max44009@^0.5.2
arduino-libraries/ArduinoHttpClient@^0.4.0
Hash = https://github.com/bbx10/Hash_tng.git
adafruit/Adafruit SHT31 Library@^2.2.2
[env:ESP8266_generic]
platform = espressif8266@2.6.3
board = esp12e
framework = ${common.framework}
board_build.filesystem = littlefs
monitor_speed = ${common.monitor_speed}
extra_scripts = ${common.extra_scripts}
upload_speed = ${common.upload_speed}
build_flags =
${common.build_flags}
-DLDR_PIN=A0
-DMATRIX_PIN=D2
-DDEFAULT_PIN_SCL="Pin_D1"
-DDEFAULT_PIN_SDA="Pin_D3"
-DDEFAULT_PIN_DFPRX="Pin_D7"
-DDEFAULT_PIN_DFPTX="Pin_D8"
-DDEFAULT_PIN_ONEWIRE="Pin_D1"
-DDEFAULT_MATRIX_TYPE=1
-DDEFAULT_LDR=GL5516
-DVBAT_PIN=0
lib_deps =
${common.lib_deps}
tzapu/WiFiManager@^0.16.0
adafruit/Adafruit BME680 Library@^2.0.1
adafruit/Adafruit BMP280 Library@^2.6.1
claws/BH1750@^1.2.0
robtillaart/Max44009@^0.5.2
arduino-libraries/ArduinoHttpClient@^0.4.0
mr-glt/SHA-1 Hash@^1.1.0
adafruit/Adafruit SHT31 Library@^2.2.2
[env:ESP8266_d1_mini]
platform = espressif8266@2.6.3
monitor_filters = esp8266_exception_decoder
board = d1_mini
framework = ${common.framework}
board_build.filesystem = littlefs
monitor_speed = ${common.monitor_speed}
extra_scripts = ${common.extra_scripts}
upload_speed = ${common.upload_speed}
build_flags =
${common.build_flags}
-DLDR_PIN=A0
-DMATRIX_PIN=D2
-DDEFAULT_PIN_SCL="Pin_D1"
-DDEFAULT_PIN_SDA="Pin_D3"
-DDEFAULT_PIN_DFPRX="Pin_D7"
-DDEFAULT_PIN_DFPTX="Pin_D8"
-DDEFAULT_PIN_ONEWIRE="Pin_D1"
-DDEFAULT_MATRIX_TYPE=1
-DDEFAULT_LDR=GL5516
-DVBAT_PIN=0
lib_deps =
${common.lib_deps}
tzapu/WiFiManager@^0.16.0
adafruit/Adafruit BME680 Library@^2.0.1
adafruit/Adafruit BMP280 Library@^2.6.1
claws/BH1750@^1.2.0
robtillaart/Max44009@^0.5.2
arduino-libraries/ArduinoHttpClient@^0.4.0
mr-glt/SHA-1 Hash@^1.1.0
adafruit/Adafruit SHT31 Library@^2.2.2
[env:ESP8266_nodemcuv2]
platform = espressif8266@2.6.3
board = nodemcuv2
framework = ${common.framework}
board_build.filesystem = littlefs
monitor_speed = ${common.monitor_speed}
extra_scripts = ${common.extra_scripts}
upload_speed = ${common.upload_speed}
build_flags =
${common.build_flags}
-DLDR_PIN=A0
-DMATRIX_PIN=D2
-DDEFAULT_PIN_SCL="Pin_D1"
-DDEFAULT_PIN_SDA="Pin_D3"
-DDEFAULT_PIN_DFPRX="Pin_D7"
-DDEFAULT_PIN_DFPTX="Pin_D8"
-DDEFAULT_PIN_ONEWIRE="Pin_D1"
-DDEFAULT_MATRIX_TYPE=1
-DDEFAULT_LDR=GL5516
-DVBAT_PIN=0
lib_deps =
${common.lib_deps}
tzapu/WiFiManager@^0.16.0
adafruit/Adafruit BME680 Library@^2.0.1
adafruit/Adafruit BMP280 Library@^2.6.1
claws/BH1750@^1.2.0
robtillaart/Max44009@^0.5.2
arduino-libraries/ArduinoHttpClient@^0.4.0
mr-glt/SHA-1 Hash@^1.1.0
adafruit/Adafruit SHT31 Library@^2.2.2
[env:ESP32_ulanzi]
platform = espressif32
board = esp32dev
framework = ${common.framework}
board_build.f_cpu = 80000000L
monitor_speed = ${common.monitor_speed}
extra_scripts = ${common.extra_scripts}
upload_speed = ${common.upload_speed}
build_flags =
${common.build_flags}
-DLDR_PIN=A7
-DMATRIX_PIN=32
-DULANZI
-DVBAT_PIN=GPIO_NUM_34
-DDEFAULT_PIN_SCL=GPIO_NUM_22
-DDEFAULT_PIN_SDA=GPIO_NUM_21
-DDEFAULT_PIN_DFPRX=SPI_CLK_GPIO_NUM
-DDEFAULT_PIN_DFPTX=SPI_CS0_GPIO_NUM
-DDEFAULT_PIN_ONEWIRE=GPIO_NUM_22
-DDEFAULT_MATRIX_TYPE=2
-DDEFAULT_LDR=GL5516
-DMIN_BATTERY=475
-DMAX_BATTERY=665
lib_deps =
${common.lib_deps}
WiFiManager = https://github.com/tzapu/WiFiManager.git#v2.0.15-rc.1
fastled/FastLED@^3.5.0
arduino-libraries/ArduinoHttpClient@^0.4.0
adafruit/Adafruit SHT31 Library @ 2.2.0
Hash = https://github.com/bbx10/Hash_tng.git
plerup/EspSoftwareSerial@^6.11.4
adafruit/Adafruit BME680 Library@^2.0.1
adafruit/Adafruit BMP280 Library@^2.6.1
claws/BH1750@^1.2.0
robtillaart/Max44009@^0.5.2
adafruit/Adafruit SHT31 Library@^2.2.2