forked from dudanov/esphome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
52 lines (48 loc) · 1.43 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
; 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 =
-Wno-reorder
-DUSE_WEB_SERVER
-DUSE_FAST_LED_LIGHT
-DUSE_NEO_PIXEL_BUS_LIGHT
-DCLANG_TIDY
-DESPHOME_LOG_LEVEL=ESPHOME_LOG_LEVEL_VERY_VERBOSE
; Don't use FlashStringHelper for debug builds because CLion freaks out for all
; log messages
src_filter = +<esphome>
[env:livingroom8266]
; use Arduino framework v2.3.0 for clang-tidy (latest 2.5.2 breaks static code analysis, see #760)
platform = [email protected]
board = nodemcuv2
framework = arduino
lib_deps =
${common.lib_deps}
ESP8266WiFi
Hash
build_flags = ${common.build_flags}
src_filter = ${common.src_filter} +<tests/livingroom8266.cpp>
[env:livingroom32]
platform = [email protected]
board = nodemcu-32s
framework = arduino
lib_deps = ${common.lib_deps}
build_flags = ${common.build_flags} -DUSE_ETHERNET
src_filter = ${common.src_filter} +<tests/livingroom32.cpp>