Daniel Lundin

HC12: Forcing compiler to always compile source

Discussion created by Daniel Lundin on Sep 22, 2006
Latest reply on Apr 27, 2011 by Roy Cooley
I have a constant string in ROM containing the ANSI C constant __DATE__. I want to have the the file containing this constant to be automatically compiled every time I link the project, to get a relevant date code. Is this possible in some way? I don't wish to manually click on the file in the project window, since it is easy to forget.

Or is there another way to get a date stamp downloaded to the flash automatically?

I'm using CW3.1 for HCS12.

Message Edited by CrasyCat on 2007-04-13 01:55 PM