Hi,
I'm trying to create a custom board definition for our project. So far, I used the nRF5340DK's board definition, removing unwanted definitions and aliases from the DK via nrf5340dk_nrf5340_cpuapp.overlay. The project was created with SDK v2.5.3 and I am currently in the process of migrating to SDK v2.9.0 with Sysbuild, the project compiles so far with the nRF5340DK's board definition (but I didn't have time to test the software yet).
After switching to a newly created board definition (using VS Code's "Create a new board" feature to create the template)., every try to perform a pristine build fails with the following error message:
CMake Error at C:/ncs/v2.9.0/zephyr/cmake/modules/FindDeprecated.cmake:40 (if): if given arguments: "CROSS_COMPILE" "IN_LIST" "Deprecated_FIND_COMPONENTS" Unknown arguments specified Call Stack (most recent call first): C:/ncs/v2.9.0/zephyr/cmake/modules/python.cmake:16 (find_package) C:/ncs/v2.9.0/zephyr/cmake/modules/user_cache.cmake:30 (include) C:/ncs/v2.9.0/zephyr/cmake/modules/extensions.cmake:5 (include) C:/ncs/v2.9.0/zephyr/share/sysbuild/cmake/modules/sysbuild_default.cmake:8 (include) C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include) C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate) C:/ncs/v2.9.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include) CMakeLists.txt:10 (find_package)
In the "Problems" tab of VS Code, I can see these two error messages (the text seems to be cut at the end):
The first error message cannot be opened (file does not exist), the second error message points to the following code in the mentioned file:
Can anyone help with this? What's happening here?
Best regards,
Michael