From 7a6e63a94c0018bb2bba009bf7b5ac80e34a3118 Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 20 Jan 2025 20:29:18 +0100 Subject: fw: Add CMakeLists.txt --- fw/CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 fw/CMakeLists.txt (limited to 'fw') 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) -- cgit v1.2.3-70-g09d2