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: How to build a static lib in mcusw

Part Number: TDA4VM

Hi TI ,

I want build my code as a static lib for other friend:

my code is a part of example(or application) in mcusw, i found just the MCAL code has a .aer5f file after building in the binary folder;

Is there any way to build the  code( not MCAL) as static lib?

Thanks!

  • Hello,

    You can build your code as a static library. However, you will need to modify the makefiles for this. In the examples, you can change the makefile to use "MODULE_NAME" instead of  "APP_NAME", and this will indicated to the build system to create a static library out of the code. However, you will also need to fix other dependencies in the build which will throw errors since the example is not an app anymore.

    Regards,

    Erick