We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, I'm using the uVision2 environment for 8051 development. I have some tools that should run before the actual Keil c/asm/link step. In uVision2 the option exists to add "post" compile tools. But I can't find a way to add "pre" compile tools. Does anybody have a suggestion? (I would like to keep using the uVision environment to set compiler options easily; to enter debug mode;.... It would be ennoying to be forced to manually execute a batch file first before hitting the 'compile button') Off course, I could consider to write a makefile in MS Visual studio, but then I don't have a button to enter 'target debug mode' anymore. Thanks Patrick Brouckxon.
http://www.keil.com/forum/docs/thread1630.asp In the above thread, I note that uVision builds the Groups in order, and the files within each group in order. So you just have to add a group before your source files to do your precompile stuff. The catch is that there is no way to control the position at which a new group is added, nor to re-order the existing groups in a Project :-( - that's why I made that post! you can manually hack the .uv2 file, but it really shouldn't come to that, should it? :-( BTW: note that there is no dependency checking for custom translations. :-(