From f9707217e6a2e1f7ad4ce1f87d765e01fc71e758 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Tue, 9 Aug 2022 11:46:25 +0200 Subject: [PATCH] Move DHT ESP32 lib to ESP32 lib --- lib/{default => libesp32}/DHT-sensor-library/.gitignore | 0 .../DHT-sensor-library/CONTRIBUTING.md | 0 lib/{default => libesp32}/DHT-sensor-library/DHT.cpp | 0 lib/{default => libesp32}/DHT-sensor-library/DHT.h | 0 lib/{default => libesp32}/DHT-sensor-library/README.md | 0 .../DHT-sensor-library/code-of-conduct.md | 0 .../examples/DHT_Unified_Sensor/DHT_Unified_Sensor.ino | 0 .../DHT-sensor-library/examples/DHTtester/DHTtester.ino | 0 lib/{default => libesp32}/DHT-sensor-library/keywords.txt | 0 .../DHT-sensor-library/library.properties | 2 +- lib/{default => libesp32}/DHT-sensor-library/license.txt | 0 platformio_override_sample.ini | 6 ++++-- 12 files changed, 5 insertions(+), 3 deletions(-) rename lib/{default => libesp32}/DHT-sensor-library/.gitignore (100%) rename lib/{default => libesp32}/DHT-sensor-library/CONTRIBUTING.md (100%) rename lib/{default => libesp32}/DHT-sensor-library/DHT.cpp (100%) rename lib/{default => libesp32}/DHT-sensor-library/DHT.h (100%) rename lib/{default => libesp32}/DHT-sensor-library/README.md (100%) rename lib/{default => libesp32}/DHT-sensor-library/code-of-conduct.md (100%) rename lib/{default => libesp32}/DHT-sensor-library/examples/DHT_Unified_Sensor/DHT_Unified_Sensor.ino (100%) rename lib/{default => libesp32}/DHT-sensor-library/examples/DHTtester/DHTtester.ino (100%) rename lib/{default => libesp32}/DHT-sensor-library/keywords.txt (100%) rename lib/{default => libesp32}/DHT-sensor-library/library.properties (94%) rename lib/{default => libesp32}/DHT-sensor-library/license.txt (100%) diff --git a/lib/default/DHT-sensor-library/.gitignore b/lib/libesp32/DHT-sensor-library/.gitignore similarity index 100% rename from lib/default/DHT-sensor-library/.gitignore rename to lib/libesp32/DHT-sensor-library/.gitignore diff --git a/lib/default/DHT-sensor-library/CONTRIBUTING.md b/lib/libesp32/DHT-sensor-library/CONTRIBUTING.md similarity index 100% rename from lib/default/DHT-sensor-library/CONTRIBUTING.md rename to lib/libesp32/DHT-sensor-library/CONTRIBUTING.md diff --git a/lib/default/DHT-sensor-library/DHT.cpp b/lib/libesp32/DHT-sensor-library/DHT.cpp similarity index 100% rename from lib/default/DHT-sensor-library/DHT.cpp rename to lib/libesp32/DHT-sensor-library/DHT.cpp diff --git a/lib/default/DHT-sensor-library/DHT.h b/lib/libesp32/DHT-sensor-library/DHT.h similarity index 100% rename from lib/default/DHT-sensor-library/DHT.h rename to lib/libesp32/DHT-sensor-library/DHT.h diff --git a/lib/default/DHT-sensor-library/README.md b/lib/libesp32/DHT-sensor-library/README.md similarity index 100% rename from lib/default/DHT-sensor-library/README.md rename to lib/libesp32/DHT-sensor-library/README.md diff --git a/lib/default/DHT-sensor-library/code-of-conduct.md b/lib/libesp32/DHT-sensor-library/code-of-conduct.md similarity index 100% rename from lib/default/DHT-sensor-library/code-of-conduct.md rename to lib/libesp32/DHT-sensor-library/code-of-conduct.md diff --git a/lib/default/DHT-sensor-library/examples/DHT_Unified_Sensor/DHT_Unified_Sensor.ino b/lib/libesp32/DHT-sensor-library/examples/DHT_Unified_Sensor/DHT_Unified_Sensor.ino similarity index 100% rename from lib/default/DHT-sensor-library/examples/DHT_Unified_Sensor/DHT_Unified_Sensor.ino rename to lib/libesp32/DHT-sensor-library/examples/DHT_Unified_Sensor/DHT_Unified_Sensor.ino diff --git a/lib/default/DHT-sensor-library/examples/DHTtester/DHTtester.ino b/lib/libesp32/DHT-sensor-library/examples/DHTtester/DHTtester.ino similarity index 100% rename from lib/default/DHT-sensor-library/examples/DHTtester/DHTtester.ino rename to lib/libesp32/DHT-sensor-library/examples/DHTtester/DHTtester.ino diff --git a/lib/default/DHT-sensor-library/keywords.txt b/lib/libesp32/DHT-sensor-library/keywords.txt similarity index 100% rename from lib/default/DHT-sensor-library/keywords.txt rename to lib/libesp32/DHT-sensor-library/keywords.txt diff --git a/lib/default/DHT-sensor-library/library.properties b/lib/libesp32/DHT-sensor-library/library.properties similarity index 94% rename from lib/default/DHT-sensor-library/library.properties rename to lib/libesp32/DHT-sensor-library/library.properties index 5c24c5aa9..f97eda3a6 100644 --- a/lib/default/DHT-sensor-library/library.properties +++ b/lib/libesp32/DHT-sensor-library/library.properties @@ -6,5 +6,5 @@ sentence=Arduino library for DHT11, DHT22, etc Temp & Humidity Sensors paragraph=Arduino library for DHT11, DHT22, etc Temp & Humidity Sensors category=Sensors url=https://github.com/adafruit/DHT-sensor-library -architectures=* +architectures=esp32 depends=Adafruit Unified Sensor diff --git a/lib/default/DHT-sensor-library/license.txt b/lib/libesp32/DHT-sensor-library/license.txt similarity index 100% rename from lib/default/DHT-sensor-library/license.txt rename to lib/libesp32/DHT-sensor-library/license.txt diff --git a/platformio_override_sample.ini b/platformio_override_sample.ini index 5549503f0..c2c8f16fa 100644 --- a/platformio_override_sample.ini +++ b/platformio_override_sample.ini @@ -96,8 +96,8 @@ lib_extra_dirs = ${library.lib_extra_dirs} [env:tasmota32_base] ; *** Uncomment next lines ";" to enable development Tasmota Arduino version ESP32 -;platform = https://github.com/tasmota/platform-espressif32/releases/download/v.2.0.3/platform-espressif32-v.2.0.3.zip -;platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/847/framework-arduinoespressif32-v4.4_dev-d327997163.tar.gz +;platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.4.1/platform-espressif32-2.0.4.1.zip +;platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/927/framework-arduinoespressif32-442_esp41-13eca437d1.tar.gz build_unflags = ${esp32_defaults.build_unflags} build_flags = ${esp32_defaults.build_flags} @@ -139,6 +139,8 @@ lib_extra_dirs = ${library.lib_extra_dirs} lib/libesp32 ; *** comment the following line if you dont use LVGL in a Tasmota32 build. Reduces compile time lib/libesp32_lvgl +; *** comment the following line if you dont use ESP32 Audio in a Tasmota32 build. Reduces compile time +; lib/libesp32_audio ; *** uncomment the following line if you use Bluetooth or Apple Homekit in a Tasmota32 build. Reduces compile time ; lib/libesp32_div ; *** uncomment the following line if you use Epaper driver epidy in your Tasmota32 build. Reduces compile time