From c7b43b425c489345f50fc4033511dae0f734e555 Mon Sep 17 00:00:00 2001 From: Darrell Date: Thu, 24 Aug 2023 20:02:20 -0400 Subject: [PATCH] Update deps (#1023) * ARDUINO_LOOP_STACK_SIZE gotta be 6k to update a m5stack-c --- platformio.ini | 16 ++++++++-------- src/GUI.cpp | 3 --- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/platformio.ini b/platformio.ini index 4f64b22..9364bd3 100644 --- a/platformio.ini +++ b/platformio.ini @@ -28,7 +28,7 @@ build_flags = -D ARDUINOJSON_ENABLE_NAN=0 -D CONFIG_BT_NIMBLE_TASK_STACK_SIZE=4096 -D SCAN_TASK_STACK_SIZE=2562 - -D ARDUINO_LOOP_STACK_SIZE=3584 + -D ARDUINO_LOOP_STACK_SIZE=6000 -D MQTT_MIN_FREE_MEMORY=12192 -D CONFIG_ASYNC_TCP_USE_WDT=0 -D CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT=20 @@ -44,12 +44,12 @@ framework = arduino lib_deps = AsyncTCP = https://github.com/pbolduc/AsyncTCP.git@^1.2.0 https://github.com/ESPresense/ESPAsyncWebServer.git - https://github.com/ESPresense/AsyncWiFiSettings.git@^1.0.7 + https://github.com/ESPresense/AsyncWiFiSettings.git@^1.0.8 https://github.com/ESPresense/SoftFilters.git https://github.com/ESPresense/NimBLE-Arduino.git marvinroger/AsyncMqttClient@^0.9.0 - bblanchon/ArduinoJson@^6.21.0 - kitesurfer1404/WS2812FX@^1.4.1 + bblanchon/ArduinoJson@^6.21.3 + kitesurfer1404/WS2812FX@^1.4.2 board_build.partitions = partitions_singleapp.csv monitor_speed = 115200 monitor_filters = esp32_exception_decoder, time @@ -107,14 +107,14 @@ build_flags = [sensors] lib_deps = - adafruit/Adafruit Unified Sensor@^1.1.4 - adafruit/Adafruit AHTX0@^2.0.3 + adafruit/Adafruit Unified Sensor@^1.1.13 + adafruit/Adafruit AHTX0@^2.0.5 adafruit/Adafruit BME280 Library@^2.2.2 adafruit/Adafruit BMP085 Library@^1.2.1 - adafruit/Adafruit BMP280 Library@^2.6.3 + adafruit/Adafruit BMP280 Library@^2.6.8 adafruit/Adafruit TSL2561@^1.1.0 starmbi/hp_BH1750@^1.0.0 - beegee-tokyo/DHT sensor library for ESPx@^1.18 + beegee-tokyo/DHT sensor library for ESPx@^1.19 sparkfun/SparkFun SGP30 Arduino Library@^1.0.5 sensirion/arduino-sht@^1.2.2 paulstoffregen/OneWire@^2.3.7 diff --git a/src/GUI.cpp b/src/GUI.cpp index a0bfaf2..686c518 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -72,18 +72,15 @@ void Left(BleFingerprint *f) { } void Motion(bool pir, bool radar) { Serial.printf("%u Motion | Pir: %s Radar: %s\r\n", xPortGetCoreID(), pir ? "yes" : "no", radar ? "yes" : "no"); - Display::Status("Pir:%s Radar:%s\r\n", pir ? "yes" : "no", radar ? "yes" : "no"); LEDs::Motion(pir, radar); } void Switch(bool switch_1, bool switch_2) { Serial.printf("%u Switch | Switch One: %s Switch Two: %s\r\n", xPortGetCoreID(), switch_1 ? "yes" : "no", switch_2 ? "yes" : "no"); - Display::Status("Switch One:%s Switch Two:%s\r\n", switch_1 ? "yes" : "no", switch_2 ? "yes" : "no"); } void Button(bool button_1, bool button_2) { Serial.printf("%u Button | Button One: %s Button Two: %s\r\n", xPortGetCoreID(), button_1 ? "yes" : "no", button_2 ? "yes" : "no"); - Display::Status("Button One:%s Button Two:%s\r\n", button_1 ? "yes" : "no", button_2 ? "yes" : "no"); } void Seen(bool inprogress) {