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

Clone the nRF Connect SDK

Hi, I'm struggeling with this stage on the "getting started assistant"

"Clone the nRF Connect SDK"

Is there any step by step video to help me do this, I have probably not saved files in the correct places.
Can anyone push me in the right direction?

Wrong PATH? git is installed.

Thank you.

Parents
  • Hi,

    I recommend you use nRF Connect Getting started, which is an app for nRF Connect for desktop. That has detailed instructions for how to get started, including how to clone the nRF Connect SDK using west. I also help you install all the required tools.

    That said, you can continue as you have done, but you need to read the error messages and make the appropriate adjustments. Let's take them one by one.

    As the error text tells you, this fails because you are not in a west installation. You cannot use "west update" before successfully using "west init", as that is what creates the west installation.

    <sourcecode_root> is a placeholder that is supposed to be replaced by the path to your actual source code root.

    The error message states that git is not in your path. Therefore it cannot be used even if it is installed. You need to add it to your path.

    This is caused by the same problem as before: there is no west installation to update since you have never successfully called west init.

    By the way, why are you placing your ncs folder within C:\Windows\System32\? It should not be a problem, but it does not seem very clean to put your user data amongst the OS files.

    PS: Please copy-paste text from the terminal using Insert -> Code instead of using a screenshot next time, as that makes it easier to search and read.

  • now i've really messed up:

    C:\WINDOWS\system32>west init
    'west' is not recognized as an internal or external command,
    operable program or batch file.

    Now my cmd won't recognize the west file at all.
    What have i done wrong?

Reply Children
No Data
Related