summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2025-03-27 21:53:12 +0100
committerxengineering <me@xengineering.eu>2025-03-27 22:18:26 +0100
commitff5d76084b1d10e780426b22e0bdb320e525bf79 (patch)
tree83a97c822431fd28c3353bc1f4910babf95ad258
parent5eccc8aa522b3fb92f580e29578e70ac00d8f729 (diff)
downloadiot-contact-ff5d76084b1d10e780426b22e0bdb320e525bf79.tar
iot-contact-ff5d76084b1d10e780426b22e0bdb320e525bf79.tar.zst
iot-contact-ff5d76084b1d10e780426b22e0bdb320e525bf79.zip
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.
-rw-r--r--fw/CMakeLists.txt13
1 files changed, 1 insertions, 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)