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.

TMS320F280039: 将内联函数封装成库文件(.lib)

Part Number: TMS320F280039

各位专家,您好:

我目前使用内联函数是在.h文件中通过static inline void来定义内联,但这样的话我不知道如何将它封装在.lib文件中。

我也尝试过在.c文件中使用#pragma FUNC_ALWAYS_INLINE()来强制内联,从同一个文件中调用这个内联函数是可以实现内联的,但我从其他文件中调用该函数则无法内联。

是否有文档或者例程能供我参考一下?