This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

"Couldn't find Zephyr root" both SEGGER and VsCode

Hello all,

Lost my VM that had a working installation and just setting everything back up.

After installing SDK 1.8.0 and all of the extensions for VsCode. Now both SEGGER and VSCode cannoot find the Zephry root and I cannot find it on disk?

This was not a problem in the past, any ideas?

Thanks

Edit: Another problem... like all of the examples are missing?? searched for serial_lte_modem and it comes up with nothing. Even just searching serial, or application comes up with nothing useful?

Edit2: I installed the most recent 3 releases and none have a zephyr folder anymore?!?!?

  • Hello Kyle,

    There should be a Z:\ncs\v1.8.0\zephyr, which is the mentioned Zephyr root. Probably, the installation of NCS didn’t finish successfully.

    Please remove this installation completely and try it one more time. An active VPN connection or firewall could possibly block the necessary downloads from GitHub (which is why I assume that applications like e.g. the Serial LTE modem are missing). Additionally, my personal recommendation would be to stick with the default installation path.

    Regards,

    Markus

  • I will try fully uninstalling everything

    I am not using any VPN, SDK is running in a VM with a shared network drive

    I had all sorts of issues with the default installation path last time because the path length would get too long for windows command line.

    I will try locally as well just in case, but even if its the network share problem; that's a bug that probably should be corrected?

  • Mr.Newlove said:
    I had all sorts of issues with the default installation path last time because the path length would get too long for windows command line.

    My best guess here would be that the username is a bit too long, maybe?

    Mr.Newlove said:
    I will try locally as well just in case, but even if its the network share problem; that's a bug that probably should be corrected?

    I’m not quite sure if this actually is a bug. If the GitHub repositories are not accessible on the given platform, whatever reason that may have, there is not too much we can do about it.

    Regards,

    Markus

  • My best guess here would be that the username is a bit too long, maybe?

    I usually just use "user" as my username in VMs to limit these kind of problems.

    I’m not quite sure if this actually is a bug. If the GitHub repositories are not accessible on the given platform, whatever reason that may have, there is not too much we can do about it.

    I have not had a problem using git on network shares before this recent re-installation I had to do.

    Either way, I installed on the local drive instead and running into different problems. When I try to create a new project based on a sample it creates an empty folder and then nothing else?

    https://youtu.be/yGBOxnSUl0Y

  • Mr.Newlove said:

    Either way, I installed on the local drive instead and running into different problems. When I try to create a new project based on a sample it creates an empty folder and then nothing else?

    https://youtu.be/yGBOxnSUl0Y

    Thanks for the feedback, Kyle! First of all, you should make the panel visible within VS Code, as it may provide you with useful output. You can do that via View --> Appearance --> Show Panel.

    Now, this could be an issue related to VS Code, but also to the general toolchain setup. You can cross-check the last-named quite easy via a command line build:

    • Open a bash, as described here.
    • Navigate to the Serial LTE modem application: cd nrf/applications/serial_lte_modem
    • Trigger a build with the command: west build -b nrf9160dk_nrf9160_ns

    Regards,

    Markus

Related