enable all flags for huzzah_dev so that compilation for the entire code can be verified

This commit is contained in:
Nicu Hodos 2025-10-08 14:50:00 +02:00
parent bfd8b02f2a
commit 1eddcd1f5c
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,6 @@
#if DHT_SENSOR
#include <ArduinoJson.h>
#include <Adafruit_Sensor.h>
#include <DHT.h>

View File

@ -19,7 +19,7 @@ lib_deps =
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
build_flags = -D DEBUG_RAW=0
check_tool = cppcheck
check_flags = --enable=all
check_skip_packages = yes
@ -33,6 +33,7 @@ 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 =
@ -40,7 +41,7 @@ upload_flags =
[env:huzzah_dev]
extends = env:huzzah
build_flags = ${env.build_flags} -D MQTT_CLEANUP=1
build_flags = ${env.build_flags} -D DHT_SENSOR=1 -D MQTT_CLEANUP=1 -D ENABLE_DOORBELL=1
[env:pro-mini]
platform = atmelavr