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-11-05 22:28:19 +01:00
|
|
|
AsyncTCP-esphome@1.1.1
|
|
|
|
AsyncMqttClient-esphome@0.8.4
|
2019-04-17 12:06:00 +02:00
|
|
|
ArduinoJson-esphomelib@5.13.3
|
2020-07-29 12:57:43 +02:00
|
|
|
ESPAsyncWebServer-esphome@1.2.7
|
2020-07-28 12:10:55 +02:00
|
|
|
FastLED@3.3.2
|
2020-07-24 10:10:40 +02:00
|
|
|
NeoPixelBus-esphome@2.5.7
|
2020-07-30 11:38:57 +02:00
|
|
|
ESPAsyncTCP-esphome@1.2.3
|
2019-10-19 16:16:49 +02:00
|
|
|
1655@1.0.2 ; TinyGPSPlus (has name conflict)
|
2019-12-04 13:11:53 +01:00
|
|
|
6865@1.0.0 ; TM1651 Battery Display
|
2020-04-06 19:11:41 +02:00
|
|
|
6306@1.0.3 ; HM3301
|
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]
|
2020-07-27 18:22:47 +02:00
|
|
|
platform = espressif32@1.12.4
|
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>
|