2016-10-17 2:20 AM
Hi,
I used to work with Microchip PICs and the compiler c18 provided string constants holding the compile time & date, updated in compile (or link ?) time; examples:__DATE__ == ''Jul 08 2016''__TIME__ == ''10:56:03''Does Cosmic provide anything similar ?2016-10-17 3:54 AM
Hi,
yes, it works exactly the same.2016-10-25 10:50 AM
These are standard c features, and should work on any C compiler. They are supposed to hold ''translation'' date and time, if available. Since they are macros evaluating to string constants they will hold the date and time of preprocessing.
PhilippWe’re moving the ST Community to a new platform to give you a better and more reliable community experience.