Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 11 months ago.
linking mbed libs in one directory to multiple projects in different directories via mbed-cli
Can I use the mbed-cli tool to download all the mbed libs in one location and link them...the same libs.... to different projects in different directories? The goal is to not have to download 600MB of identical mbed libs per project instance.
If this is possible, I'd appreciate it if someone can inform me of the procedure to make it happen. If not, I highly recommend that it be considered. The platformio mbed build system already does this.
1 Answer
7 years, 11 months ago.
mbed CLI 1.0.0 has a caching option that will minimize the download by keeping a local version and copying the contents into your working directory. The goal of this is to minimize downloads and network traffic
Alternatively you could clone and setup symbolic links or junctions to get the mbed OS repo but if you have different programs using different versions of mbed OS (2 or 5) you'll need to make sure and update (mbed deploy) each time you work on a different program.
thanks sam, are any instructions available on how to enable/use this caching function? thanks again
posted by 07 Dec 2016https://github.com/ARMmbed/mbed-cli#mbed-cli-configuration
There is a line about caching there.
posted by 13 Dec 2016