summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2022-09-19 12:15:58 +1000
committerjacqueline <me@jacqueline.id.au>2022-09-19 12:15:58 +1000
commitf665a9223bf5e482f22ed4116b1c90af81cd62dc (patch)
tree1f36ab6950d678fe4aa586cfd805c81a81dde3d3
downloadtangara-fw-f665a9223bf5e482f22ed4116b1c90af81cd62dc.tar.gz
Project scaffold
-rw-r--r--.gitignore3
-rw-r--r--CMakeLists.txt8
-rw-r--r--main/CMakeLists.txt2
-rw-r--r--main/gay-ipod-fw.c6
4 files changed, 19 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000..ce66cbf7
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+build/
+sdkconfig
+sdkconfig.old
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 00000000..36628a5b
--- /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.5)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(gay-ipod-fw)
diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
new file mode 100644
index 00000000..7ba80b22
--- /dev/null
+++ b/main/CMakeLists.txt
@@ -0,0 +1,2 @@
+idf_component_register(SRCS "gay-ipod-fw.c"
+ INCLUDE_DIRS ".")
diff --git a/main/gay-ipod-fw.c b/main/gay-ipod-fw.c
new file mode 100644
index 00000000..7b66f339
--- /dev/null
+++ b/main/gay-ipod-fw.c
@@ -0,0 +1,6 @@
+#include <stdio.h>
+
+void app_main(void)
+{
+
+}