Loading...
 
Skip to main content

System Workbench for STM32


How To Get Assembler Output in a File

Yes it has worked for me.

You should simply follow that:
C/C++ Build -> Settings -> Build Steps -> Post-build steps.
Than copy and paste the whole thing below

arm-none-eabi-objdump -D "${BuildArtifactFileBaseName}.elf" > "${BuildArtifactFileBaseName}.lst && arm-none-eabi-objcopy -O ihex "${BuildArtifactFileBaseName}.elf" "${BuildArtifactFileBaseName}.hex"; arm-none-eabi-size "${BuildArtifactFileName}"

After compiletion ProjeName.lst file should be generated under Debug or Release folder depends on your selection.