From 9ffcd4f9913a2877002545d62ff17c0dccc9dec5 Mon Sep 17 00:00:00 2001 From: dizcza Date: Fri, 21 Feb 2025 09:45:04 +0200 Subject: [PATCH 1/2] arduino as a component cmake --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..325e2cf --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,6 @@ +file(GLOB SOURCES src/*.cpp) +idf_component_register( + SRCS ${SOURCES} + INCLUDE_DIRS src + REQUIRES arduino +) From 04f17174a872b94692e9109b084bf7e9cd574691 Mon Sep 17 00:00:00 2001 From: dizcza Date: Sat, 11 Apr 2026 12:50:52 +0300 Subject: [PATCH 2/2] requires arduino-esp32 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 325e2cf..150670c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,5 +2,5 @@ file(GLOB SOURCES src/*.cpp) idf_component_register( SRCS ${SOURCES} INCLUDE_DIRS src - REQUIRES arduino + REQUIRES arduino-esp32 )