2025-01-08 3:29 AM
Can you give me a step-by-step guide to create a makefile for stm32 project?
2025-01-08 3:39 AM - edited 2025-01-08 3:42 AM
Hello @arun27
To generate a Makefile for an STM32 project using CubeMX, follow these steps:
CubeMX will generate a Makefile in the project directory. This Makefile will include all necessary build rules, compiler flags, and linker scripts based on your CubeMX configuration.
THX
Ghofrane
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.
2025-01-08 3:40 AM
Is this a continuation of https://community.st.com/t5/stm32cubeide-mcus/compilation-using-batch-file/td-p/759173 ?
If so, perhaps mark the solution there, and give a link to here?
Are you familiar with makefiles in general?