forked from esphome/esphome-core
-
Notifications
You must be signed in to change notification settings - Fork 2
/
platformio.ini
124 lines (110 loc) · 3.37 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
; This file is here for developing esphomelib, as a user you don't need this.
[platformio]
env_default = livingroom
src_dir = .
include_dir = src
[common]
lib_deps =
AsyncMqttClient@0.8.2
ArduinoJson-esphomelib@5.13.3
ESP Async WebServer@1.1.1
FastLED@3.2.0
NeoPixelBus@2.4.1
AsyncTCP@1.0.3
ESPAsyncTCP@1.1.3
build_flags =
-Wno-reorder
-DUSE_WEB_SERVER
-DUSE_FAST_LED_LIGHT
-DUSE_NEO_PIXEL_BUS_LIGHT
-DDONT_STORE_LOG_STR_IN_FLASH
; Don't use FlashStringHelper for debug builds because CLion freaks out for all
; log messages
src_filter = +<src>
[env:livingroom]
platform = espressif32@1.6.0
board = nodemcu-32s
framework = arduino
lib_deps = ${common.lib_deps}
build_flags = ${common.build_flags} -DUSE_NEW_OTA -DUSE_ETHERNET
src_filter = ${common.src_filter} +<examples/livingroom/livingroom.cpp>
[env:dht-dallas-sensors]
platform = espressif32@1.6.0
board = nodemcu-32s
framework = arduino
lib_deps = ${common.lib_deps}
build_flags = ${common.build_flags}
src_filter = ${common.src_filter} +<examples/dht-dallas-sensors/dht-dallas-sensors.cpp>
[env:switch-binarysensor]
platform = espressif32@1.6.0
board = nodemcu-32s
framework = arduino
lib_deps = ${common.lib_deps}
build_flags = ${common.build_flags}
src_filter = ${common.src_filter} +<examples/switch-binarysensor/switch-binarysensor.cpp>
[env:fan-example]
platform = espressif32@1.6.0
board = nodemcu-32s
framework = arduino
lib_deps = ${common.lib_deps}
build_flags = ${common.build_flags}
src_filter = ${common.src_filter} +<examples/fan-example/fan-example.cpp>
[env:lights]
platform = espressif32@1.6.0
board = nodemcu-32s
framework = arduino
lib_deps = ${common.lib_deps}
build_flags = ${common.build_flags}
src_filter = ${common.src_filter} +<examples/lights/lights.cpp>
[env:livingroom8266]
platform = espressif8266@1.8.0
board = nodemcuv2
framework = arduino
lib_deps = ${common.lib_deps}
build_flags = ${common.build_flags}
src_filter = ${common.src_filter} +<examples/livingroom8266/livingroom8266.cpp>
[env:custombmp180]
platform = espressif8266@1.8.0
board = nodemcuv2
framework = arduino
lib_deps =
${common.lib_deps}
Adafruit BMP085 Library
build_flags = ${common.build_flags}
src_filter = ${common.src_filter} +<examples/custom-bmp180-sensor/custom-bmp180-sensor.cpp>
[env:i2c-sensors]
platform = espressif32@1.6.0
board = nodemcu-32s
framework = arduino
lib_deps = ${common.lib_deps}
build_flags = ${common.build_flags}
src_filter = ${common.src_filter} +<examples/i2c-sensors/i2c-sensors.cpp>
[env:pcf8574]
platform = espressif32@1.6.0
board = nodemcu-32s
framework = arduino
lib_deps = ${common.lib_deps}
build_flags = ${common.build_flags}
src_filter = ${common.src_filter} +<examples/pcf8574/pcf8574.cpp>
[env:fastled]
platform = espressif32@1.6.0
board = nodemcu-32s
framework = arduino
lib_deps = ${common.lib_deps}
build_flags = ${common.build_flags}
src_filter = ${common.src_filter} +<examples/fastled/fastled.cpp>
[env:sonoff-b1]
platform = espressif8266@1.8.0
board = esp01_1m
board_build.flash_mode = dout
framework = arduino
lib_deps = ${common.lib_deps}
build_flags = ${common.build_flags}
src_filter = ${common.src_filter} +<examples/sonoff-b1/sonoff-b1.cpp>
[env:neopixelbus]
platform = espressif32@1.6.0
board = nodemcu-32s
framework = arduino
lib_deps = ${common.lib_deps}
build_flags = ${common.build_flags}
src_filter = ${common.src_filter} +<examples/neopixelbus/neopixelbus.cpp>