2019-04-17 12:06:00 +02:00
|
|
|
; 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]
|
2019-08-19 20:37:17 +02:00
|
|
|
default_envs = livingroom8266
|
2019-04-17 12:06:00 +02:00
|
|
|
src_dir = .
|
|
|
|
include_dir = include
|
|
|
|
|
|
|
|
[common]
|
|
|
|
lib_deps =
|
2019-10-20 19:24:34 +02:00
|
|
|
AsyncTCP@1.1.1
|
|
|
|
AsyncMqttClient-esphome@0.8.3
|
2019-04-17 12:06:00 +02:00
|
|
|
ArduinoJson-esphomelib@5.13.3
|
2019-10-20 19:24:34 +02:00
|
|
|
ESPAsyncWebServer-esphome@1.2.5
|
2019-06-28 11:29:37 +02:00
|
|
|
FastLED@3.2.9
|
2019-10-18 14:46:09 +02:00
|
|
|
NeoPixelBus-esphome@2.5.2
|
|
|
|
ESPAsyncTCP-esphome@1.2.2
|
2019-10-19 16:16:49 +02:00
|
|
|
1655@1.0.2 ; TinyGPSPlus (has name conflict)
|
2019-04-17 12:06:00 +02:00
|
|
|
build_flags =
|
|
|
|
-Wno-reorder
|
|
|
|
-DUSE_WEB_SERVER
|
|
|
|
-DUSE_FAST_LED_LIGHT
|
|
|
|
-DUSE_NEO_PIXEL_BUS_LIGHT
|
|
|
|
-DCLANG_TIDY
|
2019-04-22 21:56:30 +02:00
|
|
|
-DESPHOME_LOG_LEVEL=ESPHOME_LOG_LEVEL_VERY_VERBOSE
|
2019-04-17 12:06:00 +02:00
|
|
|
; Don't use FlashStringHelper for debug builds because CLion freaks out for all
|
|
|
|
; log messages
|
|
|
|
src_filter = +<esphome>
|
|
|
|
|
|
|
|
[env:livingroom8266]
|
2019-10-18 14:46:29 +02:00
|
|
|
; use Arduino framework v2.3.0 for clang-tidy (latest 2.5.2 breaks static code analysis, see #760)
|
2019-04-17 12:06:00 +02:00
|
|
|
platform = espressif8266@1.8.0
|
|
|
|
board = nodemcuv2
|
|
|
|
framework = arduino
|
|
|
|
lib_deps =
|
|
|
|
${common.lib_deps}
|
|
|
|
ESP8266WiFi
|
|
|
|
Hash
|
2019-04-22 21:56:30 +02:00
|
|
|
build_flags = ${common.build_flags}
|
2019-04-17 12:06:00 +02:00
|
|
|
src_filter = ${common.src_filter} +<tests/livingroom8266.cpp>
|
2019-10-18 11:22:08 +02:00
|
|
|
|
|
|
|
[env:livingroom32]
|
2019-10-18 14:46:29 +02:00
|
|
|
platform = espressif32@1.11.0
|
2019-10-18 11:22:08 +02:00
|
|
|
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>
|