forked from SamZorSec/Arilux_AL-LC0X
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
127 lines (119 loc) · 2.96 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
; 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]
[common_env_data]
lib_deps_embedded_external =
PubSubClient@2.7
https://github.com/rvt/statemachine
https://github.com/rvt/opt-parser
https://github.com/tzapu/WiFiManager#0fd0c332229ab82cce060d7318c42def65a549b5
[env:LC10_OLD]
platform = espressif8266
framework = arduino
board = esp01_1m
upload_resetmethod = ck
upload_protocol = espota
board_build.flash_mode = dio
build_flags =
-Wl,-Teagle.flash.1m64.ld
-DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
-DRED_PIN=5
-DGREEN_PIN=14
-DBLUE_PIN=12
-DWHITE1_PIN=13
-DRF_PIN=3
lib_deps = ${common_env_data.lib_deps_embedded_external}
upload_speed = 115200
[env:LC01_RGB]
platform = espressif8266
framework = arduino
board = esp8285
upload_resetmethod = nodemcu
upload_protocol = espota
board_build.flash_mode = dout
build_flags =
-Wl,-Teagle.flash.1m64.ld
-DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
-DRED_PIN=12
-DGREEN_PIN=5
-DBLUE_PIN=13
-ARILUX_RED_PWM_RANGE=300
lib_deps = ${common_env_data.lib_deps_embedded_external}
upload_speed = 115200
[env:LC10_new]
platform = espressif8266
framework = arduino
board = esp8285
upload_resetmethod = nodemcu
upload_protocol = espota
board_build.flash_mode = dout
build_flags =
-Wl,-Teagle.flash.1m64.ld
-DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
-DRF_REMOTE
-DRF_PIN=4
-DRED_PIN=12
-DGREEN_PIN=5
-DBLUE_PIN=13
-DWHITE1_PIN=15
lib_deps = ${common_env_data.lib_deps_embedded_external}
upload_speed = 115200
[env:LC10_new_RGB_Switched]
platform = espressif8266
framework = arduino
board = esp8285
upload_resetmethod = nodemcu
upload_protocol = espota
board_build.flash_mode = dout
build_flags =
-Wl,-Teagle.flash.1m64.ld
-DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
-DRF_REMOTE
-DRF_PIN=4
-DRED_PIN=5
-DGREEN_PIN=12
-DBLUE_PIN=13
-DWHITE1_PIN=15
-DUSE_LAST_HSB_STATE_AT_BOOT=1
lib_deps = ${common_env_data.lib_deps_embedded_external}
upload_speed = 115200
[env:wemos]
platform = espressif8266
framework = arduino
board = d1_mini
upload_resetmethod = nodemcu
#upload_protocol = espota
board_build.flash_mode = dout
#build_type = debug
build_flags =
-DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
-DRED_PIN=15
-DGREEN_PIN=13
-DBLUE_PIN=12
-DWHITE1_PIN=14
-DWHITE2_PIN=4
lib_deps = ${common_env_data.lib_deps_embedded_external}
upload_speed = 921600
[env:H801]
platform = espressif8266
framework = arduino
board = d1_mini_lite
upload_resetmethod = ck
board_build.flash_mode = dout
board_build.ldscript = eagle.flash.1m64.ld
build_flags =
-DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
-DRED_PIN=15
-DGREEN_PIN=13
-DBLUE_PIN=12
-DWHITE1_PIN=14
-DWHITE2_PIN=4
lib_deps = ${common_env_data.lib_deps_embedded_external}
upload_speed = 921600