From 0d52f50289eb6a80ee12edd7614f06e0e583dc41 Mon Sep 17 00:00:00 2001 From: rkcf Date: Tue, 7 Feb 2023 15:30:36 -0600 Subject: [PATCH] Add: initial esp-idf project skeleton --- CMakeLists.txt | 8 ++++++++ main/CMakeLists.txt | 2 ++ 2 files changed, 10 insertions(+) create mode 100644 CMakeLists.txt create mode 100644 main/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..dfc9a98 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,8 @@ +# For more information about build system see +# https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html +# The following five lines of boilerplate have to be in your project's +# CMakeLists in this exact order for cmake to work correctly +cmake_minimum_required(VERSION 3.16) + +include($ENV{IDF_PATH}/tools/cmake/project.cmake) +project(esp32_rgb_rotary_encoder) diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt new file mode 100644 index 0000000..87a0539 --- /dev/null +++ b/main/CMakeLists.txt @@ -0,0 +1,2 @@ +idf_component_register(SRCS "esp32_rgb_rotary_encoder.c" + INCLUDE_DIRS ".")