summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fw/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/fw/CMakeLists.txt b/fw/CMakeLists.txt
new file mode 100644
index 0000000..01a3f3e
--- /dev/null
+++ b/fw/CMakeLists.txt
@@ -0,0 +1,11 @@
+cmake_minimum_required(VERSION 3.20.0)
+
+set(BOARD "esp32s2_devkitm")
+set(ZEPHYR_MODULES
+ "${CMAKE_CURRENT_SOURCE_DIR}/zephyrproject/modules/hal/cmsis"
+ "${CMAKE_CURRENT_SOURCE_DIR}/zephyrproject/modules/hal/espressif"
+)
+find_package(Zephyr REQUIRED HINTS "${CMAKE_CURRENT_SOURCE_DIR}/zephyrproject/zephyr")
+project(soundbox)
+
+target_sources(app PRIVATE src/main.c)