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.
Conditional compile/assembly is a great means of having several (somewhat) similar products generated from the same source. I guarantees that if you fix a problem it will be fixed globally, one verison will not be forgotten. I am very much a proponent of conditionals in product series code. That much said, it sometimes makes it very difficult to read/follow the flow of a version of program. Is there a means in the Keil tools of creating a "clean source" for a given version i. e. a source with all ifdefs removed and only the lines that will be compiled for this version left?. If not, does anyone know of a program that will do that?.