Hi,
My build process involves uVision running a DOS batch file to perform various operations prior to compilation. The batch file contains various "echo" statements to indicate progress. However, these do not appear in the Build Output window until after the batch file has completed. I would like them to appear as and when they are encountered in the batch file. It seems that output is buffered up by uVision and flushed to the Build Output window at the end. Is there a way to change this behaviour?
Thanks
Assuming this is for a Arm based device, and using the Keil MDK tools are installed at C:\Keil_v5\
A few quick suggestions:
1) FYI their is a CMSIS-Build standard:
https://www.keil.com/pack/doc/CMSIS/Build/html/index.html
The CMSIS-Build scripts might already be doing what you need:
www.keil.com/.../CmdLineBuild.html
Might be worth checking out.
2) there is a C:\Keil_v5\UV4\uVision.com that you could call instead of UV4.exe that will redirect the output into the DOS window