6 years, 6 months ago.

Error adding mbed-dev as library to project

Hi all,

I have tried many times to add mbed-dev to my project withou any success.

It's return an error. "Clone error"

Could you help me please ?

Thanks

1 Answer

6 years, 6 months ago.

Hi Nicola,

How are you adding mbed-dev to your project? With a URL or via the import wizard in the online compiler?

Also, I want to make sure you intend to create an Mbed OS 2 project instead of an Mbed OS 5 project? You can read about the differences here: https://os.mbed.com/docs/v5.8/tutorials/major-releases.html

- Jenny, team Mbed

Hello,

Thanks for reply.

Same issues with the two ways, same error.

posted by Nicola Vincis 03 May 2018

Hi Nicola,

I have tried to import the mbed-dev library from the import wizard and with the following URL: https://os.mbed.com/users/mbed_official/code/mbed-dev/ - both options have timed out within the online compiler, but I am not receiving the "clone error" you are describing.

I will alert the web team of this issue, I suspect that the mbed-dev library is too large and the online compiler is timing out too soon before the library is completely imported. In the meantime, I have successfully imported the mbed-dev library by URL into a project via the offline Mbed CLI. You can view instructions on how to get started with the Mbed CLI here: https://os.mbed.com/docs/v5.8/tutorials/quick-start-offline.html

Once you have installed the Mbed CLI, you can add the mbed-dev library to your project with the following command: mbed add https://os.mbed.com/users/mbed_official/code/mbed-dev/

Please let me know if you have any questions!

- Jenny, team Mbed

If this solved your question, please make sure to click the "Thanks" link below!

posted by Jenny Plunkett 03 May 2018