Hi,
I have the exact problem in this issue: https://devzone.nordicsemi.com/f/nordic-q-a/60609/problem-with-mcuboot
NCS version: 1.9
Board: nrf52840dk_nrf52840
The output:
-- Configuring incomplete, errors occurred! CMake Error at <ncs_root>/nrf/cmake/multi_image.cmake:409 (message): CMake generation for mcuboot failed, aborting. Command: 1 Call Stack (most recent call first): <ncs_root>/nrf/cmake/multi_image.cmake:150 (add_child_image_from_source) <ncs_root>/nrf/modules/mcuboot/CMakeLists.txt:216 (add_child_image) -- Configuring incomplete, errors occurred! See also "<replaced_prj_source>/d2mul_bootloader/build/CMakeFiles/CMakeOutput.log". See also "<replaced_prj_source>/d2mul_bootloader/build/CMakeFiles/CMakeError.log". FATAL ERROR: command exited with status 1: /usr/bin/cmake -DWEST_PYTHON=/home/ozan/.pyenv/versions/3.6.8/bin/python3 -B<replaced_prj_source>/d2mul_bootloader/build -S<replaced_prj_source>/d2mul_bootloader -GNinja -DBOARD=nrf52840dk_nrf52840 -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=On -DNCS_TOOLCHAIN_VERSION:STRING=NONE -DCONF_FILE:STRING=<replaced_prj_source>/d2mul_bootloader/prj.conf -Dmcuboot_OVERLAY_CONFIG=mcuboot.conf
There are different suggestions in the accepted solution:
"Try to delete the build folder in ncs\mcuboot\boot\zephyr" -> didn't work
"git clean -fxd in ncs\mcuboot" -> didn't work
"try to clean your "/home/voja/.cache/zephyr" folder." -> didn't work
Any other suggestions are highly welcome.
Many thanks,
Ozan