nRF54L15-DK Development Environment Setup Issues (SDK v2.9.1)
Environment
- OS: Windows 10 Pro 64-bit (Korean language version)
- CPU: 11th Gen Intel Core i5-1135G7
- RAM: 8GB
- nRF Connect SDK: v2.9.1
- Toolchain Path: C:\ncs\toolchains\b620d30767
Issue Description
I've been trying to set up a development environment for the nRF54L15-DK board using nRF Connect SDK v2.9.1 with VS Code. Despite multiple clean installations and various troubleshooting attempts, I keep encountering the same build errors.
Error Messages
When attempting to build even simple projects (like blinky sample), I consistently get the following errors:
- Toolchain path error:
include could not find requested file: /cmake/toolchain/zephyr/generic.cmake
- Toolchain file not found in expected location:
include could not find requested file: C:/ncs/toolchains/b620d30767/opt/cmake/toolchain/zephyr/generic.cmake
- Device Tree preprocessor error:
dt_preprocess() missing required argument: CPP
Steps Already Taken
- Performed multiple clean reinstallations of nRF Connect SDK v2.9.1
- Manually created missing toolchain.cmake file with content:
<cmake>
# Zephyr toolchain configuration
set(ZEPHYR_TOOLCHAIN_VARIANT zephyr)
include(${ZEPHYR_BASE}/cmake/toolchain/zephyr/generic.cmake)
- Verified environment variables are correctly set:
ZEPHYR_BASE=C:\ncs\v2.9.1\zephyr
ZEPHYR_SDK_INSTALL_DIR=C:\ncs\toolchains\b620d30767\opt\zephyr-sdk
ZEPHYR_TOOLCHAIN_VARIANT=zephyr
- Attempted building in different locations (outside of nRF Connect SDK directory)
- Tried building with different generators (Ninja, MinGW Makefiles, NMake Makefiles)
- Verified all required executables (cmake.exe, ninja.exe, etc.) exist in toolchain bin path
- Set up system locale for UTF-8 support
- Modified VS Code settings for proper encoding and toolchain paths
- Tried command-line only approach (without VS Code), with same results
Questions
- Is there a known issue with nRF Connect SDK v2.9.1 on Korean Windows that could cause these toolchain path problems?
- Are there specific steps required for setting up nRF54L15-DK that differ from the standard SDK setup?
- Are there any specific workarounds or fixes for the "dt_preprocess() missing required argument: CPP" error?
- Would using an older SDK version (e.g., v2.5.0) and then upgrading be a viable approach?
- Is there a pre-built binary available for testing the nRF54L15-DK hardware while I continue troubleshooting the development environment?
I appreciate any guidance on resolving these issues. I'm trying to set up this environment for firmware development on the nRF54L15-DK board.
Thank you for your assistance.