-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathplatformio.ini
87 lines (82 loc) · 2.49 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
[platformio]
src_dir = ./Arduino/E131_PixelPusher/
;default_envs = nodemcuv2
;default_envs = esp32dev
[common]
framework = arduino
build_flags =
-w
monitor_speed = 115200
upload_speed_fast = 921600
upload_speed = 115200
lib_deps =
ESPAsyncE131=https://github.com/forkineye/ESPAsyncE131
; NeoPixelBus=https://github.com/Makuna/NeoPixelBus/archive/Esp32RMTExperimental.zip
ESP Async WebServer
ESPAsyncWiFiManager
https://github.com/debsahu/Adafruit_DotStar
[common:esp8266]
arduino_core_2_3_0 = [email protected]
arduino_core_2_4_0 = [email protected]
arduino_core_2_4_1 = [email protected]
arduino_core_2_4_2 = [email protected]
arduino_core_2_5_2 = [email protected]
arduino_core_stage = https://github.com/platformio/platform-espressif8266.git#feature/stage
platform = ${common:esp8266.arduino_core_2_5_2}
board_build.flash_mode = dout
upload_resetmethod = nodemcu
build_flags =
-D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
-Wl,-Teagle.flash.4m.ld
-D USE_EADNS
-D PIO_PLATFORM
lib_deps =
ESPAsyncUDP
ESPAsyncTCP
ESPAsyncDNSServer
[common:esp32]
platform = [email protected]
;platform = https://github.com/platformio/platform-espressif32.git#feature/stage
build_flags =
-D ARDUINO_ARCH_ESP32
lib_ignore =
ESPAsyncUDP
ESPAsyncTCP
ESPAsyncDNSServer
lib_deps =
AsyncTCP
# see: http://docs.platformio.org/en/latest/platforms/espressif8266.html
[env:nodemcuv2]
board = nodemcuv2
framework = ${common.framework}
platform = ${common:esp8266.platform}
build_flags =
${common.build_flags}
${common:esp8266.build_flags}
monitor_speed = ${common.monitor_speed}
upload_speed = ${common.upload_speed}
upload_resetmethod = ${common:esp8266.upload_resetmethod}
board_build.flash_mode = ${common:esp8266.board_build.flash_mode}
;lib_ignore = ${common:esp8266.lib_ignore}
lib_deps =
${common.lib_deps}
${common:esp8266.lib_deps}
;targets = erase, upload, monitor ;uncomment for upload and serial monitor
# see: http://docs.platformio.org/en/latest/platforms/espressif32.html
[env:esp32dev]
board = lolin_d32
framework = ${common.framework}
platform = ${common:esp32.platform}
monitor_speed = ${common.monitor_speed}
upload_speed = ${common.upload_speed_fast}
build_flags =
${common.build_flags}
${common:esp32.build_flags}
lib_ignore =
${common:esp32.lib_ignore}
lib_deps =
${common.lib_deps}
${common:esp32.lib_deps}
; WiFiManager=https://github.com/tzapu/WiFiManager/archive/development.zip
;targets = erase, upload, monitor ;uncomment for upload and serial monitor