From 1cbb1cf860b56999bf44c07dfd9f6e07dbdacd6c Mon Sep 17 00:00:00 2001 From: Maƫl Gassmann Date: Mon, 8 Apr 2024 22:34:19 +0200 Subject: [+] Hello World --- .gitignore | 6 ++++++ CMakeLists.txt | 8 ++++++++ README.md | 1 + main/CMakeLists.txt | 2 ++ main/main.c | 6 ++++++ 5 files changed, 23 insertions(+) create mode 100644 .gitignore create mode 100644 CMakeLists.txt create mode 100644 main/CMakeLists.txt create mode 100644 main/main.c 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 + +void app_main(void) +{ + printf("Hey!\n"); +} -- cgit v1.2.3