Skip to main content
Associate
Jan 7, 2025 4:26 PM UTC
Solved

COMPILATION USING BATCH FILE

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?

This topic has been closed for replies.
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
Jan 7, 2025 3:52 PM UTC

Hello,

I think STM32CubeCLT tool is what you need.

The user manual.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.

3 replies

arun27Author
Associate
Jan 7, 2025 12:38 PM UTC

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
ST Technical Moderator
Jan 7, 2025 3:52 PM UTC

Hello,

I think STM32CubeCLT tool is what you need.

The user manual.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Tesla DeLorean
Guru
Jan 7, 2025 10:08 PM UTC

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

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..