Skip to main content
MFawzy
Associate III
May 22, 2022
Solved

Creating STM32Cube IDE project using command line

  • May 22, 2022
  • 2 replies
  • 1541 views

Hello,

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

Thanks,

Mohammed

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

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.Answer
Super User
May 22, 2022

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
June 8, 2022

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