This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好,TI:
我想将我的代码构建为其他朋友的静态库:
我的代码是mcusw中示例(或应用程序)的一部分,我发现在二进制文件夹中构建后,MCAL代码只有一个.aer5f文件;
是否有任何方法将 代码(非MCAL)构建 为静态库?
谢谢!
您好,
您可以将代码构建为静态库。 但是,您需要为此修改makefile。 在这些示例中,您可以将makefile更改为使用"module_name而不 是"app_name,这将向构建系统指示使用代码创建静态库。 但是,由于此示例不再是应用程序,您还需要修复构建中的其他依赖关系,这将引发错误。
此致,
Erick