forked from sidoh/esp8266_milight_hub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
60 lines (55 loc) · 1.54 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
; 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]
board_f_cpu = 160000000L
lib_deps_builtin =
SPI
lib_deps_external =
RF24
WiFiManager
ArduinoJson
PubSubClient
https://github.com/ratkins/RGBConverter
build_flags = !python .get_version.py
# -D MQTT_DEBUG
# -D MILIGHT_UDP_DEBUG
# -D DEBUG_PRINTF
[env:nodemcuv2]
platform = espressif8266
framework = arduino
board = nodemcuv2
build_flags = ${common.build_flags} -Wl,-Tesp8266.flash.4m1m.ld -D FIRMWARE_VARIANT=nodemcuv2
lib_deps =
${common.lib_deps_builtin}
${common.lib_deps_external}
[env:d1_mini]
platform = espressif8266
framework = arduino
board = d1_mini
build_flags = ${common.build_flags} -Wl,-Tesp8266.flash.4m1m.ld -D FIRMWARE_VARIANT=d1_mini
lib_deps =
${common.lib_deps_builtin}
${common.lib_deps_external}
[env:esp12]
platform = espressif8266
board = esp12e
framework = arduino
build_flags = ${common.build_flags} -Wl,-Tesp8266.flash.4m1m.ld -D FIRMWARE_VARIANT=esp12
lib_deps =
${common.lib_deps_builtin}
${common.lib_deps_external}
[env:esp07]
platform = espressif8266
board = esp07
framework = arduino
build_flags = ${common.build_flags} -Wl,-Tesp8266.flash.1m64.ld -D FIRMWARE_VARIANT=esp07
lib_deps =
${common.lib_deps_builtin}
${common.lib_deps_external}