diff options
author | Maël Gassmann <mael.gassmann@students.bfh.ch> | 2024-04-08 22:34:19 +0200 |
---|---|---|
committer | Maël Gassmann <mael.gassmann@students.bfh.ch> | 2024-04-08 22:34:19 +0200 |
commit | 1cbb1cf860b56999bf44c07dfd9f6e07dbdacd6c (patch) | |
tree | 9ece205a1253ba87090c69429e4279fdcf0f1383 | |
parent | b757451e7bf621650e96d3d18142324f4616a995 (diff) |
[+] Hello World
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | CMakeLists.txt | 8 | ||||
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | main/CMakeLists.txt | 2 | ||||
-rw-r--r-- | main/main.c | 6 |
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) @@ -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"); +} |