From 28de917515485c27916c301f284e0837a239d6b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20H=C3=B6pfinger?= Date: Wed, 15 Feb 2023 09:43:39 +0100 Subject: [PATCH 1/2] added CMakeLists.txt for use under ESP-IDF see https://docs.espressif.com/projects/arduino-esp32/en/latest/esp-idf_component.html --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..baf4fe5 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,5 @@ +idf_component_register( + SRCS "DallasTemperature.cpp" + INCLUDE_DIRS "." + PRIV_REQUIRES OneWire arduino + ) From be9e5b899d6f4e710e26483f6007631e7698ad3c Mon Sep 17 00:00:00 2001 From: diplfranzhoepfinger <37779037+diplfranzhoepfinger@users.noreply.github.com> Date: Wed, 15 Feb 2023 10:24:57 +0100 Subject: [PATCH 2/2] Update CMakeLists.txt --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index baf4fe5..8074797 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,8 @@ +# Author: diplfranzhoepfinger +# reference: https://docs.espressif.com/projects/arduino-esp32/en/latest/esp-idf_component.html +# URL: https://github.com/milesburton/Arduino-Temperature-Control-Library +# DATE: 15.02.2023 + idf_component_register( SRCS "DallasTemperature.cpp" INCLUDE_DIRS "."