Mbed forum

How to use static library with mbed-cli


(Khiem Do) #1

From mbed-cli documentation, it shows how to build static libraries. However, there is no document of using mbed-cli to add an static library into a mbed project. Anybody know how to do it or where to look at? An example is the best.

(Ralph Fulchiero) #2

Hi Khiem,

Presently we don’t have formal support in the CLI for directly using a static library build of Mbed. You could try using it with an exported project or via a symbolic link. There’s a good discussion available here:

Please comment on the GitHub issue if you have something relevant to add.

Ralph, Team Mbed