How to resolve list "GET given empty list CMake" error when porting nRF9151 application to custom board in NCS v2.9?

I have finished developing an application, utilizing the nRF 9151 DK, and I am now working on transferring the firmware to a custom board and testing it. However, when creating a new custom board I am running into this error;

CMake Error at C:/Users/hunte/nrf/sysbuild/CMakeLists.txt:117 (list):
  list GET given empty list
Call Stack (most recent call first):
  cmake/modules/sysbuild_extensions.cmake:583 (nrf_PRE_CMAKE)
  cmake/modules/sysbuild_extensions.cmake:583 (cmake_language)
  cmake/modules/sysbuild_images.cmake:16 (sysbuild_module_call)
  cmake/modules/sysbuild_default.cmake:20 (include)
  C:/Users/hunte/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
  C:/Users/hunte/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  C:/Users/hunte/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
  template/CMakeLists.txt:10 (find_package)

I have been using this lesson, Lesson 3 – Adding custom board support, as a framework for my custom board, though it may use an earlier hardware model and SDK. I am using SDK v2.9 and toolchain v2.9, and I can't  seem to find any resources online that provide a solution to this problem. Is there anything I can do to fix this?

Related