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

New to NCS 1.5.0, cmake failed,create_nordic_project.py failed

I'm new to NCS, and playing it with nrf5340 pdk kit.

My problem is ,I can't play any projects, all of them go to the same error: cmake failed,create_nordic_project.py failed

I'm not familiar with CMAKE thing, that makes me hard to understand how to make the NCS,it is totally different from nRF52 DK.

Any help to let me play hello_world, thanks.

Parents Reply Children
  • No files modified ever.

    So what's the error showed, I can't even find which keyword I can search on the internet.

    I'm using the 5340pdk ,if it is deprecated, which board type can I choose?

  • When you changed the PATH, how did you do so? Did you reinstall NCS tag v1.5.0?

    daoms said:
    So what's the error showed, I can't even find which keyword I can search on the internet.

     This is because we have never see this error before. The error states:
    unmet or cyclic dependencies in modules

    ../v1.5.0/modules/lib/connectedhomeip depends on: ['openthread']

    The sample. peripheral_lbs, you are trying to run does not use connectedhomeip.

    daoms said:
    I'm using the 5340pdk ,if it is deprecated, which board type can I choose?

    Then I recommend using the nRF5340 DK. From the NCS v1.5.0 release notes:
    Marked the nRF5340 PDK as deprecated and updated the nRF5340 documentation to point to the nRF5340 DK.

  • Now I just reinstall the latest 1.5.1-rc1,I still failed to create any project.

    It's difficult to play with this NCS, even the very first step.

    The NCS is powerful, surely, but it seems to think more about the cross-platform thing, while less-friendly to most Windows users. 

    I just want to play BLE, but now I have to be LINUXer first, to understand such cmake/script stuff.

    Is it possible, in the future, to split the SDK for different OS to let developers focus on their applications ,not on this IDE/compile thing?

  • daoms said:
    The NCS is powerful, surely, but it seems to think more about the cross-platform thing, while less-friendly to most Windows users.

    The architecture of the nRF5340 is more advanced compared to nRF52, and thus we have introduced the nRF Connect SDK which is based on the Zephyr OS in order to handle all features. Please read the Working with nRF53 series chapter in our NCS documentation, and the nRF5340 documentation.

    NCS is designed to work with all OS, that is true, however, can you please elaborate on what you find less Windows friendly? I am currently working on a Windows machine without any issues. 

    daoms said:
    Now I just reinstall the latest 1.5.1-rc1,I still failed to create any project.

     As stated in our NCS documentation, "unless you are familiar with the development process, you should always work with a specific release of the nRF Connect SDK.". In this case you should work on NCS tag v1.5.0, which is latest and stable release of NCS. This way we can ensure that find what the root cause of your issue is, which is difficult if you change version to a release candidate.

    If you find working with the nRF5340 and nRF Connect SDK difficult, then I would encourage you to try our nRF52 series and the nRF5 SDK. 


    Kind regards,
    Øyvind

Related