nRF54L15-DK Development Environment Setup Issues (SDK v2.9.1)

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:

  1. Toolchain path error:
include could not find requested file: /cmake/toolchain/zephyr/generic.cmake
  1. Toolchain file not found in expected location:
include could not find requested file: C:/ncs/toolchains/b620d30767/opt/cmake/toolchain/zephyr/generic.cmake
  1. Device Tree preprocessor error:
dt_preprocess() missing required argument: CPP

Steps Already Taken

  1. Performed multiple clean reinstallations of nRF Connect SDK v2.9.1
  2. 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)
  3. 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
  4. Attempted building in different locations (outside of nRF Connect SDK directory)
  5. Tried building with different generators (Ninja, MinGW Makefiles, NMake Makefiles)
  6. Verified all required executables (cmake.exe, ninja.exe, etc.) exist in toolchain bin path
  7. Set up system locale for UTF-8 support
  8. Modified VS Code settings for proper encoding and toolchain paths
  9. Tried command-line only approach (without VS Code), with same results

Questions

  1. Is there a known issue with nRF Connect SDK v2.9.1 on Korean Windows that could cause these toolchain path problems?
  2. Are there specific steps required for setting up nRF54L15-DK that differ from the standard SDK setup?
  3. Are there any specific workarounds or fixes for the "dt_preprocess() missing required argument: CPP" error?
  4. Would using an older SDK version (e.g., v2.5.0) and then upgrading be a viable approach?
  5. 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.

Parents Reply Children
No Data
Related