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

create_nordic_project.py failed(1)

NCS(nRF Connect SDK)  is a good  environment to develop nRF52,but it seems not stable until now.

I want to use NCS(nRF Connect SDK) to develop my project ,and met some unknown issuses when start up.

This my local envirment  at below:

windows version: win10 64bit

nRF connect version:v3.7.0

Toolchai Manager verison:v0.93

NCS version :V1.60

SES(segger embedded studio) version:v550d_win_x64

nRF-Command-Line-Tools_10_13_0

I follow this guide step by step ,but after all the installations ,I pressed open IDE button ,and enter the SES ,>File->Open nRF connect SDK project . I choose the "blink" project and the "nrf52840_nrf52840" board ,and pressed OK .

This error occurred:

I also chose the other NCS version(v1.5.1,v1.4.2) to install ,the same error .

I also chose the ohter directory to install the NCS, the same error.

I also re-install the SES and nRF connect app, the same error.

I also chose the other PC to test ,the same error...

Please someone help me out...

I just want to start a project via NCS like "hello world". Slight smile

Thank you.

Parents Reply Children
  • Can you provide the log from the segger after you press the OK in the frame?

  • sorry.

    Creating solution nrf_desktop.emProject
    C:/NCS/v1.6.0-rc2/toolchain/opt/bin/cmake.exe -GNinja -DBOARD=nrf52840dk_nrf52840 -DBOARD_DIR=C:\NCS\v1.6.0-rc2\zephyr\boards\arm\nrf52840dk_nrf52840 -BC:\NCS\v1.6.0-rc2\nrf\applications\nrf_desktop\build_nrf52840dk_nrf52840 -SC:\NCS\v1.6.0-rc2\nrf\applications\nrf_desktop -DNCS_TOOLCHAIN_VERSION=1.6.0 -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=C:\NCS\v1.6.0-rc2\toolchain\segger_embedded_studio/html/configure_nordic_project_menuconfig.py
    -- Application: C:/NCS/v1.6.0-rc2/nrf/applications/nrf_desktop
    -- Zephyr version: 2.6.0-rc1 (C:/NCS/v1.6.0-rc2/zephyr), build: v2.6.0-rc1-ncs1-rc1
    -- Found Python3: C:/NCS/v1.6.0-rc2/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter
    -- Found west (found suitable version "0.11.0", minimum required is "0.7.1")
    -- Board: nrf52840dk_nrf52840
    -- Cache files will be written to: C:/NCS/v1.6.0-rc2/zephyr/.cache
    -- Found dtc: C:/NCS/v1.6.0-rc2/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found toolchain: gnuarmemb (C:/NCS/v1.6.0-rc2/toolchain/opt)
    -- Found BOARD.dts: C:/NCS/v1.6.0-rc2/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts
    -- Found devicetree overlay: C:/NCS/v1.6.0-rc2/nrf/applications/nrf_desktop/configuration/nrf52840dk_nrf52840/dts.overlay
    -- Generated zephyr.dts: C:/NCS/v1.6.0-rc2/nrf/applications/nrf_desktop/build_nrf52840dk_nrf52840/zephyr/zephyr.dts
    -- Generated devicetree_unfixed.h: C:/NCS/v1.6.0-rc2/nrf/applications/nrf_desktop/build_nrf52840dk_nrf52840/zephyr/include/generated/devicetree_unfixed.h
    -- Generated device_extern.h: C:/NCS/v1.6.0-rc2/nrf/applications/nrf_desktop/build_nrf52840dk_nrf52840/zephyr/include/generated/device_extern.h
    Parsing C:/NCS/v1.6.0-rc2/nrf/applications/nrf_desktop/Kconfig
    Loaded configuration 'C:/NCS/v1.6.0-rc2/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840_defconfig'
    Merged configuration 'configuration/nrf52840dk_nrf52840/app_ZDebug.conf'
    -- Configuring incomplete, errors occurred!
    Including boilerplate (Zephyr base): C:/NCS/v1.6.0-rc2/zephyr/cmake/app/boilerplate.cmake
    -- Using NCS Toolchain 1.6.0 for building. (C:/NCS/v1.6.0-rc2/toolchain/cmake)

    warning: <choice MEMFAULT_HTTP_PERIODIC_UPLOAD_CONTEXT> (defined at C:/NCS/v1.6.0-rc2/nrf\modules\memfault/Kconfig:160) defined with type unknown

    warning: <choice MEMFAULT_HTTP_PERIODIC_UPLOAD_CONTEXT> (defined at C:/NCS/v1.6.0-rc2/nrf\modules\memfault/Kconfig:160) defined without a prompt

    warning: the default selection MEMFAULT_HTTP_PERIODIC_UPLOAD_USE_DEDICATED_WORKQUEUE (undefined) of <choice MEMFAULT_HTTP_PERIODIC_UPLOAD_CONTEXT> (defined at C:/NCS/v1.6.0-rc2/nrf\modules\memfault/Kconfig:160) is not contained in the choice

    error: Aborting due to Kconfig warnings

    CMake Error at C:/NCS/v1.6.0-rc2/zephyr/cmake/kconfig.cmake:264 (message):
    command failed with return code: 1
    Call Stack (most recent call first):
    C:/NCS/v1.6.0-rc2/zephyr/cmake/app/boilerplate.cmake:555 (include)
    C:/NCS/v1.6.0-rc2/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
    C:/NCS/v1.6.0-rc2/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
    CMakeLists.txt:49 (find_package)



    error: cmake failed
    create_nordic_project.py failed (1)

  • Hi, 

    NCS 1.6.0 is released. Are you able to try v1.6.0?

    Do you modify the example? If so, what is that?

    -Amanda H.

Related