From 2b7ecfb1f5b6c9f98d239c893d4b4130176a1beb Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 26 Mar 2025 20:59:54 +0100 Subject: fw: rtos: Add CMakeLists.txt This moves the definition of ZEPHYR_MODULES and ZEPHYR_BASE to this rtos folder where it fits best. --- fw/CMakeLists.txt | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'fw/CMakeLists.txt') diff --git a/fw/CMakeLists.txt b/fw/CMakeLists.txt index db9834c..5b1e42b 100644 --- a/fw/CMakeLists.txt +++ b/fw/CMakeLists.txt @@ -9,13 +9,7 @@ set(KEY ${KEY_DEFAULT} CACHE STRING "Firmware signing key path") message(STATUS "Firmware signing key path: ${KEY}") set(BOARD "native_sim/native/64") -set(ZEPHYR_MODULES - "${CMAKE_CURRENT_SOURCE_DIR}/rtos/modules/cmsis" - "${CMAKE_CURRENT_SOURCE_DIR}/rtos/modules/hal_stm32" - "${CMAKE_CURRENT_SOURCE_DIR}/rtos/modules/mbedtls" - "${CMAKE_CURRENT_SOURCE_DIR}/rtos/modules/mcuboot" -) -set(ZEPHYR_BASE "${CMAKE_CURRENT_SOURCE_DIR}/rtos/zephyr") +add_subdirectory(rtos) string(REPLACE ";" "," ZEPHYR_MODULES_COMMA "${ZEPHYR_MODULES}") include(ExternalProject) -- cgit v1.2.3-70-g09d2