'Create a new board' wizard results in CMake error

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

Parents Reply
  • Ah right, forgot about you using sysbuild and NCS 2.7 there for a second. The create new board wizard, like you said, do not support Hardware Model V2. It currently only support the old hardware model.

    The DevAcademy course on custom boards doesn't support even support NCS 2.7.0 currently.

    So while it is possible to use hw model 2 in NCS2.7, we have limited support available for this at the moment.

    Regards,

    Elfving

Children
No Data
Related