aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore6
-rw-r--r--CMakeLists.txt8
-rw-r--r--README.md1
-rw-r--r--main/CMakeLists.txt2
-rw-r--r--main/main.c6
5 files changed, 23 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..95a17dd
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+sdkconfig
+examples
+build
+.cache
+.vscode
+.devcontainer \ No newline at end of file
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..e1eb048
--- /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(alarm_clock)
diff --git a/README.md b/README.md
index 8f3ae50..5e91b5c 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,4 @@
# Alarm Clock
ESP32 and Nixie (IN-12A) display alarm clock
+
diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
new file mode 100644
index 0000000..cf2c455
--- /dev/null
+++ b/main/CMakeLists.txt
@@ -0,0 +1,2 @@
+idf_component_register(SRCS "main.c"
+ INCLUDE_DIRS ".")
diff --git a/main/main.c b/main/main.c
new file mode 100644
index 0000000..d42f8ba
--- /dev/null
+++ b/main/main.c
@@ -0,0 +1,6 @@
+#include <stdio.h>
+
+void app_main(void)
+{
+ printf("Hey!\n");
+}