cancel
Showing results for 
Search instead for 
Did you mean: 

Creating STM32Cube IDE project using command line

MFawzy
Associate II

Hello,

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

Thanks,

Mohammed

1 ACCEPTED SOLUTION

Accepted Solutions
Pavel A.
Evangelist III

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).

View solution in original post

2 REPLIES 2
Pavel A.
Evangelist III

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 Employee

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...