NRF Connect SDK Build Problem

i get the following build error whenever i build for boards other than nrf

- CMake version: 3.21.0
-- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: C:/ncs/v2.9.0/zephyr/.cache
-- Zephyr version: 3.7.99 (C:/ncs/v2.9.0/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: nucleo_f103rb, qualifiers: stm32f103xb
-- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk)
-- Found Dtc: C:/ncs/toolchains/b620d30767/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
-- Found BOARD.dts: C:/ncs/v2.9.0/zephyr/boards/st/nucleo_f103rb/nucleo_f103rb.dts
In file included from <command-line>:
C:/ncs/v2.9.0/zephyr/boards/st/nucleo_f103rb/nucleo_f103rb.dts:9:10: fatal error: st/f1/stm32f103r(8-b)tx-pinctrl.dtsi: No such file or directory
9 | #include <st/f1/stm32f103r(8-b)tx-pinctrl.dtsi>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
CMake Error at C:/ncs/v2.9.0/zephyr/cmake/modules/extensions.cmake:4609 (message):
failed to preprocess devicetree files (error code 1):
C:/ncs/v2.9.0/zephyr/boards/st/nucleo_f103rb/nucleo_f103rb.dts
Call Stack (most recent call first):
C:/ncs/v2.9.0/zephyr/cmake/modules/dts.cmake:249 (zephyr_dt_preprocess)
C:/ncs/v2.9.0/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:4 (find_package)


-- Configuring incomplete, errors occurred!
CMake Error at cmake/modules/sysbuild_extensions.cmake:514 (message):
CMake configure failed for Zephyr project: blinky

Location: C:/Users/izhar/blinky
Call Stack (most recent call first):
cmake/modules/sysbuild_images.cmake:20 (ExternalZephyrProject_Cmake)
cmake/modules/sysbuild_default.cmake:20 (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)
template/CMakeLists.txt:10 (find_package)


-- Configuring incomplete, errors occurred!
See also "C:/Users/izhar/blinky/build_6/CMakeFiles/CMakeOutput.log".
FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\b620d30767\opt\bin\cmake.EXE' -DWEST_PYTHON=C:/ncs/toolchains/b620d30767/opt/bin/python.exe '-Bc:\Users\izhar\blinky\build_6' -GNinja -DBOARD=nucleo_f103rb/stm32f103xb -DNCS_TOOLCHAIN_VERSION=NONE -DBOARD_ROOT=c:/users/izhar/blinky '-SC:\ncs\v2.9.0\zephyr\share\sysbuild' '-DAPP_DIR:PATH=c:\Users\izhar\blinky'

* The terminal process terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.

Related