forked from esphome/esphome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
58 lines (54 loc) · 1.41 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
; This file is so that the C++ files in this repo
; can be edited with IDEs like VSCode or CLion
; with the platformio system
; It's *not* used during runtime.
[platformio]
default_envs = livingroom8266
src_dir = .
include_dir = include
[common]
lib_deps =
[email protected] ; TinyGPSPlus (has name conflict)
[email protected] ; TM1651 Battery Display
[email protected] ; HM3301
build_flags =
-fno-exceptions
-Wno-sign-compare
-Wno-unused-but-set-variable
-Wno-unused-variable
-DCLANG_TIDY
-DESPHOME_LOG_LEVEL=ESPHOME_LOG_LEVEL_VERY_VERBOSE
src_filter =
+<esphome>
+<tests/dummy_main.cpp>
[env:livingroom8266]
; use Arduino framework v2.4.2 for clang-tidy (latest 2.5.2 breaks static code analysis, see #760)
platform = platformio/[email protected]
framework = arduino
board = nodemcuv2
lib_deps =
${common.lib_deps}
ESP8266WiFi
Update
build_flags = ${common.build_flags}
src_filter = ${common.src_filter}
[env:livingroom32]
platform = platformio/[email protected]
framework = arduino
board = nodemcu-32s
lib_deps =
${common.lib_deps}
esphome/[email protected]
Update
build_flags =
${common.build_flags}
-DUSE_ETHERNET
src_filter =
${common.src_filter}
-<esphome/components/esp8266_pwm>