This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Segger Embedded Studio - nRF Connect SDK: create_nordic_project.py failed

I recently installed nRF Connect SDK using the Toolchain manager. Install went through without any issue but when I am trying to open an example project in SEGGER Embedded Studio for nRF91 DK I am getting an error. From the error output it seems like issue is regarding the user folder that has a space in the folder name. Any idea on how to resolve the error I am getting without getting in to updating user folder name in Windows 10? Updating windows user folder name can be tricky and can potentially break the computer.

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Creating solution asset_tracker.emProject
  C:/Users/Pritesh Patel/ncs/v1.5.1/toolchain/opt/bin/cmake.exe -GNinja -DBOARD=nrf9160dk_nrf9160ns -DBOARD_DIR=C:\Users\Pritesh Patel\ncs\v1.5.1\zephyr\boards\arm\nrf9160dk_nrf9160 -BC:\Users\Pritesh Patel\ncs\v1.5.1\nrf\applications\asset_tracker\build_nrf9160dk_nrf9160ns -SC:\Users\Pritesh Patel\ncs\v1.5.1\nrf\applications\asset_tracker -DNCS_TOOLCHAIN_VERSION=1.5.1 -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=C:\Users\Pritesh Patel\ncs\v1.5.1\toolchain\segger_embedded_studio/html/configure_nordic_project_menuconfig.py
  -- Application: C:/Users/Pritesh Patel/ncs/v1.5.1/nrf/applications/asset_tracker
  -- Zephyr version: 2.4.99 (C:/Users/Pritesh Patel/ncs/v1.5.1/zephyr)
  -- Found Python3: C:/Users/Pritesh Patel/ncs/v1.5.1/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter
  -- Found west (found suitable version "0.9.0", minimum required is "0.7.1")
  -- Board: nrf9160dk_nrf9160ns, Revision: 0.7.0
  -- Cache files will be written to: C:/Users/Pritesh Patel/ncs/v1.5.1/zephyr/.cache
  -- Found dtc: C:/Users/Pritesh Patel/ncs/v1.5.1/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
  -- Found toolchain: gnuarmemb (C:/Users/Pritesh Patel/ncs/v1.5.1/toolchain/opt)
  -- Found BOARD.dts: C:/Users/Pritesh Patel/ncs/v1.5.1/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160ns.dts
  -- Generated zephyr.dts: C:/Users/Pritesh Patel/ncs/v1.5.1/nrf/applications/asset_tracker/build_nrf9160dk_nrf9160ns/zephyr/zephyr.dts
  -- Generated devicetree_unfixed.h: C:/Users/Pritesh Patel/ncs/v1.5.1/nrf/applications/asset_tracker/build_nrf9160dk_nrf9160ns/zephyr/include/generated/devicetree_unfixed.h
  -- Generated device_extern.h: C:/Users/Pritesh Patel/ncs/v1.5.1/nrf/applications/asset_tracker/build_nrf9160dk_nrf9160ns/zephyr/include/generated/device_extern.h
  -- Configuring incomplete, errors occurred!
  Including boilerplate (Zephyr base): C:/Users/Pritesh Patel/ncs/v1.5.1/zephyr/cmake/app/boilerplate.cmake
  -- Using NCS Toolchain 1.5.1 for building. (C:/Users/Pritesh Patel/ncs/v1.5.1/toolchain/cmake)
  CMake Error at C:/Users/Pritesh Patel/ncs/v1.5.1/zephyr/cmake/kconfig.cmake:204 (message):
    File not found: C:/Users/Pritesh
  Call Stack (most recent call first):
    C:/Users/Pritesh Patel/ncs/v1.5.1/zephyr/cmake/app/boilerplate.cmake:534 (include)
    C:/Users/Pritesh Patel/ncs/v1.5.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
    C:/Users/Pritesh Patel/ncs/v1.5.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
    CMakeLists.txt:13 (find_package)
 
 
 
  error: cmake failed
  create_nordic_project.py failed (1)

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Parents Reply Children
Related