forked from sidoh/esp8266_milight_hub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
83 lines (77 loc) · 2.29 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
; 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 = https://github.com/platformio/platform-espressif8266.git#feature/stage
board_f_cpu = 160000000L
lib_deps_builtin =
SPI
lib_deps_external =
sidoh/RF24
WiFiManager
ArduinoJson
PubSubClient
https://github.com/ratkins/RGBConverter
Hash
WebSockets
CircularBuffer
extra_scripts =
pre:.build_web.py
build_flags = !python .get_version.py -DMQTT_MAX_PACKET_SIZE=200 -Idist -Ilib/DataStructures
# -D DEBUG_PRINTF
# -D MQTT_DEBUG
# -D MILIGHT_UDP_DEBUG
# -D STATE_DEBUG
[env:nodemcuv2]
platform = ${common.platform}
framework = ${common.framework}
board = nodemcuv2
upload_speed = 115200
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}
[env:d1_mini]
platform = ${common.platform}
framework = ${common.framework}
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}
[env:esp12]
platform = ${common.platform}
framework = ${common.framework}
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}
[env:esp07]
platform = ${common.platform}
framework = ${common.framework}
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}
[env:huzzah]
platform = ${common.platform}
framework = ${common.framework}
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}