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.
9 years, 4 months ago.
Clone portion of repo for single target and toolchain
Is there a way to clone just the portion of this library required for a single target / toolchain?
Question relating to:
1 Answer
9 years, 4 months ago.
In future versions of mbed the targets will be separated into their own repositories, but for the time being it is not possible.
The repository you've referred to is a built version of the library so I'm not sure if you would have any benefit from only cloning part of it. What are you trying to do?
I'm setting up an offline build and development environment with the mbed library as a local dependency, and using the pre-compiled headers seemed like a good solution. I'd like to set up my own repository such that, when I want to, I can check for / pull updates on just the files pertinent to my target and toolchain, since the entire mbed library is quite massive.
Is there a way to do this with the mbed libraries & tools package (github.com/mbedmicro/mbed)? If there is, I couldn't quite figure it out. On a related note, is a there a smarter way to accomplish what I'm aiming for?
Barring other options, I'll just set up my own separate mbed library repo (just the pre-compiled headers for my target and toolchain) and periodically update manually, diffing the relevant portion of the full updated repo with my own repo. That is, until there are separate repos for each target, as you mention.
posted by 08 Jul 2015