From e4e214438731abe1d95a6c586379bf1004cbaf26 Mon Sep 17 00:00:00 2001 From: daha Date: Sun, 24 Aug 2025 00:32:52 +0200 Subject: [PATCH 1/2] use as esp-idf component compatibility --- 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..4ca61c9 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,5 @@ +idf_component_register( + SRCS "src/OneButton.cpp" + INCLUDE_DIRS "src" + REQUIRES "arduino-esp32" +) \ No newline at end of file From 0c7a5d6d5f2b8893bd3ce0b1bace56018031f756 Mon Sep 17 00:00:00 2001 From: daha Date: Tue, 9 Sep 2025 02:10:27 +0200 Subject: [PATCH 2/2] enables use of OneButton as a component in ISP-IDF --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4ca61c9..f906162 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ idf_component_register( - SRCS "src/OneButton.cpp" + SRCS "src/OneButton.cpp" INCLUDE_DIRS "src" - REQUIRES "arduino-esp32" + REQUIRES arduino-esp32 ) \ No newline at end of file