rc-gateway/platformio.ini

56 lines
1.5 KiB
INI

; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
default_envs = huzzah
[env]
lib_deps =
sui77/rc-switch@^2.6.4
adafruit/Adafruit Unified Sensor@^1.1.4
https://github.com/adafruit/Adafruit-GFX-Library#1.2.2
https://github.com/adafruit/Adafruit_LED_Backpack#1.1.6
adafruit/DHT sensor library@1.3.2
https://git.hodos.ro/libraries/serial-reader.git@^1.0.0
build_flags = -D DEBUG_RAW=0
check_tool = cppcheck
check_flags = --enable=all cppcheck: --suppress=*:*/.pio/* --inline-suppr
check_skip_packages = yes
[env:huzzah]
platform = espressif8266
board = huzzah
framework = arduino
lib_deps =
${env.lib_deps}
https://git.hodos.ro/libraries/ha-mqtt.git#2.0.0
https://git.hodos.ro/libraries/wifi.git@^2.0.0
build_flags = ${env.build_flags} -D DHT_SENSOR=0 -D MQTT_CLEANUP=0 -D ENABLE_DOORBELL=0
upload_port = 192.168.6.161
upload_protocol = espota
upload_flags =
--host_port=10000
[env:huzzah_dev]
extends = env:huzzah
build_flags = ${env.build_flags} -D DHT_SENSOR=1 -D MQTT_CLEANUP=1 -D ENABLE_DOORBELL=1
[env:pro-mini]
platform = atmelavr
board = pro16MHzatmega328
framework = arduino
[env:native]
platform = native
test_filter = native/*
lib_deps =
bblanchon/ArduinoJson@6.21.5
debug_build_flags = -std=c++11