From a723f7d988960027fcb18d923d188823aa610857 Mon Sep 17 00:00:00 2001 From: rkcf Date: Thu, 26 Jan 2023 13:08:15 -0600 Subject: [PATCH] add esp-idf project skeleton --- CMakeLists.txt | 8 ++++++++ main/CMakeLists.txt | 2 ++ main/esp32-sequencer.c | 6 ++++++ 3 files changed, 16 insertions(+) create mode 100644 CMakeLists.txt create mode 100644 main/CMakeLists.txt create mode 100644 main/esp32-sequencer.c diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..e83b91b --- /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-sequencer) diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt new file mode 100644 index 0000000..45c1be7 --- /dev/null +++ b/main/CMakeLists.txt @@ -0,0 +1,2 @@ +idf_component_register(SRCS "esp32-sequencer.c" + INCLUDE_DIRS ".") diff --git a/main/esp32-sequencer.c b/main/esp32-sequencer.c new file mode 100644 index 0000000..7b66f33 --- /dev/null +++ b/main/esp32-sequencer.c @@ -0,0 +1,6 @@ +#include + +void app_main(void) +{ + +}