2020-12-11 01:55 AM
2020-12-11 02:12 AM
Not documented. So not supported I guess.
2020-12-11 03:42 AM
That is my reasoning too, I wouldn't go this route if undocumented, hence not supported even if there would be a hacky way to do it.
2020-12-11 04:08 AM
> How to create an STM32CubeIDE project programatically from command line ?
I suppose you did not mean what you said.
Instead, you want to build a Cube project from command line.
I don't use CubeIDE myself (for good reasons), but most Eclipse-based IDEs offer an option to create make-file based projects. Such a make file is intended to be executed from command line.
Even builds of common projects are usually realized as nested make-files. I never tried a make from outside the IDE, though.
Alternatively, you could get a proper toolchain.
2020-12-11 04:37 AM
I'm not aware if STM32CubeIDE. Maybe you can rely on STM32CubeMX generating data setting STM32CubeIDE as outputs target.
Headless project creation is documented if STM32CubeMX. See user guide: https://www.st.com/resource/en/user_manual/dm00104712-stm32cubemx-for-stm32-configuration-and-initialization-c-code-generation-stmicroelectronics.pdf