cancel
Showing results for 
Search instead for 
Did you mean: 

how to generate .s file or assembly file for stm32g473 in STM32 Cube IDE

SMeru.1
Associate

Please let me know the flags and options that have to used in STM32 Cube IDE and where it has to be used and where this .s file goes

3 REPLIES 3
Nikita91
Lead II

You can generate .s file with GCC option: https://stackoverflow.com/questions/137038/how-do-you-get-assembler-output-from-c-c-source-in-gcc

The .list file generated in the Debug folder is also useful.

SMeru.1
Associate

I have tried the above stack overflow link but it's now working and also I'm unable to find the .list file in debug folder

TDK
Guru

The link works here.

Did you build the project? Show the files you have in the Debug folder.

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