6 years, 9 months ago.

Export to uVision with a static library?

Exporting mbed-os 5 projects to uVision5 from mbed.org produces quite large projects with fairly long build times (when you have a class of 80 students and lots of different project files, this soon stacks up).

The main reason is that is rebuilds mbed-os

I can see how to build a static library from mbed-os in the readme file of https://github.com/ARMmbed/mbed-cli

Is there any documentation on creating a Keil uVision project that links to such a static library?

(many thanks in advance)

1 Answer

6 years, 9 months ago.

mbed-os should not be rebuilt after the first compilation unless something in mbed_app.json changes.

I pushed a fix for long uvision build times about a month ago - https://github.com/ARMmbed/mbed-os/pull/4578. Typically, these fixes take some time to make their way into the tools deployed online.

View the "steps to reproduce" section of that pull request for a temporary work around.

Obviously, browse information is an important feature of this IDE. We've talked to the Keil team about this issue, and it will be fixed in the MDKv5.24 release.

Accepted Answer

Thank you for your response. That is most helpful.

posted by Nicholas Outram 18 Jul 2017