for keil compilar environment, they had a defination for time stamp, therefore we could use that to be a release note for product purpose.
how to use?
printf("%s %s",__DATE__,__TIME__);
or you could assign memory for them.
U8 KC_DATA Datestring[sizeof(__DATE__)];
U8 KC_DATA Timestring[sizeof(__TIME__)];
memcpy(Datestring, &__DATE__, sizeof(__DATE__));
memcpy(Timestring, &__TIME__, sizeof(__TIME__));
Reference
No comments:
Post a Comment