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

nRF Connect SDK Tutorial Part 1 - Cannot open own project

ncs version 1.6

SES

Windows 10

I have installed ncs completely using standard tools.

Now I am following the tutorial Part 1.

The project hello_world is created on C:/my_projects/hello_world but I cannot select that folder using the three dots as indicated in the tutorial.

The folder contents are according to the tutorial. src folder is there. The files required are there.

The field does not change and stays by the default "peripheral_lbs".  Very annoying.

This was not a problem for my OSX installation. 

Anyone have had the same problem?

Thanks

/Jonas

Parents
  • Hi Jonas

    I get the same error if I have an empty CMakeLists.txt, and sample.yaml is missing, but it could be something else in your case.

    To be sure that the project has everything it needs, I would recommend just copying an existing sample to start.
    When I make a new project, I usually just copy the "ncs/zephyr/samples/hello_world" sample, since it is very minimal.

    Regards,

    Sigurd Hellesvik

  • Indeed. The missing sample.yaml was the issue.

    I do not believe this is mensioned as a prerequisite in the tutorial and it worked anyway on my OSx machine. Interesting.

    Adding that file finally made the project appear in the folder.

    Next up is an error when the project is being created.

    "create_nordic_project.py" failed.

    I get this error also when just plainly copying an existing hello_world sample into a fresh directory and opening the project.

    I'll search around and see if I can find something on this but it feels like a path issue. The exact same project can be opened in the standard path so...

Reply
  • Indeed. The missing sample.yaml was the issue.

    I do not believe this is mensioned as a prerequisite in the tutorial and it worked anyway on my OSx machine. Interesting.

    Adding that file finally made the project appear in the folder.

    Next up is an error when the project is being created.

    "create_nordic_project.py" failed.

    I get this error also when just plainly copying an existing hello_world sample into a fresh directory and opening the project.

    I'll search around and see if I can find something on this but it feels like a path issue. The exact same project can be opened in the standard path so...

Children
Related