aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorMaël Gassmann <mael.gassmann@students.bfh.ch>2024-04-08 22:34:19 +0200
committerMaël Gassmann <mael.gassmann@students.bfh.ch>2024-04-08 22:34:19 +0200
commit1cbb1cf860b56999bf44c07dfd9f6e07dbdacd6c (patch)
tree9ece205a1253ba87090c69429e4279fdcf0f1383 /main
parentb757451e7bf621650e96d3d18142324f4616a995 (diff)
[+] Hello World
Diffstat (limited to 'main')
-rw-r--r--main/CMakeLists.txt2
-rw-r--r--main/main.c6
2 files changed, 8 insertions, 0 deletions
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");
+}