Skip to main content
Senior
September 11, 2024
Solved

STM32CubeIDE Project For Static Library

  • September 11, 2024
  • 1 reply
  • 925 views

I had a STM32CubeIDE v1.15.1 static library project against which I was linking with no problems. The static library project created the lib*.a file fine.

After moving the project to a different workspace, the lib*.a file is no longer created. Instead the final build step creates an archive file with ar.

How do I change the tool settings in the static library project to use the g++ linker in the final build step rather than ar?

Best answer by mccabehm

Pls ignore. The MCU GCC archiver IS ar.

1 reply

mccabehmAuthorBest answer
Senior
September 11, 2024

Pls ignore. The MCU GCC archiver IS ar.