cancel
Showing results for 
Search instead for 
Did you mean: 

I would like to program assembly files to link with C files, or just make Assembly alone. But don't know how to do it with STM32CUBEIDE. I can only choose between C or C++ to compile. Are there somewhere examples? Can you point me somewhere, or help me?

FRami.11
Associate
 
2 REPLIES 2
TDK
Guru

The generated STM32CubeMX code includes one assembly file "startup_stm32xxx.s". You can put other files named "*.s" in any source directory and it'll compile those as well. Generate a project and use that as an example.

If you feel a post has answered your question, please click "Accept as Solution".
YAY.1
Senior

I don't know STM32CubeMX.

I am just writing assembly and using iar embedded workbench arm.

If i need learn registers datas, i am using reference manual.