Skip to main content
MFawzy
Associate III
Solved

Creating STM32Cube IDE project using command line

Hello,

Is there a way to create a STM32cube IDE project using command line?

Thanks,

Mohammed

This topic has been closed for replies.
Pavel A.
Pavel A.Best answer

Yes. Look on github, there are IIRC converters from Keil to Eclipse and a CMake generator for Eclipse. They can be adapted for CubeIDE as a variation of Eclipse (but I don't know how exactly).

2 replies

Pavel A.
Pavel A.Best answer

Yes. Look on github, there are IIRC converters from Keil to Eclipse and a CMake generator for Eclipse. They can be adapted for CubeIDE as a variation of Eclipse (but I don't know how exactly).

mattias norlander
ST Technical Moderator

CubeMX stand-alone also has a CLI interface allowing you to manage projects from CLI:

https://www.st.com/resource/en/user_manual/um1718-stm32cubemx-for-stm32-configuration-and-initialization-c-code-generation-stmicroelectronics.pdf

See chapter 3.3.2.

Stand-alone CubeMX can be used with CubeIDE.

I would probably refrain from modifying the ioc-file inside CubeIDE integrated MX tool while at the same time using the MX CLI tool...

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.