From ff5d76084b1d10e780426b22e0bdb320e525bf79 Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 27 Mar 2025 21:53:12 +0100 Subject: fw: app: Do not use CMake ExternalProject This made the `menuconfig` target disappear. Since the application has a quite complex configuration compared to the bootloader it is embedded to the primary CMake project while the bootloader stays an external project. --- fw/CMakeLists.txt | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/fw/CMakeLists.txt b/fw/CMakeLists.txt index aa5af1c..2affe92 100644 --- a/fw/CMakeLists.txt +++ b/fw/CMakeLists.txt @@ -34,15 +34,4 @@ if(BOARD STREQUAL "nucleo_f767zi") ) endif() -ExternalProject_Add( - app - PREFIX app - SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/app" - BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/app" - INSTALL_COMMAND "" - LIST_SEPARATOR "," - CMAKE_ARGS - "-DBOARD=${BOARD}" - "-DZEPHYR_BASE=${ZEPHYR_BASE}" - "-DZEPHYR_MODULES=${ZEPHYR_MODULES_COMMA}" -) +add_subdirectory(app) -- cgit v1.2.3-70-g09d2