"mbed-os" folder in every each project on disk

Hi there,

this is not big issue, but I’m curious if is possible save space in multi project folder, where is “mbed-os” folder in every each project of mbed-cli. So every folder has plus-minus 1GB data almost to same in every project on local disk.

Is there possibility to use just one “mbed-os” library for every project in one folder?

project tree:
|-workspace:
____ |–project one:
________|–BULID
________|–mbed-os
________ |–.hg
____|–project two:
________|–BULID
________|–mbed-os
________|–.hg
____|–project three:
________|–BULID
________ |–mbed-os
________|–.hg
____ |–project four:
________ |–BULID
________ |–mbed-os
________ |–.hg
etc…

Hi Kiskovce,

Mbed CLI
One way of achieving it is to have Mbed OS somewhere on your system and then add symlinks to it in your programs.

Mbed Studio
Mbed Studio (Mbed Studio | Mbed) has just added this functionality in version 1.2.0. You can find more about it here: Managing libraries - Managing libraries | Mbed Studio Documentation
Studio exposes also all Mbed tools in the built-in terminal (including Mbed CLI): Using tools in the terminal - Using tools in the terminal | Mbed Studio Documentation

Thanks,
Arek - Mbed Studio team