User manual
ST Assembler/Linker build tutorial UM0036
376/385 Doc ID 7705 Rev 11
7. Type a space then the pathname for the folder where you want to save the copy of the
application file.
The resulting command should be:
cmd.exe /C copy $(OutputPath)$(TargetFName) c:\final
In this command c:\final is the pathname for the folder to which the file will be copied.
8. Click on OK to apply the new settings and close the Project Settings window.
9. Now to build the release version of your application, select Build>Build from the main
menu bar.
The Assembler is invoked for each of the .asm source files in the project. However this time
the executable for the application is generated in the Release folder of the working directory.
This folder is created automatically by STVD, as with the Debug folder.
After the Linker and OBSEND are invoked, STVD runs the command you entered in the
post-build step.
cmd.exe /C copy $(OutputPath)$(TargetFName) c:\final
As a result, the file realtime.s19 has been copied to the folder c:\final. The following
files are regenerated in the Release folder:
● realtime.s19
● realtime.map
● realtime.sym
● realtime.cod
● st73211n4.obj, tim_rtc.obj
● st73211n4.lst, tim_rtc.lst