Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.1/nrf/installation/installing.html

Follow Nordic instructions, but replace west init... command with the one below to use Emcraft repositories.

There is a known pitfall with installing python dependencies using pip: upgrading cryptography package may result in non-working pip:

Code Block
   For folks curious about the breakage:

        cryptography 42.0.0 removed this X509_V_FLAG_NOTIFY_POLICY flag: pyca/cryptography@654dccb
        pyOpenSSL 23.2.0 stopped referencing this X509_V_FLAG_NOTIFY_POLICY flag: pyca/pyopenssl@d788a4f

    So, you'll only run into this issue if you're running cryptography >= 42.0.0, and pyOpenSSL < 23.2.0

Either ensure pyOpenSSL is upgraded before cryptography (there is no automatic dependency, so manually upgrade pyOpenSSL before pulling the bulk of dependencies), or comment(or otherwise disable) offending line to restore pip to working state, than upgrade pyOpenSSL. Reinstall cryptography if necessary.

Note that Emcraft maintains the fork of the nRF Connect SDK on GitHub:

...