Skip to main content
Associate
January 7, 2025
Solved

COMPILATION USING BATCH FILE

  • January 7, 2025
  • 2 replies
  • 884 views

Can anyone help me to generate bin and hex file from source code using command prompt and batch file without stm32cubeide or its related any development environment?

Best answer by mƎALLEm

Hello,

I think STM32CubeCLT tool is what you need.

The user manual.

2 replies

arun27Author
Associate
January 7, 2025

duplicate - merged


Can anyone help me to generate bin and hex file from source code using command prompt without stm32cubeide or its related development environment?

mƎALLEm
mƎALLEmBest answer
Technical Moderator
January 7, 2025

Hello,

I think STM32CubeCLT tool is what you need.

The user manual.

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
Tesla DeLorean
Guru
January 7, 2025

Perhaps export, and look at a makefile, and how it calls the compiler, linker, etc.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..