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.

[参考译文] TDA4VM:如何在mcusw

Guru**** 2000455 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1090500/tda4vm-how-to-build-a-static-lib-in-mcusw

部件号:TDA4VM

您好,TI:

我想将我的代码构建为其他朋友的静态库:

我的代码是mcusw中示例(或应用程序)的一部分,我发现在二进制文件夹中构建后,MCAL代码只有一个.aer5f文件;

是否有任何方法将  代码(非MCAL)构建 为静态库?

谢谢!

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好,

    您可以将代码构建为静态库。 但是,您需要为此修改makefile。 在这些示例中,您可以将makefile更改为使用"module_name而不 是"app_name,这将向构建系统指示使用代码创建静态库。 但是,由于此示例不再是应用程序,您还需要修复构建中的其他依赖关系,这将引发错误。

    此致,

    Erick