forked from sidoh/esp8266_milight_hub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
117 lines (110 loc) · 3.32 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
; 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
; http://docs.platformio.org/page/projectconf.html
[common]
framework = arduino
platform = espressif8266@~1.8
board_f_cpu = 160000000L
lib_deps_builtin =
SPI
lib_deps_external =
sidoh/WiFiManager#cmidgley
RF24@~1.3.2
ArduinoJson@~6.10.1
PubSubClient@~2.7
ratkins/RGBConverter@07010f2
WebSockets@~2.2.0
CircularBuffer@~1.2.0
PathVariableHandlers@~2.0.0
RichHttpServer@~2.0.2
extra_scripts =
pre:.build_web.py
test_ignore = remote
upload_speed = 460800
build_flags =
!python3 .get_version.py
# For compatibility with WebSockets 2.1.4 and v2.4 of the Arduino SDK
-D USING_AXTLS
-D MQTT_MAX_PACKET_SIZE=250
-D HTTP_UPLOAD_BUFLEN=128
-D FIRMWARE_NAME=milight-hub
-D RICH_HTTP_REQUEST_BUFFER_SIZE=2048
-D RICH_HTTP_RESPONSE_BUFFER_SIZE=2048
-Idist -Ilib/DataStructures
# -D STATE_DEBUG
# -D DEBUG_PRINTF
# -D MQTT_DEBUG
# -D MILIGHT_UDP_DEBUG
# -D STATE_DEBUG
[env:nodemcuv2]
platform = ${common.platform}
framework = ${common.framework}
upload_speed = ${common.upload_speed}
board = nodemcuv2
build_flags = ${common.build_flags} -Wl,-Tesp8266.flash.4m1m.ld -D FIRMWARE_VARIANT=nodemcuv2
extra_scripts = ${common.extra_scripts}
lib_deps =
${common.lib_deps_builtin}
${common.lib_deps_external}
test_ignore = ${common.test_ignore}
[env:d1_mini]
platform = ${common.platform}
framework = ${common.framework}
upload_speed = ${common.upload_speed}
board = d1_mini
build_flags = ${common.build_flags} -Wl,-Tesp8266.flash.4m1m.ld -D FIRMWARE_VARIANT=d1_mini
extra_scripts = ${common.extra_scripts}
lib_deps =
${common.lib_deps_builtin}
${common.lib_deps_external}
test_ignore = ${common.test_ignore}
[env:esp12]
platform = ${common.platform}
framework = ${common.framework}
upload_speed = ${common.upload_speed}
board = esp12e
build_flags = ${common.build_flags} -Wl,-Tesp8266.flash.4m1m.ld -D FIRMWARE_VARIANT=esp12
extra_scripts = ${common.extra_scripts}
lib_deps =
${common.lib_deps_builtin}
${common.lib_deps_external}
test_ignore = ${common.test_ignore}
[env:esp07]
platform = ${common.platform}
framework = ${common.framework}
upload_speed = ${common.upload_speed}
board = esp07
build_flags = ${common.build_flags} -Wl,-Tesp8266.flash.1m64.ld -D FIRMWARE_VARIANT=esp07
extra_scripts = ${common.extra_scripts}
lib_deps =
${common.lib_deps_builtin}
${common.lib_deps_external}
test_ignore = ${common.test_ignore}
[env:huzzah]
platform = ${common.platform}
framework = ${common.framework}
upload_speed = ${common.upload_speed}
board = huzzah
build_flags = ${common.build_flags} -D FIRMWARE_VARIANT=huzzah
extra_scripts = ${common.extra_scripts}
lib_deps =
${common.lib_deps_builtin}
${common.lib_deps_external}
test_ignore = ${common.test_ignore}
[env:d1_mini_pro]
platform = ${common.platform}
framework = ${common.framework}
upload_speed = ${common.upload_speed}
board = d1_mini_pro
build_flags = ${common.build_flags} -Wl,-Tesp8266.flash.4m1m.ld -D FIRMWARE_VARIANT=d1_mini_PRO
extra_scripts = ${common.extra_scripts}
lib_deps =
${common.lib_deps_builtin}
${common.lib_deps_external}
test_ignore = ${common.test_ignore}