summaryrefslogtreecommitdiff
path: root/fw
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2025-01-20 20:29:18 +0100
committerxengineering <me@xengineering.eu>2025-01-20 20:56:10 +0100
commit7a6e63a94c0018bb2bba009bf7b5ac80e34a3118 (patch)
treed98f8d82ac76fe8a1a1d047a1209484b1e269eab /fw
parent1a31a38511b0cb3561a4ed91f56285363f9aed9b (diff)
downloadsoundbox-7a6e63a94c0018bb2bba009bf7b5ac80e34a3118.tar
soundbox-7a6e63a94c0018bb2bba009bf7b5ac80e34a3118.tar.zst
soundbox-7a6e63a94c0018bb2bba009bf7b5ac80e34a3118.zip
fw: Add CMakeLists.txt
Diffstat (limited to 'fw')
-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)