Hi,
How to fix this compilation problem:
D:\ncs\v2.7.0>west build -p always -b nrf52840dongle_nrf52840 nrf/samples/openthread/coprocessor/ -- -DOVERLAY_CONFIG="overlay-usb.conf" -DDTC_OVERLAY_FILE="usb.overlay"
-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- Found Python3: D:/ncs/toolchains/ce3b5ff664/opt/bin/python.exe (found suitable version "3.9.13", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: D:/ncs/v2.7.0/zephyr/.cache
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
CMake Warning at D:/ncs/v2.7.0/zephyr/cmake/modules/boards.cmake:110 (message):
Deprecated BOARD=nrf52840dongle_nrf52840 specified, board automatically
changed to: nrf52840dongle.
Call Stack (most recent call first):
cmake/modules/sysbuild_default.cmake:14 (include)
D:/ncs/v2.7.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
D:/ncs/v2.7.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
D:/ncs/v2.7.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
template/CMakeLists.txt:10 (find_package)
-- Board: nrf52840dongle, qualifiers: nrf52840
Parsing D:/ncs/v2.7.0/zephyr/share/sysbuild/Kconfig
Loaded configuration 'D:/ncs/v2.7.0/build/_sysbuild/empty.conf'
Merged configuration 'D:/ncs/v2.7.0/build/_sysbuild/empty.conf'
Configuration saved to 'D:/ncs/v2.7.0/build/zephyr/.config'
Kconfig header saved to 'D:/ncs/v2.7.0/build/_sysbuild/autoconf.h'
--
*********************************
* Running CMake for coprocessor *
*********************************
Loading Zephyr default modules (Zephyr base).
-- Application: D:/ncs/v2.7.0/nrf/samples/openthread/coprocessor
-- CMake version: 3.21.0
-- Using NCS Toolchain 2.6.20240605.885759407716 for building. (D:/ncs/toolchains/ce3b5ff664/cmake)
CMake Error at cmake/modules/sysbuild_extensions.cmake:486 (message):
CMake configure failed for Zephyr project: coprocessor
Location: D:/ncs/v2.7.0/nrf/samples/openthread/coprocessor
Call Stack (most recent call first):
cmake/modules/sysbuild_images.cmake:20 (ExternalZephyrProject_Cmake)
cmake/modules/sysbuild_default.cmake:19 (include)
D:/ncs/v2.7.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
D:/ncs/v2.7.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
D:/ncs/v2.7.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
template/CMakeLists.txt:10 (find_package)
-- Configuring incomplete, errors occurred!
See also "D:/ncs/v2.7.0/build/CMakeFiles/CMakeOutput.log".
FATAL ERROR: command exited with status 1: 'D:\ncs\toolchains\ce3b5ff664\opt\bin\cmake.EXE' -DWEST_PYTHON=D:/ncs/toolchains/ce3b5ff664/opt/bin/python.exe '-BD:\ncs\v2.7.0\build' -GNinja -DBOARD=nrf52840dongle_nrf52840 -DOVERLAY_CONFIG=overlay-usb.conf -DDTC_OVERLAY_FILE=usb.overlay '-SD:\ncs\v2.7.0\zephyr\share\sysbuild' '-DAPP_DIR:PATH=D:\ncs\v2.7.0\nrf\samples\openthread\coprocessor'
Thank you for all your assistance.
Kind regards,
Peter.Min