rc-gateway/platformio.ini
Nicu Hodos 89da9a80e8 re-organize:
- move code for all devices in dedicated folder
- move code for gateway in the root folder
2025-09-20 10:00:42 +02:00

61 lines
1.6 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_extra_dirs =
./libraries
lib_deps =
sui77/rc-switch@^2.6.4
bblanchon/ArduinoJson@6.21.5
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 DHT_SENSOR=0 -D DEBUG_RAW=0 -D ENABLE_DOORBELL=0
check_tool = cppcheck
check_flags = --enable=all
check_skip_packages = yes
check_severity = medium, high
[env:huzzah]
platform = espressif8266
board = huzzah
framework = arduino
lib_deps =
${env.lib_deps}
arkhipenko/TaskScheduler@^3.8.5
https://git.hodos.ro/libraries/ha-mqtt.git@^1.10.0
https://git.hodos.ro/libraries/wifi.git@^2.0.0
esphome/ESPAsyncWebServer-esphome@^3.4.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 MQTT_CLEANUP=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