Unable to create West Workspace

Hi,

I've been successfully working with and building applications using the "freestanding" option in VSCode.

However, now comes a time where I want to switch over to a west workspace, so that I can include external libraries (i.e. the anjay sdk for LWM2M), however I'm unable to create even a basic hello world sample. Settings are as following:

After pressing "Create Application" I get the following error in the terminal:

[west]: updating /home/leon/Desktop/ivy/code/ivy-iot/iot/sensor/firmware/workspace/hello_world...

[west]: === updating sdk-nrf (nrf):
[west]: --- sdk-nrf: initializing
[west]: warning: templates not found in /home/leon/ncs/toolchains/v2.1.2/usr/share/git-core/templates
[west]: Initialized empty Git repository in /home/leon/Desktop/ivy/code/ivy-iot/iot/sensor/firmware/workspace/nrf/.git/
[west]: --- sdk-nrf: fetching, need revision v2.2.0
[west]: fatal: unable to find remote helper for 'https'
[west]: FATAL ERROR: command exited with status 128: fetch -f --tags --depth 1 -- https://github.com/nrfconnect/sdk-nrf v2.2.0

[west]: exited with code 128.

I'm running Ubuntu 20.04. Any idea how to fix this? git is already up to date (git version 2.25.1). I can clone any other https repository just fine.

Any idea on how to fix this?

Parents
  • Hello Leon,

    I will have to get back to you on this tomorrow.

    I just wanted to say a bit about workspace applications first. Workspace application is a type of application where you will have a dedicated separate copy of the nRF Connect SDK per application. Whereas if you use the freestanding option, you are creating a standalone application that will be linked to an existing copy of the nRF Connect SDK. So it is suitable for a project where it is important to have a full copy of all the files in the project.​

    I am just mentioning this because I believe you can still use the anjay sdk with a freestanding application.

    Regards,

    Elfving

Reply
  • Hello Leon,

    I will have to get back to you on this tomorrow.

    I just wanted to say a bit about workspace applications first. Workspace application is a type of application where you will have a dedicated separate copy of the nRF Connect SDK per application. Whereas if you use the freestanding option, you are creating a standalone application that will be linked to an existing copy of the nRF Connect SDK. So it is suitable for a project where it is important to have a full copy of all the files in the project.​

    I am just mentioning this because I believe you can still use the anjay sdk with a freestanding application.

    Regards,

    Elfving

Children
No Data
Related