When creating a new board in the nRF Connect VSCode IDE, and just entering the basic items for name, if trying to use sysbuild there is a CMake error. I used name "foo" and selected SoC nrf52840 QIAA. and stored in the application directory.
CMake Error at C:/ncs/v2.7.0/nrf/sysbuild/CMakeLists.txt:148 (list):
list GET given empty list
Call Stack (most recent call first):
cmake/modules/sysbuild_extensions.cmake:553 (nrf_PRE_CMAKE)
cmake/modules/sysbuild_extensions.cmake:553 (cmake_language)
cmake/modules/sysbuild_images.cmake:16 (sysbuild_module_call)
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)
Adding a print statement indeed shows an empty string:
BOARD_QUALIFIERS=""
When I compare this to the devkit build, I get no cmake error and this output:
BOARD_QUALIFIERS="/nrf52840"
toolchain v2.7.0
SDK v2.7.0