cancel
Showing results for 
Search instead for 
Did you mean: 

Static library creation and impelementation to another empty project

B.Kaya
Associate

I am currently working on user programmable project.

In my project, I want to make static library from all of my Middlewares, Drivers, Azure-RTOS, Include files, Source files, linker and startup. Therefore, I created new static library project in STM32CubeIDE and added all my files in it.

After this process, I did not do any extra changes for static library creation and hoped all linker and startup configurations are added to static library. I created static test project and added all my include files, static library and user code section. I changed linker path to the static library and i got some makefile errors right now. Working on it.

My questions are:

  1. Can I add my startup and linker files to static library like this? As you know that they are must for hardware and for compile process.

  2. How should I deal with makefile errors? I am a new developer for this area.

Thanks for your help!
Best Regards
B.KAYA

  • I learned how static library is created.
  • Created static library from my project with linker and startup.
  • Tested static library in empty project.
  • Got some problems with makefile.
0 REPLIES 0