Cloning xmos-sdk from git

Discussions relating to the XK-EVK-XU316
AndyCap
Member++
Posts: 16
Joined: Sat Jun 20, 2020 7:15 am

Cloning xmos-sdk from git

Post by AndyCap »

Hi Guys,

I'm guessing someone must have done this?

The submodules are not cloning as the links are ssh and I have no access rights.

I am not a git expert and have tried updating the .gitmodules file to use https but all the modules are not defined there so I am a bit stuck.

Any pointers would be really helpful.

Cheers

Andy


AndyCap
Member++
Posts: 16
Joined: Sat Jun 20, 2020 7:15 am

Post by AndyCap »

Ok, got the https stuff working but it is asking for username and password.
AndyCap
Member++
Posts: 16
Joined: Sat Jun 20, 2020 7:15 am

Post by AndyCap »

Ok, I worked out what is going wrong here.

First you need a GitHub account.

Then you need to add your default public ssh key into that account (.ssh/id_rsa.pub)

Then you can clone the "public" XMOS repository.

I had it set up with named ssh files (.ssh/id_rsa_<githhubaccount>.pub), this does not work.
Last edited by AndyCap on Thu Dec 15, 2022 6:56 pm, edited 1 time in total.