summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt6
-rw-r--r--src/main.c12
2 files changed, 18 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..483bc0c
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,6 @@
+# This file was automatically generated for projects
+# without default 'CMakeLists.txt' file.
+
+FILE(GLOB_RECURSE app_sources ${CMAKE_SOURCE_DIR}/src/*.*)
+
+idf_component_register(SRCS ${app_sources})
diff --git a/src/main.c b/src/main.c
new file mode 100644
index 0000000..925a112
--- /dev/null
+++ b/src/main.c
@@ -0,0 +1,12 @@
+#include <Arduino.h>
+
+// #include <settings.h>
+//
+void setup() {
+ Serial.begin(115200);
+}
+
+void loop() {
+ Serial.println("hello");
+ delay(1000);
+}