Build issue for Hello World for multiple board targets using Sysbuild

I am facing error while building the sample "Hello World for multiple board targets using Sysbuild" without changing anything in the sample. I am using nRF connect SDK and toolchain v2.7.0 for VS Code and nRF5340DK.

Building CPU_test
C:\WINDOWS\system32\cmd /d /s /c "west build --build-dir u:/nrfApps/CPU_test/build u:/nrfApps/CPU_test --pristine --board nrf5340dk/nrf5340/cpuapp --sysbuild -- -DNCS_TOOLCHAIN_VERSION=NONE -DCONFIG_DEBUG_OPTIMIZATIONS=y -DCONFIG_DEBUG_THREAD_INFO=y -DBOARD_ROOT=u:/nrfapps/cpu_test"

-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- Found Python3: C:/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: C:/ncs/v2.7.0/zephyr/.cache
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: nrf5340dk, qualifiers: nrf5340/cpuapp
Parsing U:/nrfApps/CPU_test/Kconfig.sysbuild
Loaded configuration 'U:/nrfApps/CPU_test/build/_sysbuild/empty.conf'
Merged configuration 'U:/nrfApps/CPU_test/build/_sysbuild/empty.conf'
Configuration saved to 'U:/nrfApps/CPU_test/build/zephyr/.config'
Kconfig header saved to 'U:/nrfApps/CPU_test/build/_sysbuild/autoconf.h'
CMake Error at U:/nrfApps/CPU_test/sysbuild.cmake:5 (message):
  REMOTE_BOARD must be set to a valid board name
Call Stack (most recent call first):
  cmake/modules/sysbuild_extensions.cmake:670 (include)
  cmake/modules/sysbuild_images.cmake:13 (sysbuild_add_subdirectory)
  cmake/modules/sysbuild_default.cmake:19 (include)
  C:/ncs/v2.7.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
  C:/ncs/v2.7.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  C:/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 "U:/nrfApps/CPU_test/build/CMakeFiles/CMakeOutput.log".
FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\ce3b5ff664\opt\bin\cmake.EXE' -DWEST_PYTHON=C:/ncs/toolchains/ce3b5ff664/opt/bin/python.exe '-Bu:\nrfApps\CPU_test\build' -GNinja -DBOARD=nrf5340dk/nrf5340/cpuapp -DNCS_TOOLCHAIN_VERSION=NONE -DCONFIG_DEBUG_OPTIMIZATIONS=y -DCONFIG_DEBUG_THREAD_INFO=y -DBOARD_ROOT=u:/nrfapps/cpu_test '-SC:\ncs\v2.7.0\zephyr\share\sysbuild' '-DAPP_DIR:PATH=u:\nrfApps\CPU_test'

Parents Reply Children
No Data
Related