Skip to main content
MDrob.1
Visitor II
October 13, 2021
Question

Is it possible to import Makefile in STM32CubeIDE?

  • October 13, 2021
  • 1 reply
  • 1970 views

I have a C project which is developed outside of STM32Cube IDE. The project contains Makefile.

It will be very good to just import the entire project in STM32Cube IDE and compile using the existing Makefile as a part of a bigger project which is already developed in STM32Cube IDE.

Is this possible to do in STM32Cube IDE?

This topic has been closed for replies.

1 reply

Pavel A.
Super User
October 13, 2021

Yes it is possible, as generally in Eclipse CDT. Please read the fantastic manual of the CubeIDE.

Unfortunately, support for existing makefiles is lacking. You will need to specify the path to the ARM toolchain in your makefile or build script, and ugly hack is needed to debug the executable.

Vote for this idea to have better existing makefile support.