-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathplatformio.ini
113 lines (104 loc) · 3.66 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
; 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]
default_envs = esp-wrover-kit, esp32dev, nodemcu-32s, wemos_d1_mini32, wemos_d1_uno32, lolin_d32
description = Bambulab Esp32 LEDController
[common]
lib_deps =
https://github.com/me-no-dev/AsyncTCP
https://github.com/me-no-dev/ESPAsyncWebServer
https://github.com/Links2004/arduinoWebSockets
https://github.com/knolleary/pubsubclient
https://github.com/bblanchon/ArduinoJson
https://github.com/FastLED/FastLED
https://github.com/tzapu/WiFiManager
https://github.com/espressif/arduino-esp32
WiFi
WiFiClientSecure
FS
Update
DNSServer
ESPmDNS
WebServer
build_type = release
platform = espressif32
upload_speed = 115200
monitor_speed = 115200
board_build.flash_mode = dio
board_build.flash_size = 4MB
board_build.f_flash = 40000000L
board_build.partitions = min_spiffs.csv
build_dir = .build/${sysenv.BOARD}
[env:esp-wrover-kit]
platform = ${common.platform}
board = esp-wrover-kit
framework = arduino
lib_deps = ${common.lib_deps}
upload_speed = ${common.upload_speed}
monitor_speed = ${common.monitor_speed}
board_build.flash_mode = ${common.board_build.flash_mode}
board_build.flash_size = ${common.board_build.flash_size}
board_build.f_flash = ${common.board_build.f_flash}
board_build.partitions = ${common.board_build.partitions}
[env:esp32dev]
platform = ${common.platform}
board = esp32dev
framework = arduino
lib_deps = ${common.lib_deps}
upload_speed = ${common.upload_speed}
monitor_speed = ${common.monitor_speed}
board_build.flash_mode = ${common.board_build.flash_mode}
board_build.flash_size = ${common.board_build.flash_size}
board_build.f_flash = ${common.board_build.f_flash}
board_build.partitions = ${common.board_build.partitions}
[env:nodemcu-32s]
platform = ${common.platform}
board = nodemcu-32s
framework = arduino
lib_deps = ${common.lib_deps}
upload_speed = ${common.upload_speed}
monitor_speed = ${common.monitor_speed}
board_build.flash_mode = ${common.board_build.flash_mode}
board_build.flash_size = ${common.board_build.flash_size}
board_build.f_flash = ${common.board_build.f_flash}
board_build.partitions = ${common.board_build.partitions}
[env:wemos_d1_mini32]
platform = ${common.platform}
board = wemos_d1_mini32
framework = arduino
lib_deps = ${common.lib_deps}
upload_speed = ${common.upload_speed}
monitor_speed = ${common.monitor_speed}
board_build.flash_mode = ${common.board_build.flash_mode}
board_build.flash_size = ${common.board_build.flash_size}
board_build.f_flash = ${common.board_build.f_flash}
board_build.partitions = ${common.board_build.partitions}
[env:wemos_d1_uno32]
platform = ${common.platform}
board = wemos_d1_uno32
framework = arduino
lib_deps = ${common.lib_deps}
upload_speed = ${common.upload_speed}
monitor_speed = ${common.monitor_speed}
board_build.flash_mode = ${common.board_build.flash_mode}
board_build.flash_size = ${common.board_build.flash_size}
board_build.f_flash = ${common.board_build.f_flash}
board_build.partitions = ${common.board_build.partitions}
[env:lolin_d32]
platform = ${common.platform}
board = lolin_d32
framework = arduino
lib_deps = ${common.lib_deps}
upload_speed = ${common.upload_speed}
monitor_speed = ${common.monitor_speed}
board_build.flash_mode = ${common.board_build.flash_mode}
board_build.flash_size = ${common.board_build.flash_size}
board_build.f_flash = ${common.board_build.f_flash}
board_build.partitions = ${common.board_build.partitions}